Hello,
I am trying to use an application that uses ncurses on RedHat 8 and I am having problems related to the keymapping specially the backspace, PageUp, PageDow, delete, etc keys.
Testing with a well knwo package that uses curses, like "mc" the behaviour is different depending of the emulation. In "xterm" the "PageUp", "PageDown", "delete", .. does nothing. It works fine with "vt100".
Any suggestions?
Thanks in advance
Hi Jose,
running RH 8.0 with version 2.12 of AbsoluteTelnet and it works great. I have tested "mc" and I get all the PgUp/PgDown etc. My settings are:
(From VT Options tab):
VT Keypad
Output is 7 bit
XTerm
XMousing (Allow remote mouse enabled)
(From appearance):
Translation: UTF-8
Running over SSH connection.
If you do a "echo $TERM" on the Linux-system, is the response from the system the same as set in the Preferences?
/msa
[size=1][ April 11, 2003, 02:58 AM: Message edited by: Mattias Sandstrom ][/size]
Hello Mattias,
Yes, it works. I also have tested that. The problem arises when you need to use a program que uses "ncurses" and need to use the keypad keys.
So far I have been unable to edit any entry made with fields (curses fields) as it seems that the definition of the string of characters associated with those keys are not the right ones.
In short, I can not delete a character or even move right or left along a field.
I have some programs, in source, for testing if you are interested.
Thanks for your prompt reply.
Hi Jose,
if it is OK with you, I can give it a try and compile the program on my systems, RedHat 7.x and RedHat 8.0 running English version and see if it will work here. Use the "Send Private Message" feature or direct me to an URL.
Sincerely,
/msa
Thanks, Mattias for answering so quickly, but I believe the issue revolves around the 'VT Keypad' setting.
With 'VT Keypad' enabled the keypad behaves like a VT100(and compatible) keypad, which sends sequences to the host that are specific to the VT NUMERIC KEYPAD and have *no* relationship to the extended keys(up, down, left, right, home, end, pgup, pgdn, ins, del clustered between the keypad and the keyboard).
Your solutions are to:
1. Use the extended keys instead
2. Disable 'VT Keypad' to make the keypad operate in the manner you'd expect a PC to operate. (Make sure num lock is off for cursor functions to work)
Hello Brian and Mattias,
Thanks for your help. I already soved the problem usign "VT Keypad and setting "7 bits".
Glad to hear!