Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: TERM problem under OSF

Vincent Lefevre wrote:
> Setting TERM=$TERM after TERMINFO is changed should solve the problem,
> but why doesn't zsh detect when TERMINFO is changed?

It doesn't know anything about curses, nor termcap, and there are a whole
load of different implementations which might be linked in, as we've been
seeing recently.  So there's no simple way of knowing whether TERMINFO is
relevant at all.

I suppose there's nothing to stop us doing some more
implementation-specific probing, now we have separate termcap and terminfo
modules, and shovelling some extra code into those, linking in the
appropriate version when necessary (echotc and echoti already depend on the
respective modules).

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author