Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
Re: [yast-devel] how to determine GUI versus ncurses mode via YCP
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Tue, 25 Mar 2008 10:56:37 -0400
  • Message-id: <20080325145637.GY902@xxxxxxxxxxxxxxx>
* Johannes Meixner <jsmeix@xxxxxxx> [03-25-08 10:50]:

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.
Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 Photo Album:
Registered Linux User #207535 @
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >