home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!mrccrc!doc.ic.ac.uk!agate!spool.mu.edu!yale.edu!jvnc.net!rutgers!usc!sdd.hp.com!nigel.msen.com!emory!sol.ctr.columbia.edu!destroyer!news.iastate.edu!hobbes.physics.uiowa.edu!moe.ksu.ksu.edu!mccall!info-tpu-newsgate!list
- From: williams@ab.wvnet.edu
- Newsgroups: vmsnet.tpu
- Subject: ^U versus ^X
- Message-ID: <01GQZ9KDAYOIA3CA70@WVNVMS.WVNET.EDU>
- Date: 10 Nov 92 13:13:41 GMT
- Reply-To: williams@ab.wvnet.edu
- Organization: The Internet
- Lines: 39
- Return-Path: <TPU-Mgr@SHSU.edu>
- Errors-To: TPU-Mgr@SHSU.edu
- X-Listname: Text Processing Utility (TPU) Language Discussion List
- Return-Path: <!ab.wvnet.edu!williams@mccall.uucp>
- Resent-Message-ID: <9211102217.AA06954@depot.cis.ksu.edu>
- Resent-Date: Tue, 10 Nov 1992 16:12:15 CST
- Resent-From: info-tpu-newsgate@mccall.com
- Resent-To: info-tpu@shsu.edu
- X-Envelope-To: info-tpu-newsgate@mccall.uucp
- X-Vms-To: NET::"info-tpu-newsgate@mccall.uucp"
- X-Vms-Cc: ME
- Mime-Version: 1.0
- Content-Transfer-Encoding: 7BIT
-
- > From: WVNET::IN%"ldgiltne@wsuhub.uc.twsu.edu" 10-NOV-1992 00:17:59.38
- > Subj: Problems with SET GOLD KEY
- >
- > I have all the Ctrl keys defined that were not
- > "reserved" by TPU or VMS.
-
- ...And a few that *are* reserved by VMS. See below.
-
- >
- > Both Ctrl-X and Ctrl-U acted as gold keys.
- > Are these two keys tied together somehow?
-
- Yes.
-
- The VMS terminal driver uses ^U as an 'Un-type this line'
- key -- it deletes to the beginning of the line.
-
- ^X is a little more subtle: DEC uses ^X for the 'clear
- *all* pending input' key. If there is input in the
- type-ahead buffer, it is cleared. If there is nothing in
- the type-ahead buffer, then the terminal driver treats ^X as
- if it were ^U.
-
- As a matter of fact, when you press ^X, TPU will not see it.
- The terminal driver will pass a ^U to TPU. For proof, use
- the EVE command SHOW KEY, and press ^X. You will be told
- that "CTRL/U is defined as blah blah blah".
-
- All of this is on the assumption that you have a
- more-or-less normal terminal setup. I suspect that if you
- are running in PASTHRU or PASSALL mode (don't attempt this
- at home :-), the ^X will be passed as is.
-
- I hope this helps....
-
- -Tom Williams
- Computer Center Manager
- Alderson-Broaddus College
- WILLIAMS@AB.WVNET.EDU
-