groff
[Top][All Lists]
Advanced

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

Re: [Groff] colorized man pages


From: Steffen Nurpmeso
Subject: Re: [Groff] colorized man pages
Date: Fri, 19 Aug 2016 13:06:30 +0200
User-agent: s-nail v14.8.9-317-g7f3f413

"James K. Lowden" <address@hidden> wrote:
 |http://boredzo.org/blog/archives/2016-08-15/colorized-man-pages-understood-a\
 |nd-customized
 |
 |https://news.ycombinator.com/item?id=12296000
 |
 |It's a little far afield, but some here might be interested in the
 |interest in manpages.  mdoc has no color features, leaving folks to
 |resort to some pretty brutal techniques. 
 |
 |Raw VT-100 escape sequences, in 2016.  Where will it all end?  

I think it would be nice to offer people the possibility to
specify a list of colours.  It shouldn't be too much work to
instrument a few important man and mdoc macros and add an
environment variable, say, MANUAL_COLOURS, in equal spirit to
LS_COLORS.  In the Linux world there is now a dircolors(1) command
which can be used to control LS_COLORS.  Well.

Yes, people are interested in that and should have the possibility
to do that, exactly like you say.  And as flexible as possible.
I place it on my TODO list for S-roff.

--steffen



reply via email to

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