[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] preserve ascii escape characters from input
From: |
Mike Bianchi |
Subject: |
Re: [Groff] preserve ascii escape characters from input |
Date: |
Sat, 27 Feb 2010 08:16:04 -0500 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Sat, Feb 27, 2010 at 12:25:31PM +0000, Ralph Corderoy wrote:
> > > 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.
My dstat(1) on Ubunutu 8.04 Linux puts out color escapes when the it
talks to a terminal, but is mono-chrome when invoked in a pipe line or into
a file.
dstat | cat -
dstat >dstat.out
Similarly for ls --color=auto .
--
Mike Bianchi
Foveal Systems
973 822-2085 call to arrange Fax
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- Re: [Groff] preserve ascii escape characters from input, (continued)
- Re: [Groff] preserve ascii escape characters from input, Werner LEMBERG, 2010/02/24
- Re: [Groff] preserve ascii escape characters from input, Ted Harding, 2010/02/24
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Ted Harding, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Leonardo Boiko, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Keith Marshall, 2010/02/25
- Re: [Groff] preserve ascii escape characters from input, Leonardo Boiko, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input, Ralph Corderoy, 2010/02/27
- Re: [Groff] preserve ascii escape characters from input,
Mike Bianchi <=
- Re: [Groff] preserve ascii escape characters from input, Werner LEMBERG, 2010/02/25