Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Communicating with a VAX/VMS using 46021A keyboard
@ 1992-09-25 16:57 Mario Obejas
  0 siblings, 0 replies; only message in thread
From: Mario Obejas @ 1992-09-25 16:57 UTC (permalink / raw)


We have a het net with HP 720s and a VAX mainframe. The Vax wants a destructive
backspace to be a DEL (^?). My 46021A keyboard broadcasts a BS (^H).

Ideally I could create a window, the key map only in that window, and then log
on to the Vax in that window. I tried this but was not really successful. If I
change it in that window it changes it for all of my windows.  I have to be
able to have the HP Backspace mapped back to ^H in my HP window and ^? in my
VAX window. 

So I thought about it and experimented until I tried the following. My premise
was that the keymappings would be correct if changed by a child process that
goes away. What I do is execute 

xterm -e telnet.csh

where telnet.csh is

#!/bin/csh
#
# telnet.csh 
#
xmodmap -e "keycode 101 = Delete"
#
xterm -sb -sl 1024 -e telnet vaxhost &
sleep 30   # 30 seconds to login
xmodmap -e "keycode 101 = BackSpace"
exit

This causes me to have a Vax window running as a background process of a child
hp process which goes away in 30 seconds.  This works 95% of the time.
Honestly, the other 5% of the time, the Backspace key reverts to ^H within the
VAX window (which positions the cursor at the BOL). 

Any thoughts about why the behavior is inconsistent? 

No pride issue, if you have a better solution, I'm all ears.

Next up: getting EDT/TPU to work in the VAX window with the correct keypad
keys. If you've done it, please let me know how.

--
Mario Obejas    mobej@thaad-1g.hac.com    (714) 732 2954
                mobejas@hac2arpa.hac.com   if the above doesn't work
Hughes Aircraft 618/Q211, P.O. Box 3310, Fullerton, CA 92634
ex-THAAD sysadmin: will work for food or Internet address
Disclaimer: my opinions are mine, not necessarily my employer's.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-09-25 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-09-25 16:57 Communicating with a VAX/VMS using 46021A keyboard Mario Obejas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox