[7652] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.2R: termcap

daemon@ATHENA.MIT.EDU (ellis@ATHENA.MIT.EDU)
Wed Jun 12 13:33:45 1991

From: ellis@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 12 Jun 91 13:33:33 EDT

System name:		rho
Type and version:	CVAXSTAR 7.2R (1 update(s) to same version)
Display type:		SM

What were you trying to do?
       Use the numeric keypad in a third party software package


What's wrong:
       The xterm termcap entry contains "ks=\E[?1h\E=" which on an xterm forces
       a switch to the  application keypad. Instead of getting the numeric
       keypad, the application gets various letters.

What should have happened:
        According to documentation, "ks" is used to turn on the keypad, if
        it can be switched on and off. It does not mention anyhting
        about alternate keypads.

Please describe any relevant documentation references:

        from "man 5 termcap":

TERMCAP(5)          UNIX Programmer's Manual           TERMCAP(5)

     Keypad

     If the terminal has a keypad that transmits codes when the
     keys are pressed, this information can be given.  Note that
     it is not possible to handle terminals where the keypad only
     works in local mode (this applies, for example, to the
     unshifted Hewlett-Packard 2621 keys).  If the keypad can be
     set to transmit or not transmit, give these codes as ks and
     ke.  Otherwise the keypad is assumed to always transmit.

home help back first fref pref prev next nref lref last post