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: Thu, 25 Feb 2010 11:26:12 -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)

Hey, thanks for the contact.  That's an interesting observation.  I'm
curious -- what sort of terminal support ANSI-like attributes (color,
bold etc.) but not the ANSI escape sequences? I.e. if I output ANSI
directly, I'm running the risk of breaking what?

At Thu, 25 Feb 2010 09:30:01 +0000, Ralph Corderoy wrote:
> but the latter will also work on other terminals.  It's horrible when
> commands hard-code ANSI escape sequences, e.g. the otherwise good
> dstat(1).

I think it's pretty common these days, though.  I took a quick peek and ls,
grep, colordiff and git all hard-code ANSI.

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




reply via email to

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