bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug] DEC[+-]something in infocmp -i


From: Thomas Dickey
Subject: Re: [bug] DEC[+-]something in infocmp -i
Date: Wed, 22 Mar 2006 14:32:06 -0500
User-agent: Mutt/1.5.11+cvs20060126

On Wed, Mar 22, 2006 at 12:43:28PM +0100, Alain Bench wrote:
> Hi Thomas,
> 
>  On Monday, March 20, 2006 at 15:22:17 -0500, Thomas E. Dickey wrote:
> 
> > On Mon, 20 Mar 2006, Alain Bench wrote:
> >> only the 1st digit of the number counts.
> > thanks (will fix)
> 
>     The same problem touches other sequences, like:
> 
>  ? "\E[10m" (select default charset) is analysed as "{SGR:+BOLD}".
>  ? "\E[0m" (sgr0 with explicit 0) is analysed as "{ISO DEC G0}m".

thanks
 
>     While at init/reset strings, some more small glitches:
> 
>  -2) "tput init" never sends is3. Instead it sends a second time is2.

thanks - I see this chunk, which has been that way since 1995:

        if (is_reset && reset_3string != 0) {
            PUTS(reset_3string);
        } else if (init_2string != 0) {
            PUTS(init_2string);
        }

>  -3) "tput reset" runs iprog. This makes sense, but is not documented in
> man/terminfo.tail nor man/tput.1.

ok.
 
>  -4) man/tput.1 should say exactly what happens in which order during
> init and reset, or point to "man 5 terminfo".

ok (it should be in tput.1)
 
>  -5) man/terminfo.tail clearly explains the init case, but the part
> about reset is much less clear: Is iprog run? Are mgc, smgl, smgr, tbc,
> and hts also used? It says "A pair of sequences" talking about 4. And
> the fallback to "i*" strings is not described.

no - the other special strings such as tbc are not run, under the assumption
that the reset/init strings include that functionality.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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