Anything new here?

Apparently upstream intentionally breaks things or simply doesn't care.
So could Debian please fix things at least downstream?
The patch is trivial, and having tested it with all kinds of
applications, it seems to not cause breakage.


Having set the wrong TERM breaks all kinds of things and there is no
real way to correct that (setting it in .bashrc or friends would do this
for all terminals!).

Below is a list of differences between xterm and gnome and for
xterm-256color / gnome-256color things are not better.

Reporting the wrong terminal doesn't only lead to some features not
working, it also means that tests for features fail, e.g. tput blink
will exit 0 on gnome terminal, while it should exit 1 (since it doesn't
support blinking).


Further, I'd suggest that gnome-terminal sets TERM=gnome-256color
instead of just gnome.
It actually already supports full RGB colours so there's no reason to
restrict oneself.


Cheers,
Chris.


$ infocmp xterm gnome
comparing xterm to gnome.
    comparing booleans.
        km: T:F.
        mc5i: T:F.
        npc: T:F.
    comparing numbers.
        ncv: NULL, 16.
    comparing strings.
        blink: '\E[5m', NULL.
        cbt: '\E[Z', NULL.
        cnorm: '\E[?12l\E[?25h', '\E[?25h'.
        cvvis: '\E[?12;25h', NULL.
        el1: '\E[1K', NULL.
        enacs: NULL, '\E)0'.
        flash: '\E[?5h$<100/>\E[?5l', NULL.
        ich: '\E[%p1%d@', NULL.
        indn: '\E[%p1%dS', NULL.
        is2: '\E[!p\E[?3;4l\E[4l\E>', 
'\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8'.
        kb2: '\EOE', '\E[E'.
        kent: '\EOM', NULL.
        kf13: '\E[1;2P', '\EO1;2P'.
        kf14: '\E[1;2Q', '\EO1;2Q'.
        kf15: '\E[1;2R', '\EO1;2R'.
        kf16: '\E[1;2S', '\EO1;2S'.
        kf25: '\E[1;5P', '\EO1;5P'.
        kf26: '\E[1;5Q', '\EO1;5Q'.
        kf27: '\E[1;5R', '\EO1;5R'.
        kf28: '\E[1;5S', '\EO1;5S'.
        kf37: '\E[1;6P', '\EO1;6P'.
        kf38: '\E[1;6Q', '\EO1;6Q'.
        kf39: '\E[1;6R', '\EO1;6R'.
        kf40: '\E[1;6S', '\EO1;6S'.
        kf49: '\E[1;3P', '\EO1;3P'.
        kf50: '\E[1;3Q', '\EO1;3Q'.
        kf51: '\E[1;3R', '\EO1;3R'.
        kf52: '\E[1;3S', '\EO1;3S'.
        kf61: '\E[1;4P', '\EO1;4P'.
        kf62: '\E[1;4Q', '\EO1;4Q'.
        kf63: '\E[1;4R', '\EO1;4R'.
        kfnd: NULL, '\E[1~'.
        kslt: NULL, '\E[4~'.
        mc0: '\E[i', NULL.
        mc4: '\E[4i', NULL.
        mc5: '\E[5i', NULL.
        rin: '\E[%p1%dT', NULL.
        rmacs: '\E(B', '^O'.
        rmcup: '\E[?1049l', '\E[2J\E[?47l\E8'.
        rmso: '\E[27m', '\E[m'.
        rmul: '\E[24m', '\E[m'.
        rs2: '\E[!p\E[?3;4l\E[4l\E>', 
'\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h'.
        setb: 
'\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL.
        setf: 
'\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL.
        sgr: 
'%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m',
 
'\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p5%t;2%;%?%p7%t;8%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;'.
        sgr0: '\E(B\E[m', '\E[0m\017'.
        smacs: '\E(0', '^N'.
        smcup: '\E[?1049h', '\E7\E[?47h'.
        u8: '\E[?1;2c', '\E[?%[;0123456789]c'.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to