Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!mvs.draper.com!seb1525 From: seb1525@mvs.draper.com ("Stephen E. Bacher") Newsgroups: comp.unix.aix Subject: Re: aixterm keyboard mapping Message-ID: Date: 27 Jun 91 23:51:00 GMT References: <280102B100000CE3@ccfvx3.draper.com> Sender: daemon@ucbvax.BERKELEY.EDU Lines: 42 >Newsgroups: comp.unix.aix >Subject: aixterm keyboard mapping >From: "Thomas D. Denier" >Date: Thu, 27 Jun 1991 14:15:44 EST >Lines: 15 > >I am a long-time user of 3270 terminals who has recently started using an >RS/6000 system. I am constantly pressing the Ctrl/Act key, which is located >where the Enter key is on 3270 keyboards, instead of the RS/6000 Enter key. >I suspect that a number of people on this list have the same problem and >would be interested in the solution. I initially tried using the xmodmap >command to make the Ctrl/Key look like the Enter key. This had unfortunate >side effects. It made the two keys indistinguishable as far as the x3270 >command (an X Window command that supports 3270 emulation in the manner of >tn3270, and supports both GDDM graphics and 3277 GA emulation). I ended up >changing the keyboard mapping only for the aixterm command. I did this by >adding the line: > >aixterm.Translations: Execute: string(0x0d) > >to my .Xdefaults file. I found that if I do "telnet mvs", where "mvs" is the host name of my IBM mainframe host, it automatically goes into tn3270 mode and uses the keyboard mappings in /etc/3270keys.hft. This maps the Ctrl/Act key to "Enter" and the Enter key to "return" (i.e. new line). On the other hand, if I do "tn3270 mvs", where "mvs" is the host name of my IBM mainframe host, it uses the keyboard mappings in /etc/tn3270keys.hft. This maps the Enter key to "Enter" and doesn't bind the Ctrl/Act key to anything. The colors are also different - again because the key mapping files used are different. You can override these mappings with a .3270keys file in your home directory. See the man pages for more information. This is on an RS/6000 model 320 running AIX 3.1. - SEB