Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!husc6!rice!sun-spots-request From: gfr@cobra.mitre.org (Glenn Roberts) Newsgroups: comp.sys.sun Subject: Re: Arrow keys and Type 4 keyboard Keywords: Hardware Message-ID: <4145@kalliope.rice.edu> Date: 27 Jun 89 12:10:28 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 33 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 53, message 7 of 17 Ref: v8n50 > > ..previous discussion regarded fact that the termcap entries for the > > type 'sun' differ on the 386i and the Sun-3/4 and the problem this > > causes (arrow keys don't work) when rlogged in from the 386i. > > Suggested fix was to invent a new terminal type: > > Change the Type-4 line to: > > M$|sun-t4|Sun Microsystems Workstation type 4 keyboard:\ > ^^ ^^^^^^ > These identifiers aren't used yet. > > Set your terminal type accordingly. Yes, but the problem is that I am not the administrator on many (most?) of the Sun 3/4 systems I deal with. Inventing a new terminal type means that I would have to convince everyone I deal with to put that entry into their termcaps and to do so on all new machines as they are installed. I have been told that 'setkeys noarrows' is supposed to do what I want, but the 'setkeys' program is not available on the 386i (no it is not in /usr/old or the 'old' cluster). The replacement for 'setkeys' is supposed to be 'loadkeys', but as far as I can tell, loadkeys would only let me change which key produces the logical function 'uparrow' - what I need to do is change the meaning of 'uparrow' from \E[215z to \E[A. Likewise for the other arrow key functions. There's got to be an easy way to do this. Does anyone out there log into a Sun 3 or 4 from their 386i? Do arrow keys work for you? - Glenn Roberts, MITRE groberts@mitre.org