Article View: comp.sys.next.programmer
Article #1018Re: setting a button key to be ESC
From: Eric Bennett
Date: Sat, 05 Sep 1992 11:40
Date: Sat, 05 Sep 1992 11:40
32 lines
1576 bytes
1576 bytes
Received: by grimbailiwick.Salisbury.md.us ((From Sendmail 5.52)/NeXT-2.0) id AA03160; Sat, 5 Sep 92 14:29:15 EDT Date: Sat, 5 Sep 92 14:29:15 EDT From: s3lmgeb@sae.towson.edu (Eric Bennett) Message-Id: <9209051829.AA03160@ grimbailiwick.Salisbury.md.us > To: comp.sys.next.programmer@cis.ohio-state.edu Subject: Re: setting a button key to be ESC Newsgroups: comp.sys.next.programmer In-Reply-To: <Bu33xu.7x3@cs.psu.edu> Cc: grio@cs.psu.edu X-Originally-From: grimace@grimbailiwick.salisbury.md.us (Eric Bennett) In article <Bu33xu.7x3@cs.psu.edu> grio@cs.psu.edu writes: > >In the IB inspector, I'd like to set a button's key equivalent to be ESC. >I can't get it to work. > >Any ideas? > >-- > Dan Grillo grio@cs.psu.edu [NeXTmail, PrivateMail, MIME welcome] One way I've found to do this is to open a terminal window and type: ~ % echo -n a | tr a '\033' | copy Then in IB paste into the Key: field of the attributes inspector and press OK. You won't be able to see the character (looks like a space) but it'll work. Another useful code is \177 for the Delete key. (Oh, and make that window a panel.) - Eric B.
Technical Details
Message-ID:
<01GOFII0IUGI935V8R@TOE.TOWSON.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!SAE.TOWSON.EDU!S3LMGEBShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!SAE.TOWSON.EDU!S3LMGEB From: S3LMGEB@SAE.TOWSON.EDU (Eric Bennett) Subject: Re: setting a button key to be ESC Message-ID: <01GOFII0IUGI935V8R@TOE.TOWSON.EDU> Sender: daemon@cis.ohio-state.edu Organization: The Ohio State University Department of Computer and Information Science Date: Sat, 5 Sep 1992 11:40:53 GMT Lines: 32