Current-Users archive

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

Re: xterm-color256: Different behavior between NetBSD 9.2 and 9.99.93?



This is fun:

> setenv TERM xterm+256color
> infocmp 
# Reconstructed from /usr/share/misc/terminfo.cdb
xterm+256color|original xterm 256-color feature,
        ccc,
        colors#256, pairs#65536,
        initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\,
        oc=\E]104\007,
        setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
        setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,


but:

> setenv TERM xterm-256color
> infocmp | fgrep col
xterm-256color|xterm with 256 colors,
        colors#8, cols#80, it#8, lines#24, pairs#64,


and the source says:

# These variants of XFree86 3.9.16 xterm are built as a configure option.
xterm-256color|xterm with 256 colors,
        use=xterm+osc104, use=xterm+256color, use=xterm-new,

... and xterm-new does not overwrite colors.
Bug in the terminfo compiler?

Martin


Home | Main Index | Thread Index | Old Index