Terminfo()--Ideas needed. System V
Keith Crews
keith at enmasse.UUCP
Fri May 16 00:23:15 AEST 1986
In article <1553 at ecsvax.UUCP> bet at ecsvax.UUCP (Bennett E. Todd III) writes:
.
.
.
>still find it to be a HUGE step backwards in design: there just isn't
>sufficient justification for making the active, working database a
>compiled binary file -- PARICULARLY when AT&T then doesn't include the
>sources to the terminfo descriptions. As shipped, the description for
>the DMD5620 is noticibly broken. To fix it, I'll have to completely
>rewrite the entire thing, since the readable (modifyable) version isn't
>available.
The following was true for release 1 of system V - I do not know if it has
since been improved.
It turns out to not be hard (1-2 days) to write a program that takes the binary
terminal description and turns it into ascii that can be editted and
then recompiled using tic. There was a shell script that was printed in
some Unix magazine a while back that did a similar thing.
You will find that many (all?)
of the terminfo descriptions distributed with system V are useless for
using anything but vi. The automatic translator does an incomplete and
often syntactically incorrect job.
Even worse, tic does not flag many (any?) errors on input.
So if you misspell a terminal capability, rather than being told that
you have an error, it just quietly ignores that specification.
After I wrote the above program it at least provided a method for determining
what terminfo description you are really using and verifying that
what you thought you specified actually got compiled into the database.
(I'd post the program if I could but I can't.)
Keith Crews
More information about the Comp.unix.wizards
mailing list