home *** CD-ROM | disk | FTP | other *** search
- .po 7
- .tr ~
- .fo 'PCroff''$'
- .ce
- .bo
- .ul
- README FILE FOR PCROFF
- .he ''- % -''
-
-
- .ul
- PCroff
- is an adaptation of a public-domain implementation of
- .ul
- roff,
- for the PC and its clones.
- .ul
- Roff
- is the predecessor to nroff,
- the text formatter used with the UNIX(tm) operating system.
- It is less capable than nroff in its
- formatting capabilities,
- but in return it is faster and smaller.
- It is fast and small enough to be I/O-limited
- in performance on a PC;
- it's unlikely that would be true of nroff.
- In this case, it's also free.
-
- Apart from the smaller instruction set
- (see the manual in PCroff.doc),
- its major limitations with respect to nroff are:
- .in +5
-
- .ti -2
- -~Macros cannot take parameters.
- Among other consequences of this property is
- the fact that the "mm" macros can't be ported to roff.
- Sorry!
-
- .ti -2
- -~There are no user-settable number registers or strings.
-
- .in -5
- Any fancier features of nroff are also absent.
- What's left is a nice little (and certainly very useful)
- text formatter.
-
- .ul
- PCroff
- is roff, ported to the IBM PC and look-alikes,
- and enhanced just enough to use the printer's font control.
- In addition to roff's
- .ul
- underlining (.ul),
- PCroff supports
- .bo
- bold (.bo)
- and
- .it
- italic (.it).
- It can use them
- .bo
- .ul
- .it
- in combination,
- too.
- For previewing your document,
- the fonts are displayable on the PC screen;
- underline and bold are screen attributes already,
- and italic is represented by blinking.
-
- The most common ways to call PCroff are:
-
- .in +5
- .ti -2
- -~To format a file and preview it on the display, call
-
- .li
- pcroff -d filename
-
- .ti -2
- -~To format a file and print it, call
-
- .li
- pcroff filename > PRN
-
- .ti -2
- -~If your printer does not use control sequences for font control
- (or if it isn't in the PRINTCAP file and you can't add it),
- it may be able to do fonts by backspace-overstrike.
- If so, call
-
- .li
- pcroff -t filename > PRN
-
- (Note that such printers are incapable of italics,
- which will come out underlined.)
- .bp
- .in -5
- .ce
- .ul
- Contents of Disk
-
- .in +3
- .ti -3
- 1.~PCROFF.EXE -
- the executable code.
-
- .ti -3
- 2.~README -
- the introductory file you're reading now.
-
- .ti -3
- 3.~README.SRC -
- the PCroff source that created READ.ME,
- as an example of roff input.
-
- .ti -3
- 4.~PCROFF.DOC -
- the manual for PCroff,
- as a roff source file.
- Try displaying and printing it.
-
- .ti -3
- 5.~PRINTCAP -
- a file of printer specifications.
- If your printer isn't an Epson or compatible,
- change the name of the default printer in PRINTCAP,
- and add its font-control specification if necessary.
- (The instructions for making a PRINTCAP file are
- part of PCROFF.DOC.)
- Note that PCroff must be able to find the PRINTCAP file
- to use printer-specific font control.
-
- .ti -3
- 6.~SOURCE.ARC -
- the C source files.
- It contains some code (clearly marked)
- that is specific to DeSmet C.
- I haven't bothered porting it to Turbo C,
- which is what I use now.
- .in -3
- .sp 3
- My thanks to the pioneers who went before me,
- whose code I've adapted here.
- The names I know are Col. G. L. Sicherman and Tim Maroney,
- but there may well be others.
-
- Good luck, and let me know how you do.
- By all means, report any bugs that bite you.
-
- .nf
- Dave Tutelman
- 16 Tilton Drive
- Wayside, NJ 07712
-
- (201) 922 - 9576
- .fi
-