It compiles fine and when I run it without the debugger it shows a console type window, as it should.
So there normally shouldn't be a console window appearing, even in non-debug mode? That's quite strange, but here's a screenshot of what appears when I run my app (see attachment).
This is running without any debugger (Environment > Options > Debugger > None). Also notice that I started the application through Lazarus!Appears to be an XTerm terminal application, that handles all the reading/writing.So my question now is, what is the best way to "divert" all the I/O operations through some sort of terminal-like program while debugging, because I still need to do some user interaction you know.
Another option is in the Tools or Environment menu, under "Options" > "debugger" you find an object ispector like grid, that allows to set a "console tty"Open a terminal (outside lazarus), and run "pty" , you get something like /dev/pty1Enter that as config, and your apps in/output go to that terminal.
If so you will need to use a snapshot 0.9.31; not 0.9.30.x