Hi Branden,
> .ie c \(lq .ds `` \(lq
> .el .ds `` ``
> .ie c \(rq .ds '' \(rq
> .el .ds '' ''
>
> What do you think?
If doesn't work:
$ uname -a
SunOS unstable11s 5.11 11.2 sun4u sparc SUNW,SPARC-Enterprise
$ cat tmp.roff
.ie c \(lq .ds `` \(lq
.el .ds `` ``
.ie c \(rq .ds '' \(rq
.el .ds '' ''
>>>\*(``hello world!\*(''<<<
$ nroff tmp.roff
>>>hello world!<<<
$ troff tmp.roff | /usr/lib/lp/postscript/dpost | sed -n '/>>>/,/<<</p'
(>>>)720 120 w
10 R f
(hello world!)1 499 1 888 120 t
10 S1 f
(<<<)1387 120 w
$ nroff
>>>
.ie c \(mi defined
.el undefined
<<<
^D
>>> <<<
$ echo '>>>\(lqhello world!\(rq<<<' | nroff
>>>hello world!<<<
There are real-world systems (sold today) where neither \(lq
nor the 'c' conditional is supported. And yes, that kind
of nroff may be used for manual page display by default:
$ strings `which man` | grep roff
/usr/lib/sgml/sgml2roff
troff
lp -c -T troff
nroff -u0 -Tlp
Yours,
Ingo