home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6144 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!SAE.TOWSON.EDU!S3LMGEB
  3. From: S3LMGEB@SAE.TOWSON.EDU (Eric Bennett)
  4. Subject: Re: setting a button key to be ESC
  5. Message-ID: <01GOFII0IUGI935V8R@TOE.TOWSON.EDU>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: The Ohio State University Department of Computer and Information Science
  8. Date: Sat, 5 Sep 1992 11:40:53 GMT
  9. Lines: 32
  10.  
  11. Received: by  grimbailiwick.Salisbury.md.us  ((From Sendmail 5.52)/NeXT-2.0)
  12.     id AA03160; Sat, 5 Sep 92 14:29:15 EDT
  13. Date: Sat, 5 Sep 92 14:29:15 EDT
  14. From: s3lmgeb@sae.towson.edu (Eric Bennett)
  15. Message-Id: <9209051829.AA03160@ grimbailiwick.Salisbury.md.us >
  16. To: comp.sys.next.programmer@cis.ohio-state.edu
  17. Subject: Re: setting a button key to be ESC
  18. Newsgroups: comp.sys.next.programmer
  19. In-Reply-To: <Bu33xu.7x3@cs.psu.edu>
  20. Cc: grio@cs.psu.edu
  21. X-Originally-From: grimace@grimbailiwick.salisbury.md.us (Eric Bennett)
  22.  
  23. In article <Bu33xu.7x3@cs.psu.edu> grio@cs.psu.edu writes:
  24. >
  25. >In the IB inspector, I'd like to set a button's key equivalent to be ESC.
  26. >I can't get it to work.
  27. >
  28. >Any ideas?
  29. >
  30. >--
  31. > Dan Grillo   grio@cs.psu.edu   [NeXTmail, PrivateMail, MIME welcome]
  32.  
  33. One way I've found to do this is to open a terminal window and type:
  34.  
  35. ~ % echo -n a | tr a '\033' | copy
  36.  
  37. Then in IB paste into the Key: field of the attributes inspector and press
  38. OK.  You won't be able to see the character (looks like a space) but it'll
  39. work.  Another useful code is \177 for the Delete key.
  40. (Oh, and make that window a panel.)
  41.  
  42.                 - Eric B.
  43.