[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)
- Re: [Nmh-workers] colorized/highlighted scan output?, (continued)
- Re: [Nmh-workers] colorized/highlighted scan output?, Valdis . Kletnieks, 2012/11/02
- Re: [Nmh-workers] colorized/highlighted scan output?, Paul Fox, 2012/11/02
- Re: [Nmh-workers] colorized/highlighted scan output?, Lyndon Nerenberg, 2012/11/02
- Re: [Nmh-workers] colorized/highlighted scan output?, Chris Garrigues, 2012/11/03
- 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 <=
- 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