The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] getting nroff to underline in v6,v5
@ 2015-09-27  8:33 Mark Longridge
  2015-09-27 15:51 ` John Cowan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mark Longridge @ 2015-09-27  8:33 UTC (permalink / raw)


It seems that nroff had the ability to show underlined text very early
on, possibly as early as v3 according to the v3 manual.

I haven't managed to get this to work right under simh but I was
thinking maybe there's a way to do it. It needs an 'underline font'
but the mechanism of how this worked in the old days is a bit of
mystery to me. The output device would have to have the ability to
either display or print underlined text. Maybe someone can remember
which terminal devices supported this in the old days which worked
"out of the box" in the v5,v6 era.

Maybe there was the ability to use overstrike characters on the teletype?

In bash I can use:

echo -e "\e[4munderline\e[0m"

Shouldn't be too hard to hack up something that works in emulated v5.

Mark



^ permalink raw reply	[flat|nested] 7+ messages in thread
* [TUHS] getting nroff to underline in v6,v5
@ 2015-09-27 23:48 Doug McIlroy
  0 siblings, 0 replies; 7+ messages in thread
From: Doug McIlroy @ 2015-09-27 23:48 UTC (permalink / raw)


> It seems that nroff had the ability to show underlined text very early

Pre-Unix roff had the .ul request. Thus I expect (but haven't checked)
that it was in Unix roff. It would be very surprising if nroff, which was
intended to be more capable that roff, didn't have some underlining
facility right from the start.

Doug



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-27 23:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-27  8:33 [TUHS] getting nroff to underline in v6,v5 Mark Longridge
2015-09-27 15:51 ` John Cowan
2015-09-27 16:10   ` Ronald Natalie
2015-09-27 23:55     ` scj
2015-09-27 18:00 ` Clem Cole
2015-09-27 18:12 ` Random832
2015-09-27 23:48 Doug McIlroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).