[Pkg-kbd-devel] Bug#618573: Needed some way to test whether we are on the console

Julien Cristau jcristau at debian.org
Thu Mar 17 19:57:15 UTC 2011


On Thu, Mar 17, 2011 at 20:43:27 +0100, Michael Schutte wrote:

> I agree that a dedicated utility for this purpose would be nice to have,
> although I don’t want to carry it around in the .debian.tar.gz.  Julien,
> would you be okay with integrating your little program into kbd
> upstream?  I’d just change it to use the getfd() function like the rest
> of the tools before submitting it.
> 
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

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20110317/436f50c2/attachment.pgp>


More information about the Pkg-kbd-devel mailing list