[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting screen size into the env?
From: |
Thomas Adam |
Subject: |
Re: Getting screen size into the env? |
Date: |
Thu, 7 Aug 2008 08:10:56 +0100 |
2008/8/7 Micah Cowan <address@hidden>:
> However, if you use bash, it will set _shell_ variables, COLUMNS and
> LINES, automatically. This isn't something that screen does, but bash.
> Bash does _not_ export these by default, however; you'll need to do
>
> $ export COLUMNS LINES
Rather unportably between Unixes:
eval $(resize)
-- Thomas Adam