From: lmineiro on 29 Nov 2006 07:06 Hi, I have the hard task of making a legacy cobol application that was running on a DEC alpha with linux work on a x86 box running centos linux (the freee variant of Redhat enterprise linux). After many shell scripts edited, some TERM's experimented I'm now able to start the application in full color, use the function keys and even the Up and down directional keys. The only keys NOT working are the left/right keys. I've tried it all... infocmp in that old alpha says kcub1 is ^K and kcuf1 is ^Y (from my head, not sure), in the new x86 they are \E]D and \e]C, got the values from vi (using the Ctrl+V thing). I tried to set the TERMINFO envvar to a temp dir, infocmp > myterm.ti, changed those values (kcub1, kcuf1) to the diff values I've seen but they never worked. I've tried using putty and the old software that was being used to access the alpha -- AniTA, none of them work. I've also insisted on vt220 (this is the value reported by "echo $TERM" when I login to the alpha) and then started experimenting others like xterm, xterm-color, linux, at386, ansi, etc... There must be a really easy way of making those keys work, anyone could help me? Thanks in advance.
|
Pages: 1 Prev: Rather Polite of Him, Wouldn't You Say? Next: Micro Focus Net Express 5.0 |