[net.unix-wizards] WordStar<-->Troff

cross%lsu.csnet@csnet-relay.arpa (George Cross) (05/16/85)

	 Is there a  way to convert WordStar files to troff input?

George Cross
Computer Science Department  Louisiana State University
Phone: 504-388-1495

cross@lsu.CSNET

ian@utcs.UUCP (Ian F. Darwin) (05/25/85)

<658@utcs.UUCP> cancelled from rn.
-- 
Ian Darwin, Toronto	uucp: {ihnp4|decvax}!utcs!ian
Envoy-100: I.Darwin	Bitnet: ian@utoronto

ian@utcs.UUCP (Ian F. Darwin) (05/25/85)

The current (May/Jun 85) ish of Micro/Systems Journal
has two articles on decrypting WordStar files.
Neither converts to troff; both provide a good base.
One is in C, the other in a Pascal dialect.

To convert troff to wordstar, write the 20% of code that does 80% of the
job by writing an nroff terminal table and a small C postprocessor.
The nroff terminal table emits ^B for bdon and bdoff, \023
for iton and itoff, and straight ascii for everything else.

---
Ian Darwin, Toronto	uucp: {ihnp4|decvax}!utcs!ian
Envoy-100: I.Darwin	Bitnet: ian@utoronto
Contributing Editor, Micro/Systems Journal