[kbd] New vt_mode tool for kbd?
Alexey Gladkov
gladkov.alexey at gmail.com
Fri Mar 25 13:20:19 UTC 2011
22.03.2011 00:42, Michael Schutte wrote:
> Hi Alexey,
>
> The console-setup package in Debian needs a way to check for the
> text/graphics mode of the active VT (from a shell script). This can be
> done with “setfont -v -o /dev/null”, for example, but that isn’t very
> elegant. Julien Cristau has proposed a small utility (which I’m calling
> “vt_mode” for now) to report this information in a canonical fashion.
May be something like this (see attachment) ?
I thing this utility is more script-friendly and more extensible.
--
Rgrds, legion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kbdinfo.c
URL: <http://lists.altlinux.org/pipermail/kbd/attachments/20110325/1f007d84/attachment-0001.c>
More information about the kbd
mailing list