From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3937 invoked from network); 12 Apr 2001 07:32:47 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Apr 2001 07:32:47 -0000 Received: (qmail 6110 invoked by alias); 12 Apr 2001 07:32:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13957 Received: (qmail 6099 invoked from network); 12 Apr 2001 07:32:46 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) Date: Thu, 12 Apr 2001 11:32:38 +0400 (MSD) From: Andrej Borsenkow X-X-Sender: To: Subject: Re: PATCH: use curses library capability inventory and hope it's terminfo In-Reply-To: <1010412032348.ZM20888@candle.brasslantern.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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