First post, by jcdutton
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
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
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!
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.
are you running ubuntu or debian ?
Water flows down the stream
How to ask questions the smart way!
Ah! Nice catch.
Problem is with Ubuntu machines.
Gentoo does not have the problem.
So, what now?
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!
Thank you!
Fixed with:
export SDL_DISABLE_LOCK_KEYS=1
In fact works with any non blank value so "1" could have been "Yes" or whatever.
[moved]
And please post FULL system specs next time, makes things much easier.