public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: cp852 font - finally
  2005-08-19 12:46 cp852 font Andrzej Kaczmarczyk
@ 2005-08-25 12:01 ` Andrzej Kaczmarczyk
  0 siblings, 0 replies; 2+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-25 12:01 UTC (permalink / raw)
  To: linux-msdos

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 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cp852 font - finally
@ 2005-08-25 13:43 Stas Sergeev
  0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2005-08-25 13:43 UTC (permalink / raw)
  To: linux-msdos

Hello.

Andrzej Kaczmarczyk wrote:
> solution, for anyone else having the problem
Good explanation, but unless you'll find
a way to fit it into the dosemu docs (and
supply a patch), it will most likely get
lost.
Another point is that the dosemu config
should be pre-set for the like things, but
this is still under discussion for too long:(
Now it is apparently very important.

> 9. the next step depend on your graphics card
> I have a SiS chipset PCI Card so
> $_pci = (on)
> $_chipset = "sis"
The problem is that this should not be
necessary. The error message that you sent
me privately (for which I proposed the
$_pci=(on) as a workaround), is most likely
a bug. And if it requires also $_chipset="sis"
(does either change solve the problem, or
only both together?), then it is even more
buggy I think. Would be nice if you open a
bug entry for that, with the log and other
info I mentioned.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-25 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 13:43 cp852 font - finally Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2005-08-19 12:46 cp852 font Andrzej Kaczmarczyk
2005-08-25 12:01 ` cp852 font - finally Andrzej Kaczmarczyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox