Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: echotc
- X-seq: zsh-workers 1030
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: A.Main@xxxxxxxxxxxxxxxxx (Zefram)
- Subject: Re: echotc
- Date: Thu, 9 May 1996 02:44:26 +0200 (MET DST)
- Cc: A.Main@xxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <9906.199605090036@xxxxxxxxxxxxxxxxxxxxxxx> from Zefram at "May 9, 96 01:36:41 am"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> >This can only happen if NCURSES_VERSION but you do not link zsh with
> >ncurses or if your ncurses behaves differently than mine. I use 1.9.8a
> >and it the tgetflags function there returns 1 if a boolean capability is
> >on, 0 if it is off and -1 if there is no boolean capability with that
> >name. We can add checks for older ncurses'es if necessary.
>
> It shouldn't be touching ncurses at all. There is a termcap library
> that works, and a quick strings of the binary shows that it's linked
> with it. The man page makes no mention of tgetflag() returning -1,
> however.
But look at the code in builtin.c. puts("no"); near line 4193 is compiled
iff NCURSES_VERSION is defined. I did compile zsh on SunOS 4 and echotc
works for me (without ncurses). If one is not careful enough when
installing ncurses, ncurses installs termcap.h which will be used instead
of the system termcap.h which will cause problems with other applications
as well not only with zsh. Are you sure that the included termcap.h does
not come from ncurses?
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author