groff
[Top][All Lists]
Advanced

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

Re: [Groff] preserve ascii escape characters from input


From: Leonardo Boiko
Subject: Re: [Groff] preserve ascii escape characters from input
Date: Mon, 01 Mar 2010 09:36:59 -0300
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Sat, 27 Feb 2010 12:25:31 +0000, Ralph Corderoy wrote:
> ls and grep also only use colour if I request it.  I don't think a man
> page should output ANSI codes without regard for whether everything
> downstream can cope.

In the general case, yes, I agree completely.  But this is supposed to
be a manpage _about_ ANSI codes.  I think it would be neat to have a
section in EXAMPLES that said, “if you’re reading this in a terminal,
the lines below show how it reacts to ANSI escape sequences”, and then
a few common and uncommon codes.  Even in the case of non-ANSI
terminals, it would be educative IMHO.

--
Leonardo Boiko—SI
http://www.ime.usp.br/~leoboiko




reply via email to

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