VOGONS

Common searches


First post, by eurorusty

User metadata
Rank Newbie
Rank
Newbie

I'm not understanding the instructions for the keymapper.

I deleted the existing mapping for VIDEO, I think, then I added SHIFT, CTRL, ALT, F5 and saved, but it seems to map to each key separately, so SHIFT runs the video capture, then SHIFT-CTRL turns it off, then SHIFT-CTRL-ALT turns it back on, after that it stays stuck on and won't turn off and I have to kill DOSBOX directly.

If someone can explain exactly what I need to map VIDEO to SHIFT-CTRL-ALT-F5 that would help a lot. I deleted the custom keymapper configuration file so can assume I'm starting from the default.

Alternatively, if there's documentation for the keymapper configuration file format, I could edit it directly and not deal with the confusing keymapper interface.

Reply 1 of 5, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++

I'm a bit rusty but I think that's possibly interfering with some linux defaults that are used to switch consoles. i.e. another login/shell

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 2 of 5, by zirkoni

User metadata
Rank Member
Rank
Member

Map only the F5 key to Video, then select all the modifier keys (mod1, mod2, mod3) from the bottom left corner.

Ctrl + Alt + Fn changes the TTY on most Linux desktops, you might also want to change the modifier keys or use something like Ctrl + Shift + F5 (without Alt).

https://youtube.com/@zirkoni42

Reply 3 of 5, by eurorusty

User metadata
Rank Newbie
Rank
Newbie

In Linux, the default for VIDEO CTRL-ALT-F5 opens a login, so it has to be remapped to work with DOSBox. I tried remapping to all kinds of combinations of keys. I can't get it to recognize anything to make the VIDEO work. Whatever I save, the line for VIDEO is empty but the screen output still shows it as CTRL-ALT-F5. I'm not understanding why it's so hard to use. Is there documentation of the file format? Maybe I could just enter it manually.

Reply 4 of 5, by eurorusty

User metadata
Rank Newbie
Rank
Newbie

I think I figured out the key mapping file format. I did a random change so the mapping would be saved, then edited the file directly. For my system, "mod3" for SHIFT doesn't seem to work. Instead of the SHIFT-CTRL-ALT-F5 combination I saw recommended somewhere, I mapped VIDEO to CTRL-"Print Screen". Seems to work okay.

Reply 5 of 5, by eurorusty

User metadata
Rank Newbie
Rank
Newbie

FYI, DOSBox can run my demo program from 1992 which uses direct screen access, changing of frequency of the clock timer, calling INT for mouse info, and setting CTRL-BREAK interrupt handler – good stuff! For anyone interested, the GitHub repo is here: https://github.com/Russell-S-Harper/EXPLORE, and a video of it in action is here: https://www.youtube.com/watch?v=XTOIfkqW9O0. Thanks everyone for your help!