Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!elysium!archer From: archer@elysium.esd.sgi.com (Doctor Benway) Newsgroups: comp.sys.sgi Subject: Re: Disabling auto repeat Keywords: multiple events Message-ID: <1990Dec6.014333.25691@odin.corp.sgi.com> Date: 6 Dec 90 01:43:33 GMT References: <17919@thorin.cs.unc.edu> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 27 In <17919@thorin.cs.unc.edu> surles@robinett.cs.unc.edu (Mark Surles) writes: *I want to receive one event when a key is pressed down and one *event when a key is released. When the keyboard is configured *with auto-repeat enabled, multiple key pressed events are queued *if a key is held for more than 0.5 seconds. * *How can I disable the keyboard auto-repeat? I really want a *means to do this from with my graphics program and then *restore the original keyboard configuration when the program *exists? * *Does anyone know how to do this from 4Sight? * Yes, you can do this in 3.3. There is a command called 'keywarp', which allows you to set the time until repeat starts, as well as the rate of repeat. If you set both numbers to really high values, you can effectively turn auto-repeat off. -- ---- "If I hear one more horrible James Brown imitation, I'll just die." -- Leonard Bernstein Archer Sully