On Wednesday 23 Apr 2008 15:11:21 Ben Kaplan wrote: > I don't know about all Linux distros, but my Ubuntu machine (8.04 Beta), > has the 'TERM' (xterm) and 'COLORTERM' (gnome-terminal) keys in os.environ. > You might be able to use that to ensure that the terminal is installed, but > you should probably look at a couple of other popular distros first to make > sure that the key is there. This is set on Debian too. Thanks. I should be able to use this environment variable on most Linux distributions, I suspect. -- Regards, V. Harishankar
http://hari.literaryforums.org http://harishankar.org -- http://mail.python.org/mailman/listinfo/python-list