home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18249 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.6 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!ncar!hsdndev!news.cs.umb.edu!mzraly
  2. From: mzraly@ra.cs.umb.edu (Michael S Zraly)
  3. Newsgroups: comp.os.vms
  4. Subject: Is it possible to DEFINE KEY in edit/edt AS EXIT?
  5. Message-ID: <1992Nov20.093822.21259@cs.umb.edu>
  6. Date: 20 Nov 92 09:38:22 GMT
  7. Sender: news@cs.umb.edu (USENET News System)
  8. Organization: UMass/Boston
  9. Lines: 26
  10. Originator: mzraly@ra.cs.umb.edu
  11. Nntp-Posting-Host: ra.cs.umb.edu
  12.  
  13. I am writing a *very* simple data-entry program for use by a few people
  14. with no experience whatsoever with editing on VMS systems.  I find it
  15. easiest to use EDIT/EDT for the data entry part, but I would like to
  16. avoid having to remind the users to type CONTROL-ZexitRETURN: I'd
  17. much rather be able to have them type, for instance, CONTROL-X or F10
  18. and have EDT interpret this as CONTROL-ZexitRETURN somehow.
  19.  
  20. The "obvious" DEFINE KEY CONTROL X AS 'EX.' does not work, since the
  21. nokeypad command EX just leaves nokeypad mode for line mode.
  22.  
  23. For various reasons, I'd rather *not* use edit/tpu, although obviously
  24. that would solve the problem.
  25.  
  26. On another note, I would like to have the numeric keypad kept in
  27. numeric mode rather than application mode: I cannot seem to do this in
  28. any way in EDT.  My current solution is to SPAWN/NOWAIT a subprocess
  29. that SET TERM/NUMERIC <terminal-name> after waiting a fraction of a
  30. second, but this is a pretty ugly solution.  Can anyone tell me any
  31. better solution?
  32.  
  33. Thanks,
  34.   Mike
  35.  
  36. -- 
  37. Mike Zraly        The first duty of a revolutionary is to get away
  38. mzraly@cs.umb.edu    with it.    -- Abbie Hoffman
  39.