Running in the console

Just starting out? Need help? Post your questions and find answers here.
stevie1401
User
User
Posts: 82
Joined: Sat Oct 18, 2014 7:14 am

Running in the console

Post 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?
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Running in the console

Post by Quin »

If you have no graphics subsystem installed on the server whatsoever, no, I don't think so.
User avatar
Piero
Addict
Addict
Posts: 1040
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Running in the console

Post 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
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Running in the console

Post by Quin »

Piero wrote: Wed Feb 26, 2025 2:09 pm
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
I don't know entirely what this means or what it's supposed to represent, but it sounds like a compliment, so thanks? :D
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.
SMaag
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

Re: Running in the console

Post 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.
User avatar
Piero
Addict
Addict
Posts: 1040
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Running in the console

Post 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"…
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Running in the console

Post 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 :wink:
User avatar
Piero
Addict
Addict
Posts: 1040
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Running in the console

Post 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 :wink:
Ooh… you know about virtual buffers… that's amazing! ;)
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Running in the console

Post 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 :oops:
User avatar
Kiffi
Addict
Addict
Posts: 1509
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Running in the console

Post by Kiffi »

Please stay on topic.
Hygge
Post Reply