home *** CD-ROM | disk | FTP | other *** search
- DOS implementation of the GROFF Troff program (based on version 1.05).
-
- This ZIP file contains compiled programs and files for DOS version of
- GNU TROFF program GROFF. GROFF is developed by James Clark
- (jjc@jclark.com). I distribute this version, since so many has asked
- me to.
-
- The programs are compiled using DJGPP compilers (GNU C for DOS by D.J.
- Delorie, dj@ctron.com). Programs compiled with these programs need 386
- machine. I have the 387 emulator with the package, so if you don't
- have either 387 coprosessor or 486 prosessor, set GO32 environment
- variable as
-
- SET GO32=emu c:\dirs\emu387
-
- where c:\dirs is place where you have the programs.
-
- The package does not have any documentation on the usage of the groff
- programs. Take the groff package and use its documents.
-
- Following is the contents of the archive file. Files with name
- djgpp.mak and djgpp.fix are for recompilation of the groff package.
- These files are meant to be on same directories as the groff sources.
- The files djgpp.mak are makefiles for DMAKE make-program. The files
- djgpp.fix describes the fixes I had to make on some programs.
- Actually, the was not very many changes needed. Since djgpp does not
- have pipe-functions, popen() and pclose() calles had to be removed.
- In groff makefiles, some header files are generated on the fly. Those
- I generated by had.
-
- The programs are compiled so that they search from directory
- /usr/local/lib/groff. These means that you have to expand this archive
- (with pkunzip -d) on your harddisk's root or at least move the usr/...
- files to the root. Compiled are the troff, eqn, pic, refer, tbl and
- drivers for PostScript and TTY. On the /usr/local/lib/groff are files
- for PostScript and TTY printing. I have tested only PostScript printing,
- so if you need tty output, you should read
- the groff package for futher instructions. Groff supports also DVI
- printing, but I did not compile it, since MS-DOS does not have binary
- standard output.
-
- I have not make any groff driver programs. To use the groff, you can
- use either temporary files or pipes (that is, DOS pipes which are
- implemented by temporary files). For example, if you have a file made
- by TBL and it uses MS macros, use either
-
- tbl doc.ms > doc.t1
- troff -ms < doc.t2 > doc.t3
- grops < doc.t3 > doc.ps
- del doc.t?
- (do what you do to print PostScript file)
-
- or
-
- tbl doc.ms | troff -ms | grops > doc.ps
-
- If you need more information, take the groff package and read its
- manuals. I found groff from ftp.funet.fi (/pub/gnu/groff-1.05.tar.Z),
- but I am sure you can find it from other places also.
-
- I compiled the package using djgpp GNU-C version 1.06. You can ftp it
- from grape.ecs.clarksonn.edu, directory /pub/msdos/djgpp.
-
- Arto V. Viitanen
- Lempäälä, Finland
- email: av@cs.uta.fi
-