Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: termcap moodule problem on Cygwin
- X-seq: zsh-workers 13404
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: RE: termcap moodule problem on Cygwin
- Date: Tue, 30 Jan 2001 11:25:41 +0300
- Importance: Normal
- In-reply-to: <Tc0a8890c516786f052@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Answering both Peter and Zefram:
- it is not possible to simply link termcap into libzsh and then link termcap
module against libzsh (if that is what Peter means). AFAIK it may be
impossible on Win32 (it is not Cygwin limitation)
- in any case, it needs completely different configuration system to find out
exact set of libraries for every module. I am not even sure if any general
solution is possible. I have to look what libtool can do.
- even if it is possible to check for static vs. shared libtermcap (like
currently with environ) it will disable modules (note, that on Cygwin environ
check is explicitly disabled as it is misleading there). What is worse modules
will be disabled on all systems that have static termcap/curses, and that are
possibly many SVR4-derivates, mine including :-) Having termcap/terminfo as
separate modules hardly justifies this.
- the problem is not limited to Cygwin (obviously). Depending of used terminal
library program may crash, echotc may not track terminal changes or everything
may be O.K. You cannot tell in advance, sigh.
- finally, having the whole terminal related code in main zsh and moving just
a single builtin in seperate module looks funny.
what we can do know is
- add wrappers for tgetent & Co. and add note to zsh-development-guide that
people should not use original functions.
- move termcap (and terminfo) back into main zsh.
Somehow I'm inclined to the latter.
cheers
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author