soelim and troff on remote machines

John M Sellens jmsellens at watmath.UUCP
Wed May 15 14:09:18 AEST 1985


A cheap hack would be to modify troff by adding a flag to indicate that
the source came from a different machine and modifying the way that .so
works.

- before sending the source to the remote machine, run it through soelim to
get as much as you can into one file.
- start troff (somehow) on the remote machine with a flag and arguments
indicating the machine, userid, and current directory of the submitter.
- When .so needs a file, rcp it to a unique tmp file on the troff machine.
To be smarter, keep a table of real name vs. tmp name so that you don't
have to rcp twice.

Of course, this is all easier said than done ...

John



More information about the Comp.unix.wizards mailing list