🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1608

Re: troff string register interpolation if strange char

#1608
From: Jaap Akkerhuis
Date: Sat, 09 Jun 1990 01:11
20 lines
1149 bytes
In article <16321@smunews.UUCP> leff@.seas.smu.edu (leff) writes:
 > A strange control character is being inserted on character interpolations
 > before a closing \} of an if statement.
 > 
 > nroff inserts an octal 36 (^^) while ditroff inserts a control-Q.
 > 
 > The obvious workaround is to insert a dummy statement just before the \}
 > but I would like to understand what is happening.  Any ideas?
 > 

Other people have explained the way to circumvent this. But nobody
really told what it was. Well, just in case you wanted to know:

What is happening is that .tm does a poor job translating the internal
cookies back to ascii.

What I remember is that 036 is the internal token for the \} for old
troff (and nroff). In the new troff (ditroff) this is 021 (^Q).

	jaap
Technical Details
Message-ID: <1249@mtxinu.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mtxinu!jaap
References: <16321@smunews.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mtxinu!jaap
From: jaap@mtxinu.COM (Jaap Akkerhuis)
Newsgroups: comp.text
Subject: Re: troff string register interpolation if strange char
Message-ID: <1249@mtxinu.UUCP>
Date: 9 Jun 90 01:11:17 GMT
References: <16321@smunews.UUCP>
Reply-To: jaap@mtxinu.UUCP (Jaap Akkerhuis)
Organization: mt Xinu, Berkeley
Lines: 20