From: "Andrzej Kaczmarczyk" <akaczmarczyk@visualsystems.com.pl>
To: linux-msdos@vger.kernel.org
Subject: Re: cp852 font - finally
Date: Thu, 25 Aug 2005 14:01:36 +0200 [thread overview]
Message-ID: <dekbu9$9ad$1@sea.gmane.org> (raw)
In-Reply-To: de4k7i$6os$1@sea.gmane.org
I have all the problems solved (at least those according to cp852 and
multiple lines, the memory bug remains)
solution, for anyone else having the problem (assuming you have fetched &
compiled recent freedos, dosemu from cvs)
1. download the cp852 (or any other) fonts
http://rpmfind.net/linux/rpm2html/search.php?query=XFree86-fonts-CP852
2. install them or copy them to X Servrs miscelanious fonts path. In my
(Mandriva 10.2) case that was: /usr/X11R6/lib/X11/fonts/misc
3. run mkfontscale, mkfontdir, restart the X Server
4. add to the fonts.alias your new fonts, in my case I added:
cp852-8x13B -misc-fixed-bold-r-normal--13-120-75-75-c-80-cp852-0
cp852-8x13I -misc-fixed-medium-o-normal--13-120-75-75-c-80-cp852-0
cp852-9x15 -misc-fixed-medium-r-normal--15-140-75-75-c-90-cp852-0
cp852-9x15B -misc-fixed-bold-r-normal--15-140-75-75-c-90-cp852-0
cp852-9x18B -misc-fixed-bold-r-normal--18-120-100-100-c-90-cp852-0
I have a 1024x768 so those sizes were apropriate
5. modify dosemu.conf
# I have polish letters at my standard console,
# if you don't then you need to use cp437 or iso8859-1
# or whatever you have your standard
$_external_char_set = "iso8859-2"
# that should settle the keyboard mapping
$_internal_char_set = "cp852"
# now the current font (one of the above added to alias file)
$_X_font = "cp852-9x15B"
6. at this point you should be having xdosemu working perfectly in all modes
you can switch them from within dosemu via
mode co80,25
mode co80,43
mode co80,50
note that the window size will change depending on number of lines
7. If you wish to run the dosemu form text console there is few more steps
8. modify your dosemu.conf
# this is magic, don't know what it does but it is needed
$_console=(1)
$_graphics=(1)
9. the next step depend on your graphics card
I have a SiS chipset PCI Card so
$_pci = (on)
$_chipset = "sis"
10. by this point you can run doesmu as root, to allow your users using it,
change your sudoers file (again on mandrake this is /etc/sudoers)
I have them all in dosemu_users group, you can make one with
groupadd dosemu_users
now you add you user john to dosemu_users
usermod -G john,dosemu_users john
and add in the sudoers file
%dosemu_users localhost=/usr/local/bin/dosemu -s
11. login as john
check the group with "groups"
run dosemu
dosemu -s
the warning will appear as you are using full featured dosemu, but beside
that you should be logging in with no problem.
as above all modes should be working happily.
enjoy
CUIN Kaczy
next prev parent reply other threads:[~2005-08-25 12:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-19 12:46 cp852 font Andrzej Kaczmarczyk
2005-08-20 1:34 ` Alain
2005-08-22 10:00 ` Andrzej Kaczmarczyk
2005-08-23 0:16 ` Alain
2005-08-23 8:06 ` Andrzej Kaczmarczyk
2005-08-24 8:24 ` Andrzej Kaczmarczyk
2005-08-24 14:04 ` Alain
2005-08-24 15:00 ` Andrzej Kaczmarczyk
2005-08-24 15:28 ` Andrzej Kaczmarczyk
2005-08-25 9:38 ` Bart Oldeman
2005-08-25 12:01 ` Andrzej Kaczmarczyk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-25 13:43 cp852 font - finally Stas Sergeev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dekbu9$9ad$1@sea.gmane.org' \
--to=akaczmarczyk@visualsystems.com.pl \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox