Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!ICASE.EDU!tom From: tom@ICASE.EDU (Tom Crockett) Newsgroups: comp.windows.x Subject: Re: Beginner's Question, X11 keyboard characteristics Message-ID: Date: 15 Feb 89 13:30:32 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 50 o The repeat rate is very high, and keys seem to repeat after a shorter delay time sometimes (on some Suns?). These values are adjustable by patching the Xsun server. The following patch is what we use: This patch reduces the sensitivity of the keyboard auto-repeat feature in the Sun server, providing a feel more like SunView and reducing the occurrence of spurious characters. It also speeds up the auto-repeat rate once it kicks in. *** server/ddx/sun/sun.h.tmp Tue Sep 6 15:10:55 1988 --- server/ddx/sun/sun.h Wed Dec 14 15:36:00 1988 *************** *** 278,285 **** extern int lastEventTime; /* Time (in ms.) of last event */ extern void SetTimeSinceLastInputEvent(); ! #define AUTOREPEAT_INITIATE (200) /* milliseconds */ ! #define AUTOREPEAT_DELAY (50) /* milliseconds */ /* * We signal autorepeat events with the unique Firm_event * id AUTOREPEAT_EVENTID. --- 278,285 ---- extern int lastEventTime; /* Time (in ms.) of last event */ extern void SetTimeSinceLastInputEvent(); ! #define AUTOREPEAT_INITIATE (500) /* milliseconds */ ! #define AUTOREPEAT_DELAY (25) /* milliseconds */ /* * We signal autorepeat events with the unique Firm_event * id AUTOREPEAT_EVENTID. Sorry, I don't know what to do for your second problem. I tried it out on my Sun, and much to my amazement, it works just as you describe. I'd never noticed it before. _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