From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1070f0,cbc28315911230ae,start X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,cbc28315911230ae,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-22 19:18:23 PST Newsgroups: comp.sys.dec,comp.sys.sun.admin Path: bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!convex!convex!constellation!rex!ben From: ben@rex.uokhsc.edu (Benjamin Z. Goldsteen) Subject: Re: Keymapping problem in DECterm window running on Sparc 10 Message-ID: Date: Fri, 23 Sep 1994 01:25:11 GMT Reply-To: benjamin-goldsteen@uokhsc.edu References: <1994Sep21.131823.1920@gems.vcu.edu> Organization: Health Sciences Center, University of Oklahoma Xref: bga.com comp.sys.dec:5983 comp.sys.sun.admin:16131 lsgriffith@gems.vcu.edu writes: >Hi, >I am running OpenWindows on a Sparc 10 with a type 5 keyboard. When I start >up a DECterm window (using the startx program on a VMS box) my backspace key >will not do a backspace/delete. It instead moves my cursor back to the >beginning of the line without erasing anything. My del key does a backspace/ >delete but it is annoying to use. Does anyone out their know how to fix >this? Is there anything in VMS similiar to the stty command or xmodmap in ^^^^no ^^^^^^^yes You don't really need to run xmodmap on the VMS side -- just use the UNIX version already on your Sun. That will take effect for all clients connecting to your X11 server. Of course, all your other clients must be able to work with the new Backspace/Delete layout. I am not sure how DECwindows apps that already understand BackSpace will work when you exchange the two keys. If they don't like the switch, you can reprogram them via XmText.translations (or something like that. I know I once got something like this working with VAX VMS DECwrite displaying to an SGI system, but I don't have the exact resources handy...I can look them up for anybody interested.) >unix? I am particularly puzzled because when I start a DECmail window (again >using startx), and I edit a mail message, my backspace key works fine. I think the difference is that DECwindows (Motif) can automatically handle this (and thus the normal apps. like DECwrite, DECmail, etc work correctly), but DECterm handles the keyboard at a different layer that doesn't do this remaping for you. I am not sure how to get DECterm to do this either. I can't believe the functionality isn't there, but I just can not find the place (I assume some X11 resource) to set it. I have found this most frustrating. The preferable solution in my opinion would be to fix the VMS terminal driver to be able to remap these two keys and thus talk to a large number of existing machines much better. Another workaround is to use "xterm -name VMSterm -e telnet vms". Then create translation resources that remap the BackSpace/Delete keys for VMSterm. The drawback of this method is that a) you don't get to use the nifty DECterm; b) you tie up a tty on your system; c) you have to type your login/password everytime you login to the VMS system; d) if your X11 server is a Xstation, you will have to go through an intermediary UNIX host to get to the VMS host. On the other hand, I think it might save some network traffic (X11/XTerm traffic versus TELNET traffic). Best regards, >All constructive responses would be greatly appreciated! >Thanks in advance, >Livia >P.S. I have tried using OPTIONS/KEYBOARD but this only disables/enables my > delete key and has no effect on my backspace key. P.S.The OSF/1 version of DECterm can be made to work. However, the DECterm that came with our version of VMS DECwindows does not respond to the resource that the OSF/1 version does. P.S.S.I would appreciate any additional solutions that you find! -- Benjamin Z. Goldsteen