Thread View: net.bugs
3 messages
3 total messages
Started by Russell Shilling
Thu, 04 Oct 1984 00:27
Nroff doesn't print back-slashes - Is it a BUG ?
Author: Russell Shilling
Date: Thu, 04 Oct 1984 00:27
Date: Thu, 04 Oct 1984 00:27
48 lines
1677 bytes
1677 bytes
I think I've discovered an error in (our) nroff. Using the 'ms' macros,
run this test file (tmp) through with:
nroff -ms tmp
This is the content of the test file 'tmp':
----- CUT HERE -----
.DS
.B "testy backslashes"
--------\\
\\
\\
\\
v
.DE
----- CUT HERE -----
This is the result (underline removed):
--------------------------------------------------------------
testy backslashes
--------(
(
(
(
v
--------------------------------------------------------------
This is not at all what I intended.
What is going on here, and how can it be fixed ?
My arrows are getting crunched for no known reason.
If there is a way to do this using something other
than the -ms macros, that info would also be helpful.
(I'm probably the only person in the known universe
who wants to print back-slashes with nroff.)
Russell Shilling
{ allegra, ihnp4, seismo }!scgvaxd!muddcs!russell
===== I'm so glad to be a delta ... =====
Re: Nroff doesn't print back-slashes
Author: George Sicherman
Date: Sat, 06 Oct 1984 01:36
Date: Sat, 06 Oct 1984 01:36
9 lines
876 bytes
876 bytes
[Man was not meant to tamper with the unknown.] Displays get diverted, so backslashes go through "copy mode." Crude fix: use \\\\ instead of \\. Sharp fix: use \e. -- Col. G. L. Sicherman ...seismo!rochester!rocksanne!rocksvax!sunybcs!gloria!colonel
Re: Nroff doesn't print back-slashes - Is it a BUG ?
Author: M. J. Shannon, Jr.
Date: Sat, 06 Oct 1984 14:42
Date: Sat, 06 Oct 1984 14:42
7 lines
853 bytes
853 bytes
As is well documented in the Nroff/Troff reference manual, the way to produce
backslashes in your output is with the sequence `\e'.
--
Marty Shannon
UUCP: {alice,rabbit,research}!mjs
(rabbit is soon to die. Does this mean alice is pregnant? Yup!)
Phone: 201-582-3199
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads