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: Chris Geldenhuis
Subject: Re: [open-cobol-list] Recognition of Tab and Escape keyboard characters
Date: Tue, 01 May 2012 18:32:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3

On 04/30/2012 11:32 PM, Brian Tiffin wrote:
On Mon, 30 Apr 2012 16:36:58 -0400, Chris Geldenhuis
<address@hidden>  wrote:

On 04/30/2012 08:15 PM, Brian Tiffin wrote:
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

Thanks Brian,

The manual that I read said to set these variables to "any non-blank"
character, I was setting them to "1" and it was not working. After
setting them to "Y" I can pick up an escape. I will see if I can find
the discussion to the screenio.c tweak. Do you perhaps have a pointer to
it?
Seems the patch file is pending, as mrcool may be waiting for the
1.1pre-rel posting to SourceForge, which I'll likely do over the next
couple of days, as it so happens.

http://www.opencobol.org/modules/newbb/viewtopic.php?topic_id=1470&forum=1#forumpost7541

Cheers,
Brian


Hi Brian

I would really appreciate it if I could get the tweak before that as I am converting at the moment and hope to be in full blown testing before the weekend.

Regards

ChrisG





reply via email to

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