nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] colorized/highlighted scan output?

2012-11-05 14:59:41
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, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 36.5 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>