Page 1 of 1
Running in the console
Posted: Wed Feb 26, 2025 8:59 am
by stevie1401
I want to run a program that requires graphics libraries in the console. That is, on a pure server system without window management. Is that possible?
Re: Running in the console
Posted: Wed Feb 26, 2025 1:52 pm
by Quin
If you have no graphics subsystem installed on the server whatsoever, no, I don't think so.
Re: Running in the console
Posted: Wed Feb 26, 2025 2:09 pm
by Piero
Quin wrote: Wed Feb 26, 2025 1:52 pmno, I don't think so.
I cannot resist: the more I know you Quin, the more you amaze me!
https://www.youtube.com/watch?v=j0QATqucjgE
Re: Running in the console
Posted: Wed Feb 26, 2025 2:22 pm
by Quin
I don't know entirely what this means or what it's supposed to represent, but it sounds like a compliment, so thanks?

This was a bit of a special case for me because I've been running Linux servers for somewhere around the last 5 years, starting around when I was 13/14, and the applications I ran under Wine showed Windows message dialogs like PureBasic's MessageRequester, and my job was to automate them with AutoIt. I used a virtual x display buffer to get around the no display buffer limitation on my VPS, and it may work for you as well, but it's been years at this point and now everything I run is on pure Linux with no fancy graphics display buffers needed.
Re: Running in the console
Posted: Wed Feb 26, 2025 2:49 pm
by SMaag
I want to run a program that requires graphics libraries in the console. That is, on a pure server system without window management. Is that possible?
Drawing commands (Line, Box ...) are not possile, only Character based drawing.
What you are looking for is a TUI Framework (Textbased User Interface). For PB I don't know such a programm.
Maybe your Tool would be FreePascal. I guess there is a package deliverd with the Lazarus IDE what is called 'ocrt' for such things.
Re: Running in the console
Posted: Wed Feb 26, 2025 2:51 pm
by Piero
Quin wrote: Wed Feb 26, 2025 2:22 pmI don't know
Yeah yeah… you probably missed the youtube link to "Samba Triste"…
Re: Running in the console
Posted: Wed Feb 26, 2025 3:10 pm
by Quin
Piero wrote: Wed Feb 26, 2025 2:51 pm
Quin wrote: Wed Feb 26, 2025 2:22 pmI don't know
Yeah yeah… you probably missed the youtube link to "Samba Triste"…
Nope, I saw it and listened to it, am just not entirely sure what that's supposed to represent or what it has to do with me knowing about virtual display buffers on Linux

Re: Running in the console
Posted: Wed Feb 26, 2025 3:24 pm
by Piero
Quin wrote: Wed Feb 26, 2025 3:10 pm
Piero wrote: Wed Feb 26, 2025 2:51 pm
Quin wrote: Wed Feb 26, 2025 2:22 pmI don't know
Yeah yeah… you probably missed the youtube link to "Samba Triste"…
Nope, I saw it and listened to it, am just not entirely sure what that's supposed to represent or what it has to do with me knowing about virtual display buffers on Linux
Ooh… you know about virtual buffers… that's amazing!

Re: Running in the console
Posted: Wed Feb 26, 2025 3:29 pm
by Quin
Piero wrote: Wed Feb 26, 2025 3:24 pm
Ooh… you know about virtual buffers… that's amazing!
You confuse me greatly sometimes

Re: Running in the console
Posted: Wed Feb 26, 2025 5:09 pm
by Kiffi
Please stay on topic.