Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard combination to switch codepages on-the-fly #5211

Open
2 tasks done
Torinde opened this issue Sep 15, 2024 · 0 comments
Open
2 tasks done

Keyboard combination to switch codepages on-the-fly #5211

Torinde opened this issue Sep 15, 2024 · 0 comments

Comments

@Torinde
Copy link
Contributor

Torinde commented Sep 15, 2024

Is your feature request related to a problem? Please describe.

No response

What you want

Can you please add a keyboard combination to switch codepages on-the-fly? The usecase is that when using a non-Latin script codepage (e.g. Cyrillic) the box drawing characters of most installers and programs are missing/rearranged (because they're hardcoded for 437).

It would be great if KEYB or DOSbox-X itself supports a key-combination to change between 437 and whatever codepage is active - for example 3021 moves around the box drawing characters and back in the day we used TSR programs allowing LeftShift + RightShift to change between the codepages on-the-fly (when you need to see something like a game installer menu, which is written in 437, but soon after you'll change back to 3021 in order to read/write in Cyrillic).

  • when codepage is 437 pressing LeftShift + RightShift changes to the 'alternative' one (e.g. 3021 or whatever was set by CHCP or KEYB)
  • when codepage is <>437 pressing LeftShift + RightShift changes to 437

To illustrate why LeftShift+RightShift combo is needed for user to switch to/from 437 - see how EDIT looks with 3021:
image

While how it should look:
image

Originally posted by @Torinde in #5209 (comment)

Describe alternatives you've considered

No response

Additional information

No response

Have you checked that no similar feature request(s) exist?

  • I have searched and didn't find any similar feature request.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant