#: 18186 S12/OS9/68000 (OSK)
25-May-93 22:34:55
Sb: #18181-#Printcap info needed
Fm: Carl Kreider 71076,76
To: Mike Haaland 72300,1433 (X)
Well, I'm probably a bit fuzzy anymore, but as I recall, you would set a trap
at a line, for instance, with .at 5 tl - which would spring the trap at line 5,
executing the macro 'tl'. It could execute arbitrary commands, but the most
useful is a macro. I think .at was the TSC syntax and nroff is '.wh' maybe.
Anyway, it is a much more general and useful mechanism than the simplified
.h[0-3] that K&P used in software tools and everyone (myself included) snarfed
for their text processor.
You (and Bob) are welcome for cawf.
Carl
There are 2 Replies.
|