nroff terminal drivers - more help needed

Robert Perlberg perl at rdin.UUCP
Wed Mar 21 09:18:58 AEST 1984


<>

Many thanks to the many people who responded to my request for
the format of the nroff driver tables.  I received a number of
copies of the term(5) manual page.  (I wonder why none of our
manuals have it when it seems to be so widely known.(?))

There is, however, a slight problem.  The manual page says that
the structure must be #include'd in a file in /usr/src/cmd/text/roff.d/terms.d
called maketerms.c and made with the makefile terms.mk.  Can
anyone provide me with these and any other necessary files? 
The fact that they are stored under /usr/src would seem to indicate
that one would need a source license, but why should I need a
source license to create a driver table for a new printer?  If
this is so, and you cannot provide me with the files, could anyone
tell me what other info is needed in the file besides the structure?
I looked at the tab37 file on my system and it contains a lot
of stuff before the structure contents.  It is not, as someone
suggested, a ".o" file with the ".o" chopped off, since the "file"
command tells me that the "tab" files are "data"; I tried using
the ".o" file but it didn't work.

Also, can anyone tell me which characters correspond to which
positions in the "codetab" array?  I've figured out that the
first 95 characters correspond to the ASCII set starting from
" " (space), but I'm not sure about all of the others.  Examination
of the tab37 file has given a lot of them to me, but a lot more
of them are generated by using the tty37's alternate character
set, which I have no reference for.

I'm even more interested in getting this to work now, because
before I received the term(5) man page I didn't know that nroff
was so versatile.

Robert Perlberg
Resource Dynamics Inc.
New York
philabs!rdin!rdin2!perl



More information about the Comp.unix.wizards mailing list