🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1729

Re: addkey question

#1729
From: Adam Stoller
Date: Wed, 01 May 1991 16:50
39 lines
1610 bytes
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
Technical Details
Message-ID: <4c7j77S00as94FDEoB@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!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+
References: <kc7h7hA91E6JI18vJK@rchland.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <kc7h7hA91E6JI18vJK@rchland.ibm.com>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 39