4GL Function Keys Are Not Working

Technote (troubleshooting)


Problem(Abstract)

The termcap file supplied with IBM Informix 4GL contains entries for some function keys i.e. F1 - F10 but not others such as F11 and F12.

Symptom

The F11 and F12 function keys do not work.


Cause

The reason certain function keys do not work is simply that they may not be defined in the $INFORMIXDIR/etc/termcap file for certain terminal emulation's.

Environment

This problem can occur regardless of platform or environment.

Diagnosing the problem

To determine what characters are being used for a specific function key, one can use the following Unix utility:

$ od -c

You can then hit a function key such as F11 and it will output the characters is expects for that specific key. For example, here are the outputs for F11 and F12:

$ od -c
^[[23~
^[[24~

The above correspond to \E23 and \E24 respectively in the termcap file.

Resolving the problem

To resolve the problem, simply backup your existing $INFORMIXDIR/etc/termcap file and add the following entries under the appropriate terminal emulation to enable both the F11 and F12 function keys:

kA=\E23:kB=\E24

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Informix Tools
Informix 4GL

Software version:

7.5

Operating system(s):

AIX, HP-UX, Linux, Solaris

Reference #:

1626403

Modified date:

2013-02-22

Translate my page

Machine Translation

Content navigation