From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,39263c89c8943305 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,39263c89c8943305 X-Google-Attributes: gid1164f8,public From: jhjennis2@mmm.com Subject: Re: VMS keypad stuff and Xterminal Date: 1995/11/22 Message-ID: <48v2og$kt6@dawn.mmm.com>#1/1 X-Deja-AN: 119874425 references: <48s0bg$j23@rzsun02.rrz.uni-hamburg.de> organization: 3M - St. Paul, MN 55144-1000 US newsgroups: comp.os.vms,comp.sys.dec Phillip Helbig writes: > > Sometimes I have to log into a VAX from an X-terminal on a UNIX > machine. ("have to" refers to being on an X-terminal on a UNIX > machine, not logging into the VAX:). That means I have some > windows doing a lousy VT100 emulation with the tcshell running > and so on and TELNET to the VAX. I made sure that my keyboard > has, with some minor exceptions regarding additional keys that > I don't use, the same layout as a VT220. > > What I want is for the keypad in MAIL, EDT and in the debugger > to behave like it should. I don't care how this problem is > solved, as long as it is. I'm not concerned with the fact that > it might influence the layout on the UNIX machine, since there > I only use the keypad for entering numbers fast, so in that > case it should behave like it does at the DCL prompt. > > Now, in MAIL and in EDT, the keys 0-9 do nothing, . , > - and , are . - and , (though just prints > a ^M if I am in the EDT command line (not invoked with ^Z)) and > PF1--PF4 work exactly as they should. > > Surely someone has a fix for this, with xmodmap or whatever. > The important thing is that the keypad is always correctly > defined, when I switch from EDT to MAIL to the debugger to DCL. > What kind of X-terminals/X-server are you running?? We have NCD X-terms and this is not a problem for us. I use the xev program that NCD provides on VMS (you could use it on unix too) to see what the keys are sending and then use an xmodmap command in my login command file to remap keys so that they are correct. This works well, unfortunately, once the keys are remapped and you terminate the VMS sessions, they stay remapped, so you have to be careful which keys you remap so that you don't hose your unix sessions. A particularly annoying problem is the use of s or q by unix apps such as emacs....Anyway, if you do this and a set term/perm/application_keypad, it should work for you. The absolute WORST situation is having to deal with HP-UX----somehow HP has the mistaken notion that their keyboards/mappings are a world standard.....unlike the rest of the world...(including Sun) who realize that robust VT-100 support IS a de-facto worldwide standard! Regards, Jim Jennis, Systems & Network Mgr. 3M Corp. Printing & Publishing Systems Div. Middleway, WV. USA. Internet: jhjennis2@mmm.com