groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] \o and \z do not work for -Tutf8


From: Tadziu Hoffmann
Subject: Re: [Groff] \o and \z do not work for -Tutf8
Date: Tue, 5 Aug 2014 15:30:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> [...] it's the man program that tells the terminal to overstrike.
> I think.

The terminal (usually) doesn't overstrike.  If you have
GROFF_NO_SGR set, then grotty outputs <char><backspace><char>
and <underscore><backspace><char> sequences, from which most
of today's terminals print only the last <char>, so boldness
and underlines get lost.  However, many pagers like "less"
are capable of interpreting these sequences and replace them
with the terminal's corresponding "bold" and "underline"
codes (e.g., for the "VT" family, <esc>[1mbold text<esc>[m
and <esc>[4munderlined text<esc>[m).

If GROFF_NO_SGR is not set, then grotty outputs these codes
itself.


> But a video terminal is not a typewriter.  Video terminals can
> display only one glyph in each physical character cell; when
> you compose a character by overstriking multiple glyphs, you
> will see only the last one struck in each cell.  You can
> achieve no better than this.

You might try xterm's Tektronix mode, which is indeed capable
of overstriking.  Yay!  :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]