Article View: comp.bugs.sys5
Article #666Copy Mode bug in troff
From: g.l.sicherman
Date: Thu, 07 Jan 1988 17:16
Date: Thu, 07 Jan 1988 17:16
23 lines
1106 bytes
1106 bytes
Copy Mode in Vr2 (at least) troff does not work as documented. According
to Ossanna, the only bash-interpretations in Copy Mode are \n, \*, \$,
\NEWLINE, \", \t, \a, \., and \\.
According to the source code, \e, \ , \|, \^, \{, \}, \', \`,
\_, \-, \&, \c, \!, \%, and \g are translated as well. That is, they
are interpreted as escapes, though the escape functions are not performed
at once.
Repeat by:
.de W
This is a bashdash \-.
..
'\" Disable bash-escaping.
.eo
This is a bashdash \-.
.W
Since this bug or feature interferes with the .ec/.eo feature, it ought
to be documented. (I discovered it while writing a dump-macro macro.)
--
Col. G. L. Sicherman
...!ihnp4!odyssey!gls
Technical Details
Message-ID:
<407@odyssey.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!umd5!mimsy!oddjob!gargoyle!ihnp4!homxb!genesis!odyssey!glsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!umd5!mimsy!oddjob!gargoyle!ihnp4!homxb!genesis!odyssey!gls From: gls@odyssey.ATT.COM (g.l.sicherman) Newsgroups: comp.bugs.sys5,comp.text Subject: Copy Mode bug in troff Message-ID: <407@odyssey.ATT.COM> Date: 7 Jan 88 17:16:46 GMT Organization: AT&T Bell Laboratories, Middletown, NJ Lines: 23 Keywords: troff copy