Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just installed dosemu 1.4.0 on Slackware 13.37. In ~/.dosemu.rc I have these settings:
$_internal_char_set = "cp437"
$_layout = "hu-cwi"
which would mean that I use a Hungarian keyboard layout and a rather old charset setting. The layout works but it does NOT produce the chars it should. E.g. pressing the key right to P produces an 'i umlaut' instead of 'o circumflex'. If I use Alt+147, it will give the required 'o circ', which is used instead of 'o having double acutes', traditionally. Whatever internal char set I set in ~/.dosemu.rc, the situation remains the same. In boot.log I see only:
CONF: Keyboard-layout keyb-user
which does not mean too much for me.
If you could tell me, what the problem is, and how I could get rid of it, I would be glad. I've been using dosemu for many years but never had a problem like this. Thx in advance, KEA.
I need codepage 437 (original IBM PC DOS char set). The problem is, however, that the keyboard layout is good while the charset is not cp437. If it were, according to the config file, cp473 it would produce an 'o circumflex' instead of 'i umlaut' when the key right to P was pressed. And whatever internal code page is set in .dosemu.rc, the result is the same 'i umlaut'. This mean as if dosemu did not take into consideration the given option ($_internal_char_set).
dos was never much good at that. The different keyboards have different ascii in them, and so give out different codes for the same key being pressed. BTW last I heard of dosemu, it was dead as a project. People were using dosbox. Did someone revive it?
/showing my age
Back in the day there was something called ansi.sys which people used to fart about with charsets. It was loaded in config.sys
device=ansi.sys
cp437 is for The Excited States. I don't think the average business user envisioned by IBM for cp437 _knew_ a circumflex from an umlaut. If you have circumflex/umlaut trouble on cp437, use cp850 (Basically the same).
Last edited by business_kid; 02-12-2012 at 09:35 AM.
it seems as if user configuration settings were not able to override system config. I changed the charset setting in /etc/dosemu/dosemu.conf and it works. It worked well on a Slackware 13.0 box, where I had installed dosemu from source (long ago). It was installed as a system-wide application (into /usr/local/bin/), so I used /etc/dosemu/dosemu.conf for the settings. On my home machine, which is a Slackware 13.37 I set up a binary dosemu (per-user application), but having the default /etc/dosemu/dosemu.conf I could not succeed with the user-level config of the internal char set. If someone is interested in this (in the future), he/she can test this behaviour. Best regards to everone! KEA.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.