home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
- _RRR_EEE_AAA_DDD_MMM_EEE _FFF_III_LLL_EEE _FFF_OOO_RRR _PPP_CCC_RRR_OOO_FFF_FFF
-
-
- _P_C_r_o_f_f is an adaptation of a public-domain implementation of
- _r_o_f_f, for the PC and its clones. _R_o_f_f 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:
-
- - Macros cannot take parameters. Among other consequences of
- this property is the fact that the "mm" macros can't be
- ported to roff. Sorry!
-
- - There are no user-settable number registers or strings.
-
- Any fancier features of nroff are also absent. What's left is a
- nice little (and certainly very useful) text formatter.
-
- _P_C_r_o_f_f 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 _u_n_d_e_r_l_i_n_i_n_g (._u_l), PCroff supports bbbooolllddd (((...bbbooo)))
- and _i_t_a_l_i_c _(_._i_t_)_. It can use them _ii_i_nn_n _cc_c_oo_o_mm_m_bb_b_ii_i_nn_n_aa_a_tt_t_ii_i_oo_o_nn_n,,_, 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:
-
- - To format a file and preview it on the display, call
-
- pcroff -d filename
-
- - To format a file and print it, call
-
- pcroff filename > PRN
-
- - 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
-
- pcroff -t filename > PRN
-
- (Note that such printers are incapable of italics, which
- will come out underlined.)
-
-
-
-
-
-
- PCroff 8-28-88
-
-
-
-
-
- - 2 -
-
-
- _C_o_n_t_e_n_t_s _o_f _D_i_s_k
-
- 1. PCROFF.EXE - the executable code.
-
- 2. README - the introductory file you're reading now.
-
- 3. README.SRC - the PCroff source that created READ.ME, as an
- example of roff input.
-
- 4. PCROFF.DOC - the manual for PCroff, as a roff source file. Try
- displaying and printing it.
-
- 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.
-
- 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.
-
-
-
- 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.
-
- Dave Tutelman
- 16 Tilton Drive
- Wayside, NJ 07712
-
-
- (201) 922 - 9576
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PCroff 8-28-88
-
-
-
-