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

Re: terminfo, cygwin troubles



Le Wang wrote:
> I'm having some trouble with the $TERMINFO variable. 
> I've set the variable according to 'man terminfo'. 
> But zsh doesn't seem to check my $TERMINFO for the
> required descriptors.  Am I missing something?  I know
> that it's set correctly since 'man' works correctly
> when $TERMINFO is set, but fails when it's not set.

You will need to restart the shell after setting TERMINFO, since the
shell only examines it when starting up --- thereafter, it recognises
changes to the terminal type, but not to the location of the terminal
database.  Test that this works by starting a subshell after setting the
variable.  If it does work, you could set it in the Windows `environment
variables' dialogue which on XP at least is in the `Advanced' tab of the
system properties.  (I haven't actually tried this.)

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


**********************************************************************
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 
prohibited.  
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