Debugger enabled build exits immediately if launched from msys using rxvt or console.
This is because AllocConsole() doesn't initialize standard handles for the console. PDCurses needs standard handles to the console but doesn't check for them. It uses invalid handles and causes DOSBox to exit.
Attached patch seems to solve the problem.
Hi etillite,
Do you know if this is (also) the cause for the error message "LINES value must be >= 2 and <= 2: got 1. initscr(): LINES=1 COLS=1: too small." ?
regards,
Ronald
Hi Ronald,
As far as I know, the error message was probably caused by:
incorrect values of environment variables LINES and COLS
or
invalid handle, handle returned by GetStdHandle(STD_OUTPUT_HANDLE) is not a handle to console screen buffer and/or has not necessary access rights
regards,
Laszlo