[Sugar-devel] [PATCH] Hardcode env variable TERM to xterm #2394

simon at schampijer.de simon at schampijer.de
Wed Oct 6 08:11:04 EDT 2010


From: Simon Schampijer <simon at schampijer.de>

Patch needed in 0.90

---
 terminal.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/terminal.py b/terminal.py
index a0f97ba..4f05ed3 100644
--- a/terminal.py
+++ b/terminal.py
@@ -51,6 +51,9 @@ class TerminalActivity(activity.Activity):
 
         self.max_participants = 1
 
+        # Hardcode to xterm due to a change in vte #2394
+        os.environ['TERM'] = 'xterm'
+
         toolbar_box = ToolbarBox()
 
         activity_button = ActivityToolbarButton(self)
-- 
1.7.2.2



More information about the Sugar-devel mailing list