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: Sat, 03 Nov 2012 10:24:39 -0400

ralph wrote:
 > Hi Paul,
 > 
 > > why do scan and inc already link against termcap?
 > 
 >     $ ltrace -l /lib/libncurses.so.5 scan -clear last >/dev/null
 >     tgetent(0, 0x7fff5bd4348c, 2, 2, 0x414e40)                               
 >                                                                           = 1
 >     tgetflag(0x414e45, 0xffffff80, 0, 4352, 0x7f14cf209580)                  
 >                                                                           = 0
 >     tgetnum(0x414e4b, 0x414e45, 1, 5, 0x7f14cf205490)                        
 >                                                                           = 
 > 60
 >     tgetstr(0x414e4e, 0x7fff5bd3fe78, 60, 11, 0)                             
 >                                                                           = 
 > 0x623300
 >     tgetstr(0x414e51, 0x7fff5bd3fe78, 65408, 0, 0x623300)                    
 >                                                                           = 0
 >     tgetnum(0x41554d, 0x414e51, -1, 17, 0)                                   
 >                                                                           = 
 > 0xffffffff
 >     tgetstr(0x414af0, 0x7fff5bd3fe78, 65535, 13, 0)                          
 >                                                                           = 
 > 0x623308
 >     tgetstr(0x414e54, 0x7fff5bd3fe78, 57344, 8, 0x623308)                    
 >                                                                           = 
 > 0x62330e
 >     +++ exited (status 0) +++
 >     $
 > 
 > I'm guessing inc(1) suffers from using scan's functions even though it
 > has no -clear itself.

thanks.  didn't know about "-clear".

paul
=---------------------
 paul fox, address@hidden (arlington, ma, where it's 43.0 degrees)



reply via email to

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