"James K. Lowden" <jklow...@schemamania.org> 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