On Tue, Mar 25, 2008 at 10:56:37AM -0400, Patrick Shanahan wrote:
* Johannes Meixner <jsmeix(a)suse.de> [03-25-08
If it runs in text-only mode, how can I determine its current
screen size (i.e. how many lines and characters per line)?
bash has env vars, $LINES and $COLUMNS, that will give screen size.
The variables are there, but they are not exported:
$ echo $LINES,$COLUMNS; env | grep LINES; env | grep COLUMNS
Martin Vidner, YaST developer
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org