[illumos-Developer] webrev for 294, 1149
Joerg Schilling
Joerg.Schilling at fokus.fraunhofer.de
Mon Jul 18 11:56:34 PDT 2011
Gordon Ross <gordon.w.ross at gmail.com> wrote:
> The new file termcap.src says it's derived from the "master" terminfo.src
> so would it make sense to put only the master under SCM and generate
> the (derived) termcap one at build time?
>
> Otherwise this stuff basically looks fine to me.
Be _very_ careful as the "termcap.src" file from that source is full of bugs.
There are 1599 terminal entries in the file, but there are:
18 unparsable parameterized strings that are in conflict with the
termcap documentation
234 NULL chars at a place where the termcap documentation requires '\200'
135 bad quotes that are not understood by an appliction that
follows the termcap documentation
43 stray entries that make no sense at all
This is a total number of 387 fatal errors or 240 bad entries per 1000
Terminals.
To compare: /etc/termcap from Solaris has 433 terminal entries but there are
only 16 defective entries. This is an error rate of 37 bad entries per 1000
Terminals.
To verify my statements:
- get recent schily tools ftp://ftp.berlios.de/pub/schily/
- compile
- run the program "termcap" (a termcap compiler) with:
termcap if=filename > newcap
filename is the name of a file to parse and to compile
newcap is the output file that contains comments with
hints to repaired bugs and to unrepairable bugs.
Jörg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
More information about the Developer
mailing list