For Programmers: Free Programming Magazines  


Home > Archive > Cobol > November 2006 > RM/COBOL 6.61.00 for Linux and terminfo









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RM/COBOL 6.61.00 for Linux and terminfo
lmineiro

2006-11-29, 7:55 am

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.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com