United States Argentina Australia Austria Belgium Canada Chile Colombia Costa Rica Dominican Republic France Germany Bangladesh/India Italy Kenya Mexico Netherlands Puerto Rico South Africa Sweden Switzerland Venezuela
BASIS International Ltd.
Home | Site Map | Contact Us | Partner Login  

 













BASIS Knowledge Base Article #01048

Title:

Function Keys return question marks and/or graphics do not display correctly under Linux

Description:

There are two different versions of Linux termcap codes for function/edit keys. Using the wrong one will cause the keys to generate question marks instead of the desired function mappings.

Confirm that the environment variable TERM is set to Linux and TERMCAP is pointing to the directory location of the termcap file that BASIS ships with Pro5/BBj products. Also confirm that the terminal emulation package is set to the correct display type. Please refer to the following documentation for BBj regarding Linux and character sets:

http://www.basis-documentation.com/ide/character_sets_and_encoding.htm

Check the termcap entry after confirming the above information has been set if the behavior continues use the alternate termcap entry.

Here's one set:

:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
:kl=\E[D:kr=\E[C:ku=\E[A:

and here's an alternate set:

:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
:kh=\E[H:kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:



Last Modified: 07/12/2004
Product: BBj
Operating System: Linux