gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Recognition of Tab and Escape keyboard characters


From: Brian Tiffin
Subject: Re: [open-cobol-list] Recognition of Tab and Escape keyboard characters
Date: Mon, 30 Apr 2012 14:15:00 -0400
User-agent: Opera Mail/11.62 (Linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]