VOGONS

Common searches


First post, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

Hi,

Why does the CAPS LOCK not work in DOSBOX?
In DOSBOX version 0.71, the CAPS LOCK acts the same as the SHIFT key.
Has this bug been fixed in later versions of DOSBOX?

James

Reply 1 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

what is wrong with it ?
capslock is the constant shift which can be turned off pressing shift

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 7, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

Here is how to reproduce my problem.

At the dosbox dos prompt. Type some char, press and release "caps lock", type some more characters.
The strange thing is that the caps lock light comes up on the keyboard, but no caps is active inside dosbox.
It is even more bizare. If I place Caps lock on before running dosbox, I get uppercase in dosbox. If I press caps lock then inside dosbox, I get lower caps in dosbox, but if I press caps again, I never get back to uppercase in dosbox.
So, I think what I need DOSBOX to do is to somehow mirror the system wide caps lock state, even when caps lock changes outside dosbox, as is the case for all linux applications currently.

What I should get:
qwerty[CAPS LOCK]QWERTY[CAPS LOCK]qwerty etc.

What I actually get:
qwerty[CAPS LOCK]querty[CAPS LOCK]qwerty etc.

Notice, that I don't actually get upper case characters with the caps lock on.

Reply 5 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the sdl of ubuntu and debian is different. they added a patch to work around specific sdl behavior of SDL with respect to capslock.
dosbox has it's own code for that.
So one of the 2 has to be disabled.
I think the debian/ubuntu sdl can be disabled with an environment variable that controls their workaround.

Water flows down the stream
How to ask questions the smart way!