Hi! In the case of Windows, from what I noticed, with GnuCOBOL installed, the necessary programs to generate the COBGDB executable are already available: gcc.exe and mingw32-make.exe. To generate cobgdb.exe in this case is very simple: a) Download the project (via zip or git) git clone https://github.com/marcsosduma/cobgdb.git b) Enter the directory: cd cobgdb c) Execute the command make: mingw32-make
Prof. Eugenio and Simon. OK! Thank you very much.
Hello! I understood that this function was implemented in version 3.2: https://sourceforge.net/p/gnucobol/code/HEAD/tree/tags/gnucobol-3.2/NEWS New system functions CBL_GC_SET_SCR_SIZE option to resize extended screen
Hello! I would like to know if there is any documentation or example on how to use this new function: * New system functions CBL_GC_SET_SCR_SIZE option to resize extended screen
Hi Simon! Thanks for your suggestion. I made the change: STRING "echo " FUNCTION TRIM (mail-body TRAILING) " | mailx -r " FUNCTION TRIM (mail-from-address TRAILING) " -s " FUNCTION TRIM (mail-subject TRAILING) " -a " FUNCTION TRIM (mail-attachment-filename TRAILING) " " FUNCTION TRIM (mail-to-address TRAILING) x"00" DELIMITED BY SIZE INTO mail-command.
Hello! I was testing the "send-some-mail.cbl" program on Orable Linux. Worked perfectly. I just had to add an x"00" at the end. string "echo " delimited by size mail-body delimited by size " | mailx -r " delimited by size mail-from-address delimited by size "-s " delimited by size mail-subject delimited by size " -a " delimited by size mail-attachment-filename delimited by size " " delimited by size mail-to-address delimited by size x"00" into mail-command. Thank you very much!
Hey! I'm working on a menu per profile and the screen is saved (scr_dump) at each choice and restored when returning to the previous item (scr_restore). However, after returning (when a restore is performed) and after choosing a new item, there is a problem rendering the screen. This problem only happens on windows (-lpdcurses), on linux using ncurses (-lncursesw) the problem does not happen. Any suggestion? Sorry for the bad english (code based on Prof. Eugenio's TUI) The texts on the screens are...
Hi Simon! Trying to follow your suggestion (on another forum), I managed to get this script that I'm using on Linux: /debug/external_debug.py import os from pathlib import Path import subprocess, signal import time import platform import gdb def read_num_terminal(): home = Path.home() fileName = os.path.join(home, ".numterm") if not os.path.isfile(fileName): return None file1 = open(fileName, "r") termName = file1.readlines()[0].strip() file1.close() return termName def isTermOn(): bTermIsOn = False...