Screenio backspaces before displaying fields. If two fields are adjacent, the first character of the second field overwrites the last character of the preceding field. For example, this screen section (adapted from the example for bug 35):
::cobol
screen section.
01 OffD-Maint-Scrn-Skills-SMenu
BACKGROUND-COLOR 1 FOREGROUND-COLOR 2.
05 BLANK SCREEN.
05 LINE Window-UpperLeft-Corner-Line
COL Window-UpperLeft-Corner-Column
VALUE "1234".
05 value "567".
05 value "8".
05 value "9".
displays "123569".
A potential patch is attached.
Bugs: #246
Discussion: 2.0 might be leaving out spaces in the screen section
Discussion: SCREEN SECTION - POSITION ERROR
Sample program is attached.
Hi
Sorry for my stupidity. I downloaded the patch but I don't know how to apply it. Is it possible to just copy and paste the C code somewhere in screenio? Or could you point me to a tutorial?
-Patrick
P.S this shoud have been arressed to Louis, sorry Louis
Last edit: PatMcC 2014-11-12
No problem to ask here. Patchfiles can be applied with the patch command in linux
and then either (like in this case)
or
(the second "patch" is the downloaded patch file), maybe check the first nice diff/patch tutorial I've stumbled upon.
In Windows I personally use WinMerge or TortoiseMerge if I'm currently not in MSYS/MinGW or cygwin where using the patch command is likely.
Simon
BTW: This wasn't posted to the mailing list (at least I didn't received it via the list).
This bug is no longer present as of [r888].