plan9port/src/cmd/troff
Russ Cox fafa622a5b all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
2020-01-12 15:07:42 -05:00
..
cvt
dwbinit.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
dwbinit.h
ext.h Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
find
FIXES
fns.h
hytab.c
mbwc.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
mkfile
n1.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n2.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n3.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n4.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n5.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n6.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n7.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n8.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n9.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
n10.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
ni.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
README
suftab.c
t6.c all: fix or silence various gcc warnings 2020-01-12 15:07:42 -05:00
t10.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
t11.c Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
tdef.h Trivial changes: whitespace and modes. 2020-01-10 14:54:30 +00:00
unansi

To make troff (actually a.out):

	make

You will also need to write a driver for your favorite output device.
d202.c provides a model, although it is specialized to a machine no
one has.  There are also a variety of postscript drivers that are the
best thing to use if you have a postscript device.

You will also have to make a DESC file for your typesetter and some
font description files; see dev202 for examples.  These describe the
named characters, widths, kerning information, and output codes.

Nroff is the same program as troff, so you should

	cp a.out /usr/bin/troff
	ln /usr/bin/troff /usr/bin/nroff

or the equivalent.

You will also need terminal description files for your terminals; see
tab.37, tab.450 and tab.lp for examples.

Troff uses files that are normally stored in /usr/lib/font;
macro packages are in /usr/lib/tmac; and nroff tables are in
/usr/lib/term.  You can edit tdef.h to change these assumptions.

There have been a few features since the last version, and a number of
significant internal changes.  Not all are improvements, of course.
Most of the more recent changes, including bug fixes, are in FIXES,
which you should read also.