Add the new -r option to grotty. It is similar to the -i option
commita563a49d1c3decb661de2acba3217b13b241eeb4
authorWerner LEMBERG <wl@gnu.org>
Sun, 13 Oct 2002 23:19:41 +0000 (13 23:19 +0000)
committerWerner LEMBERG <wl@gnu.org>
Sun, 13 Oct 2002 23:19:41 +0000 (13 23:19 +0000)
tree95d45c2f4720b887ae88e1532c9d3633b3926030
parentea9a65c9886ce7a6982efec2a98a589cc20371e6
Add the new -r option to grotty.  It is similar to the -i option
except it tells grotty(1) to use the "reverse video" attribute to
render italic fonts.

* src/devices/grotty/tty.cc (reverse_flag): New global variable.
(SGR_REVERSE, SGR_NO_REVERSE): New macros.
(tty_printer::make_underline, tty_printer::put_color,
tty_printer::end_page): Use it.
(main): Add -r switch.
(usage): Updated.
* src/devices/grotty/grotty.man: Document it.
ChangeLog
src/devices/grotty/grotty.man
src/devices/grotty/tty.cc