Free 14-Day Evaluations    
Product Downloads    

Sign in     


DESKTOP MOBILE DOWNLOAD PURCHASE SUPPORT INFO COMPANY
 Home  >>  Support  >>  Knowledge Base

Arrow Keys Change Definition

Using TERM on a DEC ALPHA system, the arrow key definitions changed. The TERM the emulation was set to TTY because the connection was UNIX to UNIX, no conversion at all.

After some digging, the end user discovered that the cursor keys were switching to application mode. Closing TERM resets the keys to normal cursor mode. The solution was:

  1. Copy /etc/termcap to /usr/term/termcap.mod.
  2. Change the following in /usr/term/termcap.mod for the console emulation type:

    ks=\E=ke=\E>ku=\E[Akl=\E[Dkr=\E[Ckd=\E[B3

  3. Set the TERMCAP environment variable to /usr/term/termcap.mod and export it:

    TERMCAP=/usr/term/termcap.mod;export TERMCAP

On starting TERM the keypad is turned on, but the arrow keys stay unaltered. TERM is looking at the keypad arrow keys, which now reflect the standard arrow keys.

Comments are closed.

  Copyright © 2024 Century Software, Inc. All Rights Reserved999 TERMS OF USE PRIVACY POLICY EULA