Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.windows.x Subject: Re: Autorepeat key problems with X11R4 Message-ID: <61614@lll-winken.LLNL.GOV> Date: 14 Jun 90 06:32:52 GMT References: <9006102005.AA28531@osage.csc.ti.com> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 28 | > I know I can disable autorepeat entirely, but being able to adjust the | > autorepeat delay, either from a user settable parameter or via a compile | > time option would be much preferable. Does anyone know how this could be | > done? | | Since you are using a Sun server, look at the man page for Xsun and you will | see the -ar1 and -ar2 switches. You can't control the auto-repeat stuff from | xset because there is no way to do that via the X protocol. I sure wish the X Consortium would come up with a standard way for xset to change non-standard server parameters. Someone once asked for the ability to change the Sun autorepeat rate via xset and the reply that came down the line was that there wasn't any way to do that with the standard X11 protocol. Some asked for an autorepeat xset extension after that, but I think it would be nicer to be able to extend the protocol in a more general way so that any non-standard server parameter could be modified without having to modify the protocol every time someone comes up with a new server parameter that people would like to change via xset. Maybe something like ``xset sm '' where is a string which is to be sent to the server to be interpreted by it. With such an extention it would be trivial to tell the Sun server you wanted it to start autorepeating after 300 miliseconds and to autorepeat every 20 miliseconds via ``xset sm autorepeat=300/20'' or something similar. Casey