[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] colorized/highlighted scan output?
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] colorized/highlighted scan output? |
Date: |
Fri, 02 Nov 2012 19:06:34 +0000 |
Hi,
David wrote
> While terminfo or something higher level, more generic, etc., would be
> nice, we're so close now to supporting ANSI escapes that I'd like to
> (and am going to :-) get them to work. It doesn't preclude adding
> something else, of course.
I'd worry implementation is rushing ahead of requirements. Yes, other
solutions can be added in over time, and we'll have an even more messier
system that's more off-putting to occasional users than now. How about
sticking to the bare bones; what's necessary to output arbitrary bytes
without upsetting the idea of column position.
We already have \-processing, though output functions like putstr strip
them.
$ scan -format '%(lit a\tb\bc)' last | cat -A
a b c$
$
How about adding \x1b to that with a new zputstr function that doesn't
adjust column or filter the string.
Aiming for `I'd like the subject in cyan' trips on so many hurdles, e.g.
palettes differ between profiles for the same terminal.
Cheers, Ralph.
- Re: [Nmh-workers] colorized/highlighted scan output?, (continued)
- Re: [Nmh-workers] colorized/highlighted scan output?, Paul Fox, 2012/11/03
- Re: [Nmh-workers] colorized/highlighted scan output?, Ralph Corderoy, 2012/11/03
- Re: [Nmh-workers] colorized/highlighted scan output?, Paul Fox, 2012/11/03
- Re: [Nmh-workers] colorized/highlighted scan output?, Ken Hornstein, 2012/11/05
- Re: [Nmh-workers] colorized/highlighted scan output?, Paul Fox, 2012/11/05
- Re: [Nmh-workers] colorized/highlighted scan output?, Lyndon Nerenberg, 2012/11/03
- Re: [Nmh-workers] colorized/highlighted scan output?, Ralph Corderoy, 2012/11/03
- Re: [Nmh-workers] colorized/highlighted scan output?, Lyndon Nerenberg, 2012/11/03
Re: [Nmh-workers] colorized/highlighted scan output?, David Levine, 2012/11/02
Re: [Nmh-workers] colorized/highlighted scan output?, David Levine, 2012/11/02
Re: [Nmh-workers] colorized/highlighted scan output?, David Levine, 2012/11/02
Re: [Nmh-workers] colorized/highlighted scan output?, David Levine, 2012/11/03
Re: [Nmh-workers] colorized/highlighted scan output?, David Levine, 2012/11/04