Just a warning to those not familiar with AcuCOBOL extensions. They
have
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,
you may
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
Micro Focus
it is POSSIBLE (I just don't know) that you may see some of this in
the
"native" MF compiler (to assist with migration from AcuCOBOL to MF -
without
their Dialog Systems extensions)
-----Original Message-----
From: Ulf Dambacher [mailto:address@hidden
Sent: Thursday, January 08, 2009 2:56 PM
To: address@hidden
Subject: [open-cobol-list] For discussion: patch to get some
terminal infoand do scrolling
Hi
Just for discussion: enclosed you find a patch to OC 1.1 wich
implements
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 ]] ...
to 1+2:
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?
to 3+4:
Currently we can't do scrolling in OC. I found there are
different ways
in different compilers.
Acucobol scrolls if one moves to the last line, last column
and displays
something. Also they have a syntax like this to do
scrolling explicitly.
Ulf
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list