[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] colorized/highlighted scan output?
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] colorized/highlighted scan output? |
Date: |
Mon, 05 Nov 2012 15:59:25 -0500 |
ken wrote:
> >I'm guessing inc(1) suffers from using scan's functions even though it
> >has no -clear itself.
>
> Actually, scan(1) reads termcap so it can get the terminal width
> (if TIOCGWINSZ fails or is not supported). inc(1) reads termcap
> because it wants to do the same thing that scan(1) does.
interesting -- just looked. i'm surprised there's no intermediate
check of either $LINES or $COLUMNS. guess it's not needed often
enough to have been noticed.
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 36.5 degrees)
- Re: [Nmh-workers] colorized/highlighted scan output?, (continued)
- Re: [Nmh-workers] colorized/highlighted scan output?, Ken Hornstein, 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?, 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 <=
- 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