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