Setting the TERM environment variable
Hi,
I'm trying to get Terminator to set my TERM environment variable to 'xterm-256color' and failing. I'm using Ubuntu 13.04 (latest stable).
I'm using the BZR tip, which I expected to work after https:/
So, after setting the term variable in my config, I investigated with the following in the Terminal class, __init__:
dbg("Configured TERM is " + self.config[
os.environ['TERM'] = self.config['term']
dbg('TERM is ' + os.getenv('TERM'))
(I changed putenv to a direct assignment to os.environ, as suggested by the Python docs). The result of this is:
tin@tin-
Terminal::__init__: Configured TERM is xterm-256color
Terminal::__init__: TERM is xterm-256color
but doing an 'echo $TERM' in the resulting terminal still shows xterm. As far as I can see nothing is assigning to TERM in .bashrc, and 'echo $TERM' at the top of .bashrc prints out 'xterm'.
I'm making this a question since I'm not at all sure if this is an issue with Terminator or with my particular set-up. Could someone suggest additional steps to debug this, or shed some more light on what exactly is happening here?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Terminator Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Stephen Boddy
- Solved:
- Last query:
- Last reply: