Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: use curses library capability inventory and hope it's terminfo
- X-seq: zsh-workers 13957
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: use curses library capability inventory and hope it's terminfo
- Date: Thu, 12 Apr 2001 11:32:38 +0400 (MSD)
- In-reply-to: <1010412032348.ZM20888@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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