VOGONS

Common searches


First post, by ixfd64

User metadata
Rank Newbie
Rank
Newbie

This is a very minor issue, but I noticed that there is no padding between the DOSBox environment and the container: https://upload.wikimedia.org/wikipedia/common … _screenshot.png

You can see that the Z:\> prompt is completely pressed against the border with no space in between. This isn't a big deal except it's (excuse the OCD) mildly irritating. Is there a way to adjust this?

In comparison, most Linux terminals have a small padding and look much nicer: https://www.howtogeek.com/wp-content/uploads/ … l-on-ubuntu.png

http://facebook.com/ixfd64

Reply 1 of 5, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Normally it would be:
prompt $P$G
press spacebar after G and hit enter

but DOSBox doesn't support the prompt command.

You can try loading DOS command.com, see if FREEDOS has a seperate prompt executable, see if 4DOS has the ability to change the prompt or change the DOSBox code and compile a new binard.

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 5, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
DosFreak wrote:
Normally it would be: prompt $P$G press spacebar after G and hit enter […]
Show full quote

Normally it would be:
prompt $P$G
press spacebar after G and hit enter

but DOSBox doesn't support the prompt command.

I don't think that's what the OP is referring to. "set prompt=$p$g" just displays the path in the command prompt, but DOSBox already does that by default. (Otherwise, there would be a "Z>" prompt instead of a "Z:\>" prompt.)

I believe the OP is simply referring to the space between the DOSBox text and the edge of the DOSBox window.

Reply 5 of 5, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

...Now, if DOSBox did support the PROMPT command, then SET PROMPT=$s$p$g would insert a space before the command prompt. But I think you'd at least need to be running 4DOS in order for that to work.

Otherwise, the implementation of this would be ambiguous. You could, say, insert a black border between the edge of the DOSBox window and what DOSBox actually displays, but that border would be there all the time, even when you're playing a game. Would that be acceptable?

I see SDL 2.0 seems to have a quick-and-easy border setting, but even if it was easy to see where that should be thrown into the DOSBox code, DOSBox doesn't really support SDL 2.0 presently.
https://wiki.libsdl.org/SDL_SetWindowBordered

It's not clear from two minutes of Googling as to how you would do this in SDL 1.x, but that would be where to look.
https://wiki.libsdl.org/SDL_SetWindowBordered