RE: key bounce problem
I tried the xset r off when it was mentioned and have not had a keyboard bounce problem since. According to the way I read the man page for xset, only the rate parameter is handled by the keyboard extension and not the autorepeat on/off. From what I can tell, in a ms-windows based xserver, that option can always be set off without anyone noticing because ms-windows has its own autorepeat that will be on anyway. I have attached the relevant section of the man page below for others to decide how they want to read it... Andy r The r option controls the autorepeat. Invoking with -r, or r off, will disable autorepeat, whereas r, or r on will enable autorepeat. Following the -r or r option with an integer keycode between 0 and 255 will disable or enable autorepeat on that key respectively, but only if it makes sense for the particular keycode. Keycodes below 8 are not typically valid for this command. Example: xset -r 10 will disable autorepeat for the 1 key on the top row of an IBM PC key- board. If the server supports the XFree86-Misc extension, or the XKB extension, then a parameter of 'rate' is accepted and should be followed by zero, one or two numeric values. The first speci- fies the delay before autorepeat starts and the second speci- fies the repeat rate. In the case that the server supports the XKB extension, the delay is the number of milliseconds before autorepeat starts, and the rate is the number of repeats per second. If the rate or delay is not given, it will be set to the default value. -Original Message- From: Harold L Hunt II [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:45 AM To: [EMAIL PROTECTED] Subject: Re: key bounce problem Stacey, Check the following email message for some history: http://sources.redhat.com/ml/cygwin-xfree/2003-04/msg00107.html Duncan Cragg seems to have reported success using 'xset r off', but you may want to read the rest of that thread for clarification. Hmm... from my own comments I think I mentioned that XF86MISC isn't compiled in, so it wouldn't seem that 'xset r off' could actually do anything... I had asked for some help from our guru, Alan Hourihane, but I don't remember if he had any insight to offer me. I didn't notice a reply to his message in the thread, but this was during the end of the semester for me so I may have been so busy that I didn't notice his response. Stacey --- If you weren't running (exactly) 'xset r off', could you try restoring your Windows keyboard setting and running that command? Let us know the results. I don't expect it to work, or I suspect that you have already tried (you did mention xset r), but give it a shot if you haven't tried it. Any else got some ideas here? Harold Stacey Campbell wrote: I've been experiencing a fairly annoying key bounce problem with almost any X client that takes keyboard input running against XWin on my XP box. The problem rears its ugly head the most when running xterm. I searched the archive for this list for xterm, debounce, keyboard, etc but couldn't find a message with a solution. The keyboard code for XWin appears to ignore xset's r option, likewise it appears to ignore XKEYBOARD args such as -ar1 as detailed on the Xserver man page. The keyboard code doesn't ignore XP's keyboard control settings however. I modified Control Panel-Keyboard-Repeat Delay to be one notch slower and the keyboard bounce problems magically went away. This fix obviously modifies the behavior of the keyboard for every Windows app, but since I spend 99% of the time inside XFree86 I'm quite happy with it. :-) I don't know if this fix applies to anything other than XP, but I thought I should subscribe to this list and get this message into the archive in case someone else runs into the same problem down the road. Stacey http://www.pigtailproductions.com/stacey/
Re: key bounce problem
Duncan Cragg seems to have reported success using 'xset r off', but you may want to read the rest of that thread for clarification. Hmm... from my own comments I think I mentioned that XF86MISC isn't compiled in, so it wouldn't seem that 'xset r off' could actually do anything... I too suffered from this problem until Duncan reported how 'xset r off' cured it for him. It also cured it for me. I don't know if cured is the right word, but the problem hasn't appeared since I applied the cure. I wasn't experiencing the problem as bad as Duncan was, but enough to make it irritating (maybe 10 - 20 times a day). My machine is NT - improved no end through Cygwin/XFree86/XFCE :-) Paul Warren
key bounce problem
I've been experiencing a fairly annoying key bounce problem with almost any X client that takes keyboard input running against XWin on my XP box. The problem rears its ugly head the most when running xterm. I searched the archive for this list for xterm, debounce, keyboard, etc but couldn't find a message with a solution. The keyboard code for XWin appears to ignore xset's r option, likewise it appears to ignore XKEYBOARD args such as -ar1 as detailed on the Xserver man page. The keyboard code doesn't ignore XP's keyboard control settings however. I modified Control Panel-Keyboard-Repeat Delay to be one notch slower and the keyboard bounce problems magically went away. This fix obviously modifies the behavior of the keyboard for every Windows app, but since I spend 99% of the time inside XFree86 I'm quite happy with it. :-) I don't know if this fix applies to anything other than XP, but I thought I should subscribe to this list and get this message into the archive in case someone else runs into the same problem down the road. Stacey http://www.pigtailproductions.com/stacey/
Re: key bounce problem
Stacey, Check the following email message for some history: http://sources.redhat.com/ml/cygwin-xfree/2003-04/msg00107.html Duncan Cragg seems to have reported success using 'xset r off', but you may want to read the rest of that thread for clarification. Hmm... from my own comments I think I mentioned that XF86MISC isn't compiled in, so it wouldn't seem that 'xset r off' could actually do anything... I had asked for some help from our guru, Alan Hourihane, but I don't remember if he had any insight to offer me. I didn't notice a reply to his message in the thread, but this was during the end of the semester for me so I may have been so busy that I didn't notice his response. Stacey --- If you weren't running (exactly) 'xset r off', could you try restoring your Windows keyboard setting and running that command? Let us know the results. I don't expect it to work, or I suspect that you have already tried (you did mention xset r), but give it a shot if you haven't tried it. Any else got some ideas here? Harold Stacey Campbell wrote: I've been experiencing a fairly annoying key bounce problem with almost any X client that takes keyboard input running against XWin on my XP box. The problem rears its ugly head the most when running xterm. I searched the archive for this list for xterm, debounce, keyboard, etc but couldn't find a message with a solution. The keyboard code for XWin appears to ignore xset's r option, likewise it appears to ignore XKEYBOARD args such as -ar1 as detailed on the Xserver man page. The keyboard code doesn't ignore XP's keyboard control settings however. I modified Control Panel-Keyboard-Repeat Delay to be one notch slower and the keyboard bounce problems magically went away. This fix obviously modifies the behavior of the keyboard for every Windows app, but since I spend 99% of the time inside XFree86 I'm quite happy with it. :-) I don't know if this fix applies to anything other than XP, but I thought I should subscribe to this list and get this message into the archive in case someone else runs into the same problem down the road. Stacey http://www.pigtailproductions.com/stacey/
Re: key bounce problem
Harold, Duncan Cragg seems to have reported success using 'xset r off', but you may want to read the rest of that thread for clarification. Hmm... from my own comments I think I mentioned that XF86MISC isn't compiled in, so it wouldn't seem that 'xset r off' could actually do anything... No xset 'r' args appear to work. 'xset q' shows that the server is correctly registering 'xset r off' and it's definitely ignored. I think it's fine that XWin currently ignores this stuff since it's (without looking at the source) probably doing the right thing by talking directly to the Windows keyboard driver at the application level. Either way, I don't actually want 'xset r off', I really want something like: $ cat ~/.xserverrc : exec /usr/X11R6/bin/X -ar1 500 :0 ...which doesn't seem to work either. I had asked for some help from our guru, Alan Hourihane, but I don't remember if he had any insight to offer me. In a previous life I wrote X server support many ISA, VESA and PCI graphics adapters. I remember the keyboard-and-mouse-input guy in our group being a weary glass is half empty type person when struggling with these devices and everything that an X server is expected to do with them. Stacey http://www.pigtailproductions.com/stacey/