From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2d8f2b873597d207,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,2d8f2b873597d207,start X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1992-09-25 08:42:53 PST Xref: sparky comp.sys.hp:10912 comp.sys.dec:5223 Path: sparky!uunet!hela.iti.org!usc!hacgate!mobej From: mobej@thaad-1g%hac2arpa.hac.com (Mario Obejas) Newsgroups: comp.sys.hp,comp.sys.dec Subject: Communicating with a VAX/VMS using 46021A keyboard Message-ID: <23441@hacgate.SCG.HAC.COM> Date: 25 Sep 92 16:57:15 GMT Sender: news@hacgate.SCG.HAC.COM X-Newsreader: Tin 1.1 PL4 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.