Main Menu

KB#00232-Remapping the arrow keys in the termcap file, using a Wyse 60 as an example

Title:

Remapping the arrow keys in the termcap file, using a Wyse 60 as an example

Description:


# The following lines in the "wyse60-bb" termcap entry re-load new 
# values into the arrow keys: 

:i3=\EZ0-\EA\177\EZ0.\EB\177\EZ0+\EC\177\EZ0,\ED\177: :r3=\EZ0-^H\177\EZ0.^L\177\EZ0+^K\177\EZ0,^J\177:# 
# Then, the following cursor definitions define the arrow keys as 
# having the new values: 

:kl=\EA:kr=\EB:ku=\EC:kd=\ED:# 
# :kl= (cursor left) :kr= (cursor right) 
# :ku= (cursor up) :kd= (cursor down) 

# So, to return the Wyse 60 to it's original arrow key values, 
# take out the :i3= and :r3= lines; and then re-define the arrow 
# key definitions to default values: 

:kl=^H:kr=^L:ku=^K:kd=^J:# 

# Now the left arrow will act as the backspace key. 




Last Modified: 12/29/1997 Product: PRO/5 Operating System: Unix

BASIS structures five components of their technology into the BBx Generations.

View BASIS LinkedIN Profile Visit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel