🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1720

Re: How do you display a back-slash in nroff?

#1720
From: Vidiot
Date: Sat, 11 Aug 1990 22:31
16 lines
1327 bytes
In article <1990Aug7.190300.8450@investor.pgh.pa.us> rbp@investor.pgh.pa.us (Bob Peirce #305) writes:
<I have read the manual.  I have experimented with .ec and with
<escaping one back-slash with one to many with no success.
<Is there a way?

Outside of a macro, ie, in the text file, it is just like you did:  \\
While inside of a macro it is: \\\\  and double that for each macro defined
inside of a macro.  It may actually work as \\ inside of a macro, since you
are not fetching values from a variable.

Without doing anything special to nroff when it starts, the \\ should print
a single \ without a problem.  I use it all the time in troff test.
-- 
      harvard\     att!nicmad\        spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/  decvax!nicmad/ INET:<@spool.cs.wisc.edu,@astroatc:brown@vidiot>
Technical Details
Message-ID: <662@vidiot.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!astroatc!vidiot!brown
References: <1990Aug7.190300.8450@investor.pgh.pa.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!astroatc!vidiot!brown
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.text
Subject: Re: How do you display a back-slash in nroff?
Message-ID: <662@vidiot.UUCP>
Date: 11 Aug 90 22:31:40 GMT
References: <1990Aug7.190300.8450@investor.pgh.pa.us>
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout
Lines: 16