🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #6657

Explain Use of <Ctrl-G>s in Macros

#6657
From: Charly Rhoades
Date: Thu, 04 Jan 1990 22:04
24 lines
1250 bytes
I'm hacking troff code, and I come across a number of constructions
that use <Ctrl-G> characters, such as the examples below:

	.if\w^G\\n(}Z^G .nr A 3 '
and

	.if^G\*(]S^G^G .ds ]S \s14\f3\*(}Z\fP\s0

and

	.if^G\\$1^G2^G .if !^G\\$5^G^G .ds }i\^

I suppose I'm missing something fundamental here, and I can't find any
help from the manuals (hah!).

Please enlighten me, or tell me from what source I might find
enlightenment.

Charly Rhoades                           Altos Computer Systems - San Jose, CA
                                       {amdahl|sun|pyramid|uunet}!altos!charly
------------------------------------------------------------------------------
If you know you have an unpleasant nature
and dislike people, this is no obstacle to work.                 J. G. Bennett
------------------------------------------------------------------------------
Technical Details
Message-ID: <140@altos86.Altos.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!altos!altos86!charly

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!altos!altos86!charly
From: charly@altos86.Altos.COM (Charly Rhoades)
Newsgroups: comp.text
Subject: Explain Use of <Ctrl-G>s in Macros
Keywords: troff macros
Message-ID: <140@altos86.Altos.COM>
Date: 4 Jan 90 22:04:34 GMT
Organization: Altos Computer Systems, San Jose, CA
Lines: 24