[kbd] New vt_mode tool for kbd?

Michael Schutte michi at uiae.at
Sat Mar 26 17:33:40 UTC 2011


On Fri, Mar 25, 2011 at 04:20:19PM +0300, Alexey Gladkov wrote:
> 22.03.2011 00:42, Michael Schutte wrote:
> > 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.

That’s much better, of course!

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.altlinux.org/pipermail/kbd/attachments/20110326/93ea3233/attachment.bin>


More information about the kbd mailing list