nmh-workers
[Top][All Lists]
Advanced

[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)



reply via email to

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