Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ANDREW.CMU.EDU!ghoti+ From: ghoti+@ANDREW.CMU.EDU (Adam Stoller) Newsgroups: comp.soft-sys.andrew Subject: Re: addkey question Message-ID: <4c7j77S00as94FDEoB@andrew.cmu.edu> Date: 1 May 91 16:50:15 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 39 Excerpts from internet.info-andrew: 1-May-91 addkey question Dave Gross@rchland.vnet. (338+0) > I would like to set up a Quit key mapped to F10 (\e<) that works in all > applications. > In .atkinit, > addkey frame-exit \e< view all > works for ez, but not for other things, like typescript (bad command). > addkey exit \e< view all > works for all applications, but no checking is done for changed buffers, etc. > Any ideas? > Thanks, > -- Dave The problem is that many of the applications - override the default Quit function - so you need to make different bindings for the different applications (I assume you already know about ^X^C - which is bound to the correct Quit function by default ?) As an example - messages (folders,captions,body): ^X^C -> messages-quit sendmessage (messages/composition): ^X^C -> sendmessage-quit typescript: ^X^C -> im-exit-program etc., etc., etc. The deskey-describe-key binding is very usful for this sort of thing since, once bound, you can use it to identify the other bindings. The other deskey-* functions are also helpful. --fish