🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4155

Inserting text directly in ditroff output

#4155
From: simpson
Date: Wed, 28 Oct 1987 18:21
44 lines
1809 bytes
We have an old version of ditroff that doesn't seem to be able to give a
string directly to the postprocessor (like the \special command of TeX).
Can anyone tell me what is the string ditroff outputs when it sends a
string directly to the postprocessor?  Our troff(5) manual page lists the
following commands

	sn			Change point size
	fn			Change font
	cx			Generate character
	Cxyz			Generate special character
	Hn			Absolute horizontal
	hn			Relative horizontal
	Vn			Vertical horizontal
	vn			Relative vertical
	nnx			Horizontal motion then print character
	nb a			Eol
	w			Appears between words
	pn			Begin a page
	{			Push stack
	}			Pop stack
	txxxxx			Print string using natural width of each char
	#...\n			Comment
	Dl x y			Draw line
	Dc d			Draw circle
	De dx dy		Draw ellipse
	Da x y r		Draw arc
	D~ x y x y...		Draw spline
	x init			Initialize
	x T device		Name of typesetter
	x res n h v		Resolution
	x pause			Pause
	x stop			Stop
	x trailer		Generate trailer
	x font n name		Mount font
	x Height		Set char height
	x Slant			Set slant

That's it!  No other commands for direct commands to the postprocessor.
Help!
-- 
		Scott Simpson
		TRW Space and Defense
		...{decvax,ihnp4,ucbvax}!trwrb!simpson	(UUCP)
		trwrb!simpson@trwind.trw.com		(ARPA)
Technical Details
Message-ID: <3457@trwrb.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!rochester!udel!burdvax!sdcrdcf!trwrb!simpson

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!rochester!udel!burdvax!sdcrdcf!trwrb!simpson
From: simpson@trwrb.UUCP
Newsgroups: comp.text
Subject: Inserting text directly in ditroff output
Message-ID: <3457@trwrb.UUCP>
Date: Wed, 28-Oct-87 13:21:44 EST
Article-I.D.: trwrb.3457
Posted: Wed Oct 28 13:21:44 1987
Date-Received: Sun, 1-Nov-87 01:32:23 EST
Organization: TRW SDS, Redondo Beach, CA
Lines: 44
Keywords: ditroff, postprocessor