home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
util
/
gnu
/
groff_bin.lha
/
groff-1.10bin
/
README_amiga
< prev
Wrap
Text File
|
1995-12-10
|
3KB
|
70 lines
This archive contains everything required to install version 1.10 of the GNU
roff text formating package and its documentation.
To install:
If you have a GNU: directory hierarchy, simply copy the contents of the GNU
directory there. If not, copy the GNU directory somewhere on your hard disk
and assign GNU: to it. You will also need version 41.4 or higher of
ixemul.library (available on aminet).
On my Amiga I also have the following assigns:
assign USR: GNU:
assign BIN: GNU:bin
They should not be necessary, but I have not tested this.
If you are upgrading from version 1.09, delete the contents of directory
GNU:lib/groff (or USR:lib/groff). Make sure you copy any files you may have
added there yourself (like fonts or macro packages) to GNU:share/groff before
deleting them.
All binaries have been compiled with -m68000 -msoft-float, so they should run
on any Amiga, provided you have enough memory. If you are tight on memory, you
can use groff's -V option to see which programs must be invoked, and invoke
each one by hand, instead of having groff load them all simultaneously.
E.g., "groff -V -ms t.ms" displays "gtroff -Tps t.ms | grops", which means
that you should do something like:
gtroff -Tps t.ms >a.tmp
grops <a.tmp
Groff usually runs comfortably with a 20K stack, though it occasionally might
need a bit more.
Programs gneqn and gnroff are UNIX shell scripts, and programs afmtodit and
grog are UNIX perl scripts. To run them, you will need to invoke them from a
unix-compatible shell like pdksh or sksh. (In the sksh case, you must change
the first line in each script to AmigaOS notation, i.e., change #!/gnu/bin/sh
to #!gnu:bin/sh, and invoke scripts using their full path name, i.e.,
gnu:bin/gnroff instead of gnroff).
The documentation for the package is in UNIX man format. You can use groff to
format the various man pages as follows:
gnroff -man groff.1 >groff.man
or, if you can't invoke UNIX shell scripts,
groff -Tascii -man groff.1 >groff.man
The formated man pages can be viewed with a paging program like "more",
"muchmore", or "less". If you use "less", the man pages will be displayed in a
more fancy way.
Alternatively, you can print the man pages on a laser printer:
groff -man groff.1 >groff.ps
(if you have a PostScript printer) or
groff -Tlj4 -man groff.1 >groff.lj
(if you have a PCL5 compatible printer, like a HP laserjet)
I have included two additional macro packages, tmac.a4 and tmac.la4, which I
have been using at work for some time, to print on A4 paper--something like
this was supposed to have been added to this version of groff, but for some
reason didn't make it.
Thus, to print on A4 paper in portrait mode, use something like:
groff -man -ma4 groff.1 >groff_a4.ps
and to print on A4 paper in landscape mode, use something like:
groff -man -mla4 -P-l groff.1 >groff_a4_l.ps
(this should also work with -Tlj4, but I have not tested it)
Happy formatting,
--
Kriton (UUCP: pythia!theseas!kriton!kyrimis)
(INTERNET: kyrimis@theseas.softlab.ece.ntua.gr)
(WWW: http://www.hpcl.cti.gr/~kyrimis