VOGONS


First post, by Kresimir

User metadata
Rank Newbie
Rank
Newbie

Is it possible to configure DOSBox on Linux to run as a shell inside a terminal emulator (like Konsole, Alacritty, st, xterm), instead of using its own console window?

I would like to be able to just type `dosbox` and get the DOSBox command prompt inside the same terminal window, just like running a new bash session:

$ dosbox
Z:\>_

Also, would it be possible to do that in the TTY?
(of course, running graphical programs wouldn't be possible, but for text mode programs only)

Reply 1 of 3, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Not regular DOSBox because it doesn't output anything besides the logging info to stdout/stderr, everything shown in the output window is graphics.

Reply 2 of 3, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Anything is possible if you're willing to make your own massive rewrites to the source code.

In theory you can use SDL to suppress the creation of the DOSBox window and specify commands for DOSBox to run on the command line, but people haven't always had much luck with that. See DOSBox console mode. .

Reply 3 of 3, by Kresimir

User metadata
Rank Newbie
Rank
Newbie

That's a pity, because it would have been really awesome to use it that way. Oh well...

Anything is possible if you're willing to make your own massive rewrites to the source code.

That's a bit too ambitious for my skill level, I'm afraid. But I'll look into the link you have provided. However, if it is true that it does not output anything to stdout except logging, then there is not much hope to make it interactive.