Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
Re: [yast-devel] how to determine GUI versus ncurses mode via YCP
  • From: Stefan Hundhammer <sh@xxxxxxx>
  • Date: Tue, 25 Mar 2008 16:24:13 +0100
  • Message-id: <>
On Tuesday 25 March 2008 15:56, Patrick Shanahan wrote:
bash has env vars, $LINES and $COLUMNS, that will give screen size.

Shelling out to do SCR::Execute(.target.bash, ...) to get those environment
variables is something I don't even want to think about... ;-)

Stefan Hundhammer <sh@xxxxxxx> Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >