Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: can't find termcap info
- X-seq: zsh-users 4249
- From: a normal guy <ee_in_co@xxxxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>
- Subject: Re: can't find termcap info
- Date: Tue, 18 Sep 2001 08:53:39 -0700 (PDT)
- Cc: zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20010918165111.B17411@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello:
First apologies for not including the text of your messages, but
my email editor garbled them up.
I was seeing something very similar to the behavior you are
describing. The problem for me was in the behavior of tgetent.
Zsh assumes it will return a 1 if the entry is found in the
termcap library, 0 if not found, and -1 if a problem occurred
accessing the termcap information.
Under HP-UX, the tgetent return codes recently changed so it
returns OK (0) for success and ERR (-1) for error. Hence the
changes invalidated the code written with the old assumptions.
I am not sure if HP-UX is following a new POSIX standard or what
by implementing these changes, but it may be possible that linux
has made a similar change.
The behavior I saw exactly was that zsh would still run under a
default termcap set, but much of the functionality was lost.
Hope that helps.
Scott
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author