🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #498

troff and troff filter question

#498
From: Mark Wallen
Date: Fri, 10 May 1985 07:14
26 lines
1796 bytes
I have a troff and troff filter question.  I would
like to pass text and parameters under macro control
"relatively transparently" to a post processing filter.
In particular I want to pass some absolute page coordinates
and a file name so that the post processor can paint the
specified file which contains a bitmap image at the
specified coordinates.  My first idea was to utilize some
of the "unused" control codes for the CATT and then
ascii for the position and file name info.  But, duh,
I quickly realized that I probably couldn't figure out
how to get troff to output "unused" control codes.  (I
also decided that I would need to translate the character info
in the CATT to ascii table that most post processors have--
i.e., but that's no biggie).  My next idea was to use some "bizarre"
position (like -1,-1) as the flag that one of these requests
was coming into the filter.  My last idea was to ask the
wizards of the net; troff is one of the more frequently attacked
UNIX black boxes, so I feel sure that some one has already
done something like this.

Thanks for your time

Mark Wallen
UC San Diego

wallen@nprdc.ARPA   ucbvax!sdcsvax!sdcsla!wallen.UUCP
Technical Details
Message-ID: <847@sdcsla.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcsla!wallen

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site sdcsla.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcsla!wallen
From: wallen@sdcsla.UUCP (Mark Wallen)
Newsgroups: net.text
Subject: troff and troff filter question
Message-ID: <847@sdcsla.UUCP>
Date: Fri, 10-May-85 03:14:29 EDT
Article-I.D.: sdcsla.847
Posted: Fri May 10 03:14:29 1985
Date-Received: Mon, 13-May-85 02:22:56 EDT
Distribution: net
Organization: U.C. San Diego, Cognitive Science Lab
Lines: 26