Thanks a bunch, I'll get it.
At this point I have no choice but to go into source. I've been able to get X to dump scancodes to a file and already discovered that the routine which maps scancodes to keycodes xf86PostKbdEvent, doesn't even see the whole scancode. The e0 e1 prefixes are masked out. What a mess is X. We got our keyboard primarily from Keytronics. Unicomp also makes them. They run in PC mode and are a spin on a really old IBM keyboard. I think you are wasting your time looking at this at the xmodmap level. XFree86 doesn't even have enough keysyms to handle the problem. James Rich <[EMAIL PROTECTED]> on 08/21/2003 12:35:58 PM To: Phillip Watts/austin/[EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: Testreq patch [EMAIL PROTECTED] wrote: > > Thanks. > So your modified cvs line caused it to download latest? > > patch barfed (malformed patch) on line 17 > Index: src/display.c > ?? i'm running from ...../tn520 which can see src/display.c ?? > My build system is RH 7.2. ANy chance patch is screwed? > > The source matches up much better, I will be happy to copy in the patch > by hand. But I will wait for your advice before doing so. I couldn't get the patch to apply cleanly either. I've added Scott's changes by hand and made a tarball of the complete source available at: http://www.chowhouse.com/~james/tn5250-testreq.tar.bz2 > Also: this appears to be a version which support macros. yup. another subject: > Good job on the HOWTO, very nice. Thank you. > The keyboard problem is > XFree86 ignores the kernel keycodes and process the > scancodes and makes its own keycodes and does not map all the > keys on the IBM 122 key keyboard. Bummer. > And there is no dynamic 'setkeycodes' for X. Bummer. X uses a completely different mechanism for the keyboard than does the linux console. > I've mapped the keys and am studying X source. If I come up with a > mod which will map all the 122 keys, I'll post it. Studying the source to X? Wow - you are hardcore :) Where did you get your 122 keyboard? Maybe I can get one and try to resolve you issues (and update the HOWTO to cover 122 keys). James Rich _______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.