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