[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] For discussion: patch to get some terminal infoand
Re: [open-cobol-list] For discussion: patch to get some terminal infoand do scrolling
Thu, 8 Jan 2009 23:53:46 +0100
Hello Bill and All,
As a professional Cobol Developer using ACU I would very welcome the
addition of the IS EXTERNAL FORM syntax of ACU Cobol.
I do remember such feature from my mainframe time, somewhere in the
seventies, when programmable terminals sent formatted data.
I am using this feature extensively to run Cobol programs under a web
The trick is, that the IS EXTERNAL FORM refers to a group item with
elementary items describing the fields of the form, which is nowadays
a html form with post method.
ACU Cobol uses a C-library to convert the post-parameters using the
fieldnames into the data description during ACCEPT.
The DISPLAY proces simply calls a html template file and parses in a
similar way the data into the page.
I would expect that a similar C-library would exist somewhere?
See also an older post of John Culleton and yogibear:
What do you think?
wim niemans ri
Op 8 jan 2009, om 23:07 heeft Bill Klein het volgende geschreven:
Just a warning to those not familiar with AcuCOBOL extensions. They
EXTENSIVE extensions to Accept/Display/Screen section that include
everything needed up to and including "GUI's" via Accept/Display.
It is pretty impressive, but once you start adding support for some,
find demand for all of it. I would suggest looking at the full syntax
before deciding which (if any) to include in OpenCOBOL.
To the best of my knowledge, NO other implementer has actually
picked up the
AcuCOBOL syntax. On the other hand, since they were acquired by
it is POSSIBLE (I just don't know) that you may see some of this in
"native" MF compiler (to assist with migration from AcuCOBOL to MF -
their Dialog Systems extensions)
From: Ulf Dambacher [mailto:address@hidden
Sent: Thursday, January 08, 2009 2:56 PM
Subject: [open-cobol-list] For discussion: patch to get some
terminal infoand do scrolling
Just for discussion: enclosed you find a patch to OC 1.1 wich
following syntax extensions:
1) ACCEPT field FROM TERMINAL SCREEN_COLUMNS
2) ACCEPT field FROM TERMINAL SCREEN_LINES
3) ACCEPT field ... [ SCROLL [UP / DOWN ] [ BY n [_LINES ]] ...
4) DISPLAY field ... [ SCROLL [UP / DOWN ] [ BY n [_LINES ]] ...
Somehow one has to figure out how many lines/cols the screen has.
We don't have fixed size terminals anymore .-(
Acucobol has this syntax:
ACCEPT structure FROM TERMINAL-INFO
and a copy library for working storage to put some information about
screen lines, color usage, highlight etc.
Can we copy this 1:1 without copyright probelems?
Shall we have our own syntax?
Currently we can't do scrolling in OC. I found there are
in different compilers.
Acucobol scrolls if one moves to the last line, last column
something. Also they have a syntax like this to do
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
open-cobol-list mailing list