Re: Reading kbd scancodes from userland

2000-01-08 Thread Kazutaka YOKOTA
>Kazutaka> This is pretty wiered. You mean the REAL left ALT key >Kazutaka> doesn't work on this notebook and the external keyboard? > >The left ALT does *something*, I just don't know what (yet). To get >the standard left ALT behaviour I have to use the "windows" key. In what environme

Re: Reading kbd scancodes from userland

2000-01-08 Thread Lyndon Nerenberg
> "Kazutaka" == Kazutaka YOKOTA <[EMAIL PROTECTED]> writes: >> Failing that, has anyone figured out a keyboard mapping for an >> Inspiron 7000 that puts the left ALT key back where it belongs? >> (The reason for the first request is to try to determine what >> effect the left

Re: Reading kbd scancodes from userland

2000-01-07 Thread Kazutaka YOKOTA
Hi, >Failing that, has anyone figured out a keyboard mapping for an >Inspiron 7000 that puts the left ALT key back where it belongs? >(The reason for the first request is to try to determine what >effect the left ALT key actually has. On this laptop, the "windows" >key does what left ALT normally

Re: Reading kbd scancodes from userland

2000-01-06 Thread Peter da Silva
>Its really annoying having to find another machine when your app >coredumps so you can restore the keyboard to sanity :) If your keyboard is too borked for "^Jstty sane^J", let me know so I can avoid the app that does this. I remember running into a shell, once upon a time, that saved and resto

Re: Reading kbd scancodes from userland

2000-01-05 Thread Dan Nelson
In the last episode (Jan 06), Daniel O'Connor said: > > On 05-Jan-00 Jim Shankland wrote: > >(void) tcsetattr(fd, 0, &old_t); > >if (ioctl(fd, KDSKBMODE, oldmode) < 0) { > > (void) fprintf(stderr, > > "Danger, Will Robinson! Can't restore keyboard: > > %s\n", >

Re: Reading kbd scancodes from userland

2000-01-05 Thread Daniel O'Connor
On 05-Jan-00 Jim Shankland wrote: >(void) tcsetattr(fd, 0, &old_t); >if (ioctl(fd, KDSKBMODE, oldmode) < 0) { > (void) fprintf(stderr, > "Danger, Will Robinson! Can't restore keyboard: > %s\n", You know I *really* wish there was a way to make sure that when your

Re: Reading kbd scancodes from userland

2000-01-05 Thread Jim Shankland
Lyndon Nerenberg <[EMAIL PROTECTED]> asks: > Is it possible to read the raw keyboard scancodes from a userland > process? I can't find an ioctl for this. (This is 3.3-RELEASE+PAO3, > atkbd and syscons.) Yup. Save the following as kbddump.c, then: cc -O kbddump.c -o kbddump ./kbd

Reading kbd scancodes from userland

2000-01-05 Thread Lyndon Nerenberg
Is it possible to read the raw keyboard scancodes from a userland process? I can't find an ioctl for this. (This is 3.3-RELEASE+PAO3, atkbd and syscons.) Failing that, has anyone figured out a keyboard mapping for an Inspiron 7000 that puts the left ALT key back where it belongs? (The reason for