VOGONS


First post, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

Hi,

Is it possible to use dosbox over ssh, but without a X display?
I.e. Only permit text modes in dosbox, and therefore dosbox would only have to send ascii code updates to the screen, instead of bitmaps when the screen gets updated.
Something like a ncurses output for dosbox, instead of vga would be nice.

Reply 1 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Even text mode uses (has to use) a graphical surface in dosbox, so this won't work as is.

Reply 2 of 13, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Why do you want to do this?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 3 of 13, by leileilol

User metadata
Rank l33t++
Rank
l33t++
MiniMax wrote:

Why do you want to do this?

It'd be cool to play text games in pure text mode. Dosemu already has support for this as a dumb terminal "video card".

apsosig.png
long live PCem

Reply 4 of 13, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
leileilol wrote:

It'd be cool to play text games in pure text mode.

Why would you want to play in pure text mode?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 5 of 13, by leileilol

User metadata
Rank l33t++
Rank
l33t++
MiniMax wrote:
leileilol wrote:

It'd be cool to play text games in pure text mode.

Why would you want to play in pure text mode?

Why require the start of an X server to just only play text mode games?

apsosig.png
long live PCem

Reply 6 of 13, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Why not?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 13, by leileilol

User metadata
Rank l33t++
Rank
l33t++

What if you can't? (Xserver compile bug, long offline professional corporate support delays)

apsosig.png
long live PCem

Reply 8 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Bad luck then, use dosemu.

Reply 9 of 13, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

I want this because I have a DOS program that only used text mode. I am currently running it remotely over an X session, but it uses a lot of bandwidth on the network. dosemu is not able to run this application for some unknown reason.
If dosbox could instead only send the text chars from the text mode, much less bandwidth could be used. I know that when a VGA card is run in text mode, the characters are stored in video memory as chars, and not bitmaps.

Reply 10 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If dosbox could instead only send the text chars from the text mode

Then you need to program that.

Reply 11 of 13, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

ctty comes to mind

1+1=10

Reply 12 of 13, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
jcdutton wrote:

I am currently running it remotely over an X session, but it uses a lot of bandwidth on the network.

Ahh!!! FINALLY valid reason for wanting to use text-mode only instead of "It would be cool!!!"

I am not up to date on how well X-traffic is normally compressed, but check if you have an option somewhere in the X-server for compression.

If not, try running your X-session over an SSH-tunnel with compression enabled in SSH.

Or, try VNC. VNC might be more effective when it comes to screen updates.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 13 of 13, by ninjalj

User metadata
Rank Newbie
Rank
Newbie

You can try nx for X compression. Also, there's always ssh -X -C, which does deflate compression, IIRC