[173] in Athena Bugs
soelim/troff interaction over a feature
daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Sun Apr 10 21:18:04 1988
From: <geer@ATHENA.MIT.EDU>
Date: Sun, 10 Apr 88 21:17:35 EDT
To: bugs@ATHENA.MIT.EDU
1. the ``.ig'' call to ignore following text
until closed (with `..'') does not nest. this
is probably the right thing to do, but should
be noted in the description in (for athena) the
files /usr/doc/usc/24.troff/{m0a,m4}
2. soelim does _not_ recognize that ``.ig''
call to ignore following text. this means
that it is not a faithful simulator of the
action of nroff/troff, and is not always
compatible for pipeline operation as is its
intent. this should probably be noted in
the manpage for soelim.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
a demonstration of both points.
file #t1 file #t2 file #t3
======== ======== ========
before t2 before t3 hello from t3
.ig .ig
.so #t2 .so #t3
.. ..
after t2 after t3
now `nroff #t1` returns `` before t2 after t2 ''
whereas `soelim #t1 | nroff` returns `` before t2 after t3 after t2 ''
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
--dan