Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
termcap bug on Linux
- X-seq: zsh-workers 14493
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: ZSH Workers Mailing List <zsh-workers@xxxxxxxxxx>
- Subject: termcap bug on Linux
- Date: Sun, 27 May 2001 17:09:56 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Mandrake cooker (currently glibc-2.2.3, termcap-11.0.1-4mdk) compiled
with termcap, no ncurses.tgetflag() returns 0 for both unset and
nonexsiting flags, which means that $termcap[cap] returns "no" for
almost everything except numeric capabilities. As example:
bor@localhost% print $termcap[ae]
no
even when `ae' is string capability and is defined.
The only possible solution seems to check for string first; at least
then existing string caps will be returned correctly.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author