Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!ICASE.EDU!tom From: tom@ICASE.EDU (Tom Crockett) Newsgroups: comp.windows.x Subject: Keyboard AutoRepeat Rate in Xsun Server Message-ID: <0ZcpYrz0-csmACHVVF@sparc01> Date: 4 Jan 90 14:09:59 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 44 As in previous releases, the keyboard autorepeat feature in the R4 Sun server is overly-sensitive for many people (those of us with lazy fingers, I guess). Here is a patch to change the delay before auto-repeat kicks in from 0.2 sec to 0.5 sec, which seems to be a reasonable value. Tom Crockett ICASE Institute for Computer Applications in Science and Engineering M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225 ---- Enclosure ---- This patch reduces the sensitivity of the keyboard auto-repeat feature to a more reasonable level, avoiding spurious characters and providing a feel similar to SunView. *** server/ddx/sun/sun.h.orig Wed Jan 3 16:51:41 1990 --- server/ddx/sun/sun.h Wed Jan 3 16:53:26 1990 *************** *** 228,234 **** extern int monitorResolution; ! #define AUTOREPEAT_INITIATE (200) /* milliseconds */ #define AUTOREPEAT_DELAY (50) /* milliseconds */ /* * We signal autorepeat events with the unique Firm_event --- 228,234 ---- extern int monitorResolution; ! #define AUTOREPEAT_INITIATE (500) /* milliseconds */ #define AUTOREPEAT_DELAY (50) /* milliseconds */ /* * We signal autorepeat events with the unique Firm_event ---- Enclosure ----