Arrow keys and Type 4 keyboard

Maarten Litmaath mcvax!cs.vu.nl!maart at uunet.uu.net
Sat Jun 17 07:17:01 AEST 1989


gfr at cobra.mitre.org (Glenn Roberts) writes:
\... On a system with a Type-3 keyboard we find:
\
\Mu|sun|Sun Microsystems Workstation console:\
\
\	(stuff here ...)
\
\	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
\
\	(more stuff ...)
\
\but on my system with a Type-4 keyboard (a Sun 386i) there are different
\definitions for key up, key down, key right, key left:
\
\Mu|sun|Sun Microsystems Workstation console:\
\
\	(stuff here ...)
\
\	:ku=\E[215z:kd=\E[221z:kr=\E[219z:kl=\E[217z:\
\
\	(more stuff ...)

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.
-- 
"I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam:
   they're small."  (Stephen Savitzky)    |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.sys.sun mailing list