LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting Keypad Application Mode (https://www.linuxquestions.org/questions/linux-software-2/setting-keypad-application-mode-720463/)

Thomas Wagner 04-20-2009 01:22 PM

Setting Keypad Application Mode
 
I have tried two methods to set the keypad in application mode.

First method was by using the escape sequence \033=.

Second mehtod was by calling keypad(stdscr, TRUE) in C.

In either case when issue the read with getchr and press the
enter key on the keypad I '\r' which means the keypad application
mode was not set.

Can anyone give a clue on how to get this to work? Everything I
read on the internet indicates that both methods should work.


All times are GMT -5. The time now is 11:57 PM.