On Mon, 30 Apr 2012 13:30:56 -0400, Chris Geldenhuis
<address@hidden> wrote:
Hi,
I am involved in converting a suite of programs to Open Cobol but am not
able to terminate ACCEPT fields with Tab or Escape characters. These are
used extensively in the current user interface so I would prefer to
stick with them rather than change to function keys and have to retrain
100 users.
Any Ideas will be welcomed.
Did you see
http://opencobol.add1tocobol.com/#does-opencobol-support-screen-section ?
Both environment vars need to be set (which can be done in COBOL as long
as it's before you trigger cureses)
SET ENVIRONMENT 'COB_SCREEN_EXCEPTIONS' TO 'Y'
SET ENVIRONMENT 'COB_SCREEN_ESC' TO 'Y'
There was a small discussions about a tweak to screenio.c that allowed
other terminators as well, if I remember correctly.
Cheers,
Brian
Regards
ChrisG