Bug#800832: mate-terminal: sets TERM to ‘xterm’ even though ‘xterm-256colors’ would be appropriate

astian astian at eclipso.at
Thu Dec 28 13:01:00 UTC 2017


Control: notforwarded -1
Control: reassign -1 mate-terminal
Control: tags -1 - fixed-upstream
Control: severity -1 normal
Control: found -1 1.18.2-1

This is still broken and has not been fixed in mate-terminal upstream, which
is where the bug is.  From src/terminal-screen.c:

  g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */

That ancient code comes from gnome-terminal 2.33.4 or earlier.

There's an unresolved bug report in upstream's bug tracker:

  https://github.com/mate-desktop/mate-terminal/issues/209

Also the proposed work-around (not a fix) is not good enough: it won't work
for cases in which the terminal is told to spawn some other program.  (For the same
reason, overriding TERM in some shell initialisation script is, besides idiotic, also
ineffective.)  Consider:

  $ mate-terminal -x vim

This is not a contrived example, many application will launch a terminal in
exactly that fashion.

I'm raising the severity and reassigning.

Cheers.

_________________________________________________________________
________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



More information about the pkg-gnome-maintainers mailing list