1821260 Members
2916 Online
109632 Solutions
New Discussion юеВ

HP Micro Focus Cobol

 
Mike Humenansky
Occasional Contributor

HP Micro Focus Cobol

Having trouble identifying when/what function keys are pressed in a cobol program. Have all the crt-status coded correctly and terminfo appears to be OK. Does anyone have any examples or possible solution to this problem. Need to identify all keys (PF1-4, F1-F12, Up/DOWN Arrows
etc).
Thanks
2 REPLIES 2
John Waller
Esteemed Contributor

Re: HP Micro Focus Cobol

Hi,

You mentioned that terminfo appears to be correct, but have you checked /usr/share/lib/terminfo_colr. We write a cobol application ourselves and even though I'm only an administrator and not an application programmer so I don't know the details, but I do know that we have our own modified terminfo setup with a term.src file which we use the tic command within terminfo directory and tic_colr within the terminfo_colr directory. (have a copy of the same term.src file in both directories)
Mike Humenansky
Occasional Contributor

Re: HP Micro Focus Cobol

Thanks. I also determined the keys were missing from the VT100 terminfo but were present in the other terminfo
files.