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

Re: PATCH: use curses library capability inventory and hope it's terminfo



On Thu, 12 Apr 2001, Bart Schaefer wrote:

> On Apr 11, 10:44pm, Clint Adams wrote:
> } Subject: PATCH: use curses library capability inventory and hope it's term
> }
> } >        char *boolnames, *boolcodes, *boolfnames
> } >
> } >        char *numnames, *numcodes, *numfnames
> } >
> } >        char *strnames, *strcodes, *strfnames
> } >
> } >        These null-terminated arrays  contain  the  capnames,  the
> } >        termcap  codes, and the full C names, for each of the ter-
> } >        minfo variables.
> }
> } Note that it says "termcap" codes.  The great thing is that on Solaris,
> } it will actually contain terminfo capability names (which is what we
> } want), but under ncurses, it will contain termcap capability names.
>
> ??  The `names' arrays are supposed to contain the terminfo names, and
> the `codes' arrays the termcap codes.  Do you mean that the two will be
> the same under ncurses?
>

Yes. Cf. infocmp command that lists short and long terminfo names and
termcap names.

-andrej



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