Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!gatech!emcard!stiatl!meo From: meo@stiatl.UUCP (Miles O'Neal) Newsgroups: comp.windows.x Subject: Re: ctrlLock, metaLock ? Message-ID: <3241@stiatl.UUCP> Date: 17 Feb 89 19:55:11 GMT Organization: Sales Technologies Inc., Atlanta, GA Lines: 12 In article <8902171035.AA13382@ATHENA.MIT.EDU> mansfiel@scrsu1.sdr.slb.COM (Niall Mansfield) writes: >It would be useful (for diabled people, and others who need to work >one-handed) to have metaLock and ctrlLock. How would you do this in X -- I >can't see any 'lock'-style specifications available in xmodmap or wherever? To do similar latching of command buttons, we wrote a procedure that keeps track of the state; once the key is pressed, it is set ON until pressed again (via a state variable). You would probably want to give some visual feedback, like a [Ctrl LOCK] label appearing on the screen when the key is "locked". -Miles