Need add'l troff term support

walsh%bbn-unix at sri-unix.UUCP walsh%bbn-unix at sri-unix.UUCP
Fri Oct 14 22:51:38 AEST 1983


From:  Bob Walsh <walsh at bbn-unix>


It's really not too difficult to write nroff driving tables.  If you
have access to the source for one, you can use is as a pattern for
any others you want to write.  In general, the table looks like

	information that describes lines per inch...
	mapping from a character to a string
		'a' -> width 1, 'a'
		alpha -> width 1, either an escape code that accesses an
			alternate character set or a sequence that uses
			normal characters to imitate an alpha

The table is just an initialized C data structure which is loaded by nroff
at run time.  Just compile the source and move it to /usr/lib/term.  Use
the nroff documentation in volume two to help determine the order of the
characters in the driving table.

For example, if you have a spinwriter you can write driving tables for
various thimbles and foreign or mathematical character sets.

bob walsh



More information about the Comp.unix.wizards mailing list