On Sun, Mar 19, 2006 at 07:20:51AM +0000, Nicholas Cole wrote: > I hope that this is not an FAQ, but I can't find an answer on it. > > I know that Terminal.app is setting the environment variables LINES > and COLUMNS (I can see them with the bash "set" command), but > os.environ['LINES'] and os.environ['COLUMNS'] don't exist. Why is > that?
LINES and COLUMNS are not typically exported by the shell (passed to child processes). You can use 'export LINES' or 'export COLUMNS' to do so if you wish. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig