Arrow keys and Type 4 keyboard

Glenn Roberts gfr at cobra.mitre.org
Tue Jun 27 22:10:28 AEST 1989


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 at mitre.org



More information about the Comp.sys.sun mailing list