lazlom : what Iainr is saying is right : you should try using other terminal definitions, find one (probably vt220, I guess) which whould have the correct definition for the right arrow. Instad of trying to difine by yourself the keymaps, simply try to type "TERM=vt220; export TERM", and see how your application behaves. If it does not work correctly, try another terminal definition.
Another possibility : how are you connecting via telnet ? Are you using a PC with an X-term emulation ? then, have a look at the terminal emulation settings. For instance if you are using Putty, you should quote "XtermR6" keypad or "Linux" keypad.
Regards
zorba
Last edited by zorba4; 06-22-2004 at 05:56 AM.
|