QB64 Phoenix Edition
raspberry PI and _Dest _console - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: raspberry PI and _Dest _console (/showthread.php?tid=2267)



raspberry PI and _Dest _console - Jack - 12-20-2023

_Dest _Console doesn't work on my Pi, I am guessing that it silently launches a non-existing terminal with the result that nothing happens
the Pi's terminal is lxterminal, can one of the QB64pe developers point me to where in the source code I need to make the change?


RE: raspberry PI and _Dest _console - SpriggsySpriggs - 12-20-2023

_Dest _Console just makes print and loc commands affect the console output, it doesn't call a console up. You should run the program on your Pi in a terminal window, I think. Using $CONSOLE on Windows would make one appear but I do not think that works on Linux.


RE: raspberry PI and _Dest _console - Jack - 12-20-2023

I have $Console:Only before _Dest _Console
maybe one of the developers will chime in and clarify


RE: raspberry PI and _Dest _console - DSMan195276 - 12-20-2023

`$Console` and `_Dest _Console` just causes your program to write to standard-out and read from standard-in, it doesn't launch a terminal emulator. If you want to see the output of the process then you have to start a terminal and run the executable in it.

If you're running the program via the IDE and hitting F5, we don't launch your program inside of a terminal so you won't see the console output without running the executable yourself. Potentially we could give that as an option since it would be a bit handy, but currently it's not there.


RE: raspberry PI and _Dest _console - Jack - 12-20-2023

Ok, thanks Smile