[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG] 2.5.69 - no setfont and loadkeys on tty > 1
On Wed, May 14, 2003 at 11:19:59PM +0100, James Simmons wrote:

> P.S
> KDGKBDTYPE. (Wow, I can't believe we still have this. It should die)

It is rather useless for determining keyboard proterties, yes.
On the other hand, quite a few utilities use it in code like

static int
is_a_console(int fd) {
char arg;

arg = 0;
return (ioctl(fd, KDGKBTYPE, &arg) == 0
&& ((arg == KB_101) || (arg == KB_84)));


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.123 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site