Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
[yast-devel] how to determine GUI versus ncurses mode via YCP
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Tue, 25 Mar 2008 15:48:24 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0803251544090.8223@xxxxxxxxxxxxxx>

Hello,

how can I determine in a YaST module if it runs currently
in GUI mode (Qt or Gtk) or in text-only (ncurses) mode?

If it runs in text-only mode, how can I determine its current
screen size (i.e. how many lines and characters per line)?


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >