[Pkg-kbd-devel] Bug#618573: Needed some way to test whether we are on the console
Michael Schutte
michi at debian.org
Thu Mar 17 20:54:37 UTC 2011
Hey,
On Thu, Mar 17, 2011 at 08:57:15PM +0100, Julien Cristau wrote:
> Sure, go ahead. Note that Samuel Thibault suggested setupcon should use
> the KDGKBMODE ioctl and check for K_RAW instead of KDGETMODE and check
> for KD_GRAPHICS; the code change is trivial. See
> http://lists.debian.org/20110226002401.GG7418@const.famille.thibault.fr
Thanks for your quick response. I think your original code could still
come in useful from time to time.
On #614127: Unless I’m missing something, you can already use kbd_mode
(without an argument) for this purpose. The output could be a little
more canonical, but a grep for "scancode" should do the job.
All the best,
--
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.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20110317/520422c9/attachment.pgp>
More information about the Pkg-kbd-devel
mailing list