Closed GoogleCodeExporter closed 8 years ago
Right, I've pondered this long enough.
Mintty certainly can't do this specifically for man pages, since it generally
doesn't know what program the output it displays is coming from. However, I
suspect it's possible to configure groff (the tool that's used to display man
pages) to render normally underlined text with colour instead. I don't know how
to do that though. Might be a good question for the groff mailing list or
unix.stackexchange.com. Do let me know if you do find out how to do it.
Mintty could optionally display the underline attribute as colour everywhere,
but there are obvious problems with that: it can't be distinguished from text
that's actually meant to be in that colour, and when both underline and a
colour are specified, one of them has to be ignored.
Text with the underline attribute obviously is meant to be underlined if
possible, and that's what other graphical terminals such as Konsole and
gnome-terminal do, and I think it's also what man page authors would expect.
The underline-as-colour approach in the Cygwin console (and also the Linux
console) is just a workaround for actual underlined text not being available.
In summary, I'm not keen on adding an option for this.
Original comment by andy.koppe
on 17 Feb 2011 at 12:39
Original issue reported on code.google.com by
ambl...@gmail.com
on 10 Feb 2011 at 10:44Attachments: