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

Re: echotc



> In 2.6-beta17, echotc doesn't work properly on string properties.  It
> outputs "no", as if the property didn't exist.  Numeric and boolean
> properties work correctly, and the strings are used correctly in prompt
> sequences such as %s.  beta16 works correctly.  This is on SunOS 4.

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.

Zoltan




Messages sorted by: Reverse Date, Date, Thread, Author