🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3062

Re: extended \*(xx sequence for .RS/.RF; is it possible?

#3062
From: Nils-Peter Nelson
Date: Wed, 27 Jan 1993 19:17
23 lines
1514 bytes

Tony Gozdz asks:
A related question: what other structures in troff use
the \*( prefix?  If it's only the \*(Rf/.RS/.RF
construct, would it be difficult to assign variable-length
strings to it? (just a wild guess; I'm not a programmer). 

==
\*( means gobble up exactly the next two characters
and treat it as the name of a string. Strings may be
used by any of the macros: footnotes, references,
table of contents, headers, footers, etc.
\*x, where x is *not* ( means gobble up exactly 1 char.
If string names could be more than 2 chars, about a
million troff documents would stop working, because
folks expect \(abcd to produce "string ab"cd,
not "string abcd".
The syntax was a poor choice, but it is so embedded in
the culture it can't be changed. More modern "languages"
use start and end delimiters, rather than fixed length
tokens, although this does lead to verbosity
(as in \stringname abcd \endstringname).
Technical Details
Message-ID: <24722@alice.att.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!sgiblab!spool.mu.edu!uwm.edu!linac!att!att!allegra!alice!npn
References: <1993Jan23.214359.29186@porthos.cc.bellcore.com> <24703@alice.att.com> <1993Jan26.004554.28410@porthos.cc.bellcore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!sgiblab!spool.mu.edu!uwm.edu!linac!att!att!allegra!alice!npn
From: npn@alice.att.com (Nils-Peter Nelson)
Newsgroups: comp.text
Subject: Re: extended \*(xx sequence for .RS/.RF; is it possible?
Summary: What \* means in troff
Message-ID: <24722@alice.att.com>
Date: 27 Jan 93 19:17:36 GMT
Article-I.D.: alice.24722
References: <1993Jan23.214359.29186@porthos.cc.bellcore.com> <24703@alice.att.com> <1993Jan26.004554.28410@porthos.cc.bellcore.com>
Organization: AT&T Bell Laboratories, Murray Hill NJ
Lines: 23