Control: tags -1 + patch

Here's a trivial patch.

Cheers.
Description: Stop setting TERM and COLORTERM
 TERM should be set by libvte by default, do not override it.  COLORTERM is
 obsolete.
 .
 See also: https://git.gnome.org/browse/gnome-terminal/commit/?id=1d5c1b6ca6373c1301494edbc9e43c3e6a9c9aaf
 .
Author: astian <ast...@elude.in>

---
Bug: https://github.com/mate-desktop/mate-terminal/issues/209
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800832
Last-Update: 2017-12-28

--- mate-terminal-1.18.2.orig/src/terminal-screen.c
+++ mate-terminal-1.18.2/src/terminal-screen.c
@@ -1338,9 +1338,6 @@ get_child_environment (TerminalScreen *s
 	g_hash_table_remove (env_table, "LINES");
 	g_hash_table_remove (env_table, "MATE_DESKTOP_ICON");
 
-	g_hash_table_replace (env_table, g_strdup ("COLORTERM"), g_strdup (EXECUTABLE_NAME));
-	g_hash_table_replace (env_table, g_strdup ("TERM"), g_strdup ("xterm")); /* FIXME configurable later? */
-
 	/* FIXME: moving the tab between windows, or the window between displays will make the next two invalid... */
 	g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window))));
 	g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display)));

Reply via email to