zsh-workers
 help / color / mirror / code / Atom feed
* termcap bug on Linux
@ 2001-05-27 13:09 Andrej Borsenkow
  2001-05-28 22:25 ` Bart Schaefer
  0 siblings, 1 reply; 13+ messages in thread
From: Andrej Borsenkow @ 2001-05-27 13:09 UTC (permalink / raw)
  To: ZSH Workers Mailing List

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-05-30 19:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-27 13:09 termcap bug on Linux Andrej Borsenkow
2001-05-28 22:25 ` Bart Schaefer
2001-05-29 16:05   ` Bart Schaefer
2001-05-29 18:56     ` Clint Adams
2001-05-30  6:24     ` Andrej Borsenkow
2001-05-30  7:41       ` Bart Schaefer
2001-05-30  8:03         ` Andrej Borsenkow
2001-05-30 14:00       ` Clint Adams
2001-05-30 15:29         ` Bart Schaefer
2001-05-30 19:54           ` PATCH (again) " Bart Schaefer
2001-05-29 18:06   ` Andrej Borsenkow
2001-05-29 20:12     ` Clint Adams
2001-05-29 18:48   ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).