public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* cp852 font
@ 2005-08-19 12:46 Andrzej Kaczmarczyk
  2005-08-20  1:34 ` Alain
  0 siblings, 1 reply; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-19 12:46 UTC (permalink / raw)
  To: linux-msdos

HI,

I followed the recent discussion but the solution given there didn't worked 
for me.

I have an application I need to run and it is using CP852 fonts (There is 
actually a bunch of options I need the standardsa I am using are know as 
Latin2 and Mazovia - both are for polish national characters)

I found an old dos app that installs the font at runtime, and this solution 
works for 80x25 but as soon as I swithc into 80x43 the font stops working. 
Therefore I believe I must install the cp852 font on my XWindows and then 
try to force dosemu to use it.
the dosemu's supplied vga fonts have few codepages but not 852.
I have Mandriva 10.2 and dosemu 1.2.2-2mdk
I can use polish letters in standard linux console (using Monospace font) so 
I think I have the font on place.

In short how to do it? I can't move on from this point.

CUIN Kaczy 




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

* Re: cp852 font
  2005-08-19 12:46 Andrzej Kaczmarczyk
@ 2005-08-20  1:34 ` Alain
  2005-08-22 10:00   ` Andrzej Kaczmarczyk
  0 siblings, 1 reply; 11+ messages in thread
From: Alain @ 2005-08-20  1:34 UTC (permalink / raw)
  To: Dosemu

Hi Andrzej,

Get this package: xfonts-terminus-dos_4.12-2_all.deb

If you don't use Debian (like me) open it (I used Ark), get the cp852 
font, and install it manually in Xfonts. and run mkfontdir. Configure 
dosemu to use it...

It's triky, but I did it with cp850 and it is great!

If you want 80x43, forguet the old versions. Only CVS will do.

On condole, you are probably using the VGA hardware. It is simulated 
well in the CVS dosemu. 50 lines are ok in 1.3.2. Note that maybe your 
font package does not have the 8x8 font included. Try the latest FreeDOS 
display packages, it may help too.

good luck,
Alain

Andrzej Kaczmarczyk escreveu:
> HI,
> 
> I followed the recent discussion but the solution given there didn't worked 
> for me.
> 
> I have an application I need to run and it is using CP852 fonts (There is 
> actually a bunch of options I need the standardsa I am using are know as 
> Latin2 and Mazovia - both are for polish national characters)
> 
> I found an old dos app that installs the font at runtime, and this solution 
> works for 80x25 but as soon as I swithc into 80x43 the font stops working. 
> Therefore I believe I must install the cp852 font on my XWindows and then 
> try to force dosemu to use it.
> the dosemu's supplied vga fonts have few codepages but not 852.
> I have Mandriva 10.2 and dosemu 1.2.2-2mdk
> I can use polish letters in standard linux console (using Monospace font) so 
> I think I have the font on place.
> 
> In short how to do it? I can't move on from this point.
> 
> CUIN Kaczy 

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

* Re: cp852 font
  2005-08-20  1:34 ` Alain
@ 2005-08-22 10:00   ` Andrzej Kaczmarczyk
  2005-08-23  0:16     ` Alain
  0 siblings, 1 reply; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-22 10:00 UTC (permalink / raw)
  To: linux-msdos

Hi

Uzytkownik "Alain" <alainm@pobox.com> napisal w wiadomosci 
news:4306888A.9050309@pobox.com...
> Hi Andrzej,
>
> Get this package: xfonts-terminus-dos_4.12-2_all.deb
>
> If you don't use Debian (like me) open it (I used Ark), get the cp852 
> font, and install it manually in Xfonts. and run mkfontdir. Configure 
> dosemu to use it...
>
> It's triky, but I did it with cp850 and it is great!
>
> If you want 80x43, forguet the old versions. Only CVS will do.
>
> On condole, you are probably using the VGA hardware. It is simulated well 
> in the CVS dosemu. 50 lines are ok in 1.3.2. Note that maybe your font 
> package does not have the 8x8 font included. Try the latest FreeDOS 
> display packages, it may help too.
>

I wanted to report success, and actually no arcane tricks were needed.
All that was required was to fetch the cvs version of dosemu and latest 
relase of freedos
after install change the default autoexec to 852 and dosemu.conf value 
external characterset to ISO-8859-2, and internal character set to cp852.
voila

work well with all 80x25, 80x43, 80x50
the font is quite crappy in xdosemu if you change the window size, but if 
you don't need (and I don't) 1024x768 just reduce the screen to 800x600 and 
the font size and look will be ok

small problem is in text console, because the maximum I could get with 
dosemu mode is 37 lines.
anyone know the solution here?

> good luck,
> Alain


CUIN Kaczy 




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

* Re: cp852 font
  2005-08-22 10:00   ` Andrzej Kaczmarczyk
@ 2005-08-23  0:16     ` Alain
  2005-08-23  8:06       ` Andrzej Kaczmarczyk
  0 siblings, 1 reply; 11+ messages in thread
From: Alain @ 2005-08-23  0:16 UTC (permalink / raw)
  To: Dosemu

Hi Kaczy (just gessing your name :),

To get the console characters you will need the fonts that I indicated. 
I understand from your explanation the you are using the internal font 
which is 8x8 and net very nice because of the limited resolution.
The terminus fonts are very good looking.

as for 50 lines, have you used the command "mode co80,50"?

I just saw that there is a newer version in CVS about the 43 lines 
problem, mine is a bit older...

Alain



Andrzej Kaczmarczyk escreveu:
> Hi
> 
> Uzytkownik "Alain" <alainm@pobox.com> napisal w wiadomosci 
> news:4306888A.9050309@pobox.com...
> 
>>Hi Andrzej,
>>
>>Get this package: xfonts-terminus-dos_4.12-2_all.deb
>>
>>If you don't use Debian (like me) open it (I used Ark), get the cp852 
>>font, and install it manually in Xfonts. and run mkfontdir. Configure 
>>dosemu to use it...
>>
>>It's triky, but I did it with cp850 and it is great!
>>
>>If you want 80x43, forguet the old versions. Only CVS will do.
>>
>>On condole, you are probably using the VGA hardware. It is simulated well 
>>in the CVS dosemu. 50 lines are ok in 1.3.2. Note that maybe your font 
>>package does not have the 8x8 font included. Try the latest FreeDOS 
>>display packages, it may help too.
>>
> 
> 
> I wanted to report success, and actually no arcane tricks were needed.
> All that was required was to fetch the cvs version of dosemu and latest 
> relase of freedos
> after install change the default autoexec to 852 and dosemu.conf value 
> external characterset to ISO-8859-2, and internal character set to cp852.
> voila
> 
> work well with all 80x25, 80x43, 80x50
> the font is quite crappy in xdosemu if you change the window size, but if 
> you don't need (and I don't) 1024x768 just reduce the screen to 800x600 and 
> the font size and look will be ok
> 
> small problem is in text console, because the maximum I could get with 
> dosemu mode is 37 lines.
> anyone know the solution here?
> 
> 
>>good luck,
>>Alain
> 
> 
> 
> CUIN Kaczy 
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

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

* Re: cp852 font
  2005-08-23  0:16     ` Alain
@ 2005-08-23  8:06       ` Andrzej Kaczmarczyk
  2005-08-24  8:24         ` Andrzej Kaczmarczyk
  0 siblings, 1 reply; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-23  8:06 UTC (permalink / raw)
  To: linux-msdos

> Hi Kaczy (just gessing your name :),
Thats my nick actually :). Hi
>
> To get the console characters you will need the fonts that I indicated. I 
> understand from your explanation the you are using the internal font which 
> is 8x8 and net very nice because of the limited resolution.
> The terminus fonts are very good looking.
I played a bit with trying to make dosemu use the installed fonts (including 
hand-edition of the fonts description files) with varied effect none 
actually working. I'll have to try more, till that I went for switching 
resolution from commandline which gives good results as far as font 
readability goes.

>
> as for 50 lines, have you used the command "mode co80,50"?
yes I did, and it does work in xdosemu. however in dosemu run from text 
console, the maximum I could get is 37 lines :(

The other way about xdosemu would be to change the window size without 
changing font size in 80x50.

>
> I just saw that there is a newer version in CVS about the 43 lines 
> problem, mine is a bit older...
I have yesterday's checkout compiled.

>
> Alain
CUIN (See You In Net) Kaczy (my ten years old standing signature)

>
>
>
> Andrzej Kaczmarczyk escreveu:
>> Hi
>>
>> Uzytkownik "Alain" <alainm@pobox.com> napisal w wiadomosci 
>> news:4306888A.9050309@pobox.com...
>>
>>>Hi Andrzej,
>>>
>>>Get this package: xfonts-terminus-dos_4.12-2_all.deb
>>>
>>>If you don't use Debian (like me) open it (I used Ark), get the cp852 
>>>font, and install it manually in Xfonts. and run mkfontdir. Configure 
>>>dosemu to use it...
>>>
>>>It's triky, but I did it with cp850 and it is great!
>>>
>>>If you want 80x43, forguet the old versions. Only CVS will do.
>>>
>>>On condole, you are probably using the VGA hardware. It is simulated well 
>>>in the CVS dosemu. 50 lines are ok in 1.3.2. Note that maybe your font 
>>>package does not have the 8x8 font included. Try the latest FreeDOS 
>>>display packages, it may help too.
>>>
>>
>>
>> I wanted to report success, and actually no arcane tricks were needed.
>> All that was required was to fetch the cvs version of dosemu and latest 
>> relase of freedos
>> after install change the default autoexec to 852 and dosemu.conf value 
>> external characterset to ISO-8859-2, and internal character set to cp852.
>> voila
>>
>> work well with all 80x25, 80x43, 80x50
>> the font is quite crappy in xdosemu if you change the window size, but if 
>> you don't need (and I don't) 1024x768 just reduce the screen to 800x600 
>> and the font size and look will be ok
>>
>> small problem is in text console, because the maximum I could get with 
>> dosemu mode is 37 lines.
>> anyone know the solution here?
>>
>>
>>>good luck,
>>>Alain
>>
>>
>>
>> CUIN Kaczy -
>> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 




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

* Re: cp852 font
  2005-08-23  8:06       ` Andrzej Kaczmarczyk
@ 2005-08-24  8:24         ` Andrzej Kaczmarczyk
  2005-08-24 14:04           ` Alain
  0 siblings, 1 reply; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-24  8:24 UTC (permalink / raw)
  To: linux-msdos

> I played a bit with trying to make dosemu use the installed fonts 
> (including hand-edition of the fonts description files) with varied effect 
> none actually working. I'll have to try more, till that I went for 
> switching resolution from commandline which gives good results as far as 
> font readability goes.
That finally worked (the point I was missing was the restart X-server after 
mkfontdir)
plus I installed the fonts from linux PLD distribution and now have a ten 
different sized fixed fonts at my disposal.

>
>>
>> as for 50 lines, have you used the command "mode co80,50"?
> yes I did, and it does work in xdosemu. however in dosemu run from text 
> console, the maximum I could get is 37 lines :(
that point isn't solved, my console is by default 100x37, I can't change it 
from dosemu.
I've tried usign SVGATextConsole, but the author specifically says in docs 
that this is not going to work with dosemu.

anyone know other solution. text consoles would allow me to turn of Xes and 
that would in turn allow me to run the program on soe old stations?
>
> The other way about xdosemu would be to change the window size without 
> changing font size in 80x50.
my guff, with fixed fonts this is how it works :)

CUIN Kaczy 




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

* Re: cp852 font
  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
  0 siblings, 2 replies; 11+ messages in thread
From: Alain @ 2005-08-24 14:04 UTC (permalink / raw)
  To: Dosemu

Hi Kaczy,


Andrzej Kaczmarczyk escreveu:
> plus I installed the fonts from linux PLD distribution and now have a ten 
> different sized fixed fonts at my disposal.

Are those VGA fonts? if so can you send a link here?

>>>as for 50 lines, have you used the command "mode co80,50"?
>>yes I did, and it does work in xdosemu. however in dosemu run from text 
>>console, the maximum I could get is 37 lines :(
> that point isn't solved, my console is by default 100x37, I can't change it 
> from dosemu.
> I've tried usign SVGATextConsole, but the author specifically says in docs 
> that this is not going to work with dosemu.

I inderstand that you are using it on a console, with direct hw access 
and not under X?

> anyone know other solution. text consoles would allow me to turn of Xes and 
> that would in turn allow me to run the program on soe old stations?

Have you tried latest FreeDOS MODE/DISPLAY/KEYB? there have been 
enhancements lately that couls help.

Alain

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

* Re: cp852 font
  2005-08-24 14:04           ` Alain
@ 2005-08-24 15:00             ` Andrzej Kaczmarczyk
  2005-08-24 15:28             ` Andrzej Kaczmarczyk
  1 sibling, 0 replies; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-24 15:00 UTC (permalink / raw)
  To: linux-msdos

Hello Alain
>
> Are those VGA fonts? if so can you send a link here?
sure:
http://rpmfind.net/linux/rpm2html/search.php?query=XFree86-fonts-CP852
there are cp850 also, just browse around that webpage, they install into 
/usr/loacal/shared/fonts, so you'll have to add the path or copy them to the 
default directory where dosemu looks for them, run mkfontdir, restart x add 
them to fonts.alias
and that should be it.

btw, why dosemu ignore fonts.dir? It seems that if the font isn't added to 
the fonts.alias it is ignored by dosemu.

> I inderstand that you are using it on a console, with direct hw access and 
> not under X?
ouch, yes .... I think (having small troubles in understanding) standard 
console not those launched from kde or other window manager

>
>> anyone know other solution. text consoles would allow me to turn of Xes 
>> and that would in turn allow me to run the program on soe old stations?
>
> Have you tried latest FreeDOS MODE/DISPLAY/KEYB? there have been 
> enhancements lately that couls help.
tried mode, but as I said it doesn't allow anything else than 100x37 mode 
(kinda weird dimensions if anyone asks), I'll play with display.


>
> Alain
CUIN Kaczy

> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 




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

* Re: cp852 font
  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
  1 sibling, 1 reply; 11+ messages in thread
From: Andrzej Kaczmarczyk @ 2005-08-24 15:28 UTC (permalink / raw)
  To: linux-msdos

> Have you tried latest FreeDOS MODE/DISPLAY/KEYB? there have been 
> enhancements lately that couls help.
there is no Keyb (which isn't necessary anyway, since it only deal with 
keyboard to font mapping, which is done by dosemu, correctly), there is 
DISPLAY (whose docs says something about modecom.exe which isn't present, 
but I assume that docs are just old and not updated (hint, hint, hint), and 
there is mode.

mode co80,25 - no errors just comment : "Could only set 37, not 25"
mode co80,43 - "Using VGA 350 lines. Could only set 37 not 43"
mode co80,50 - "Using VGA 400 lines. Could only set 37 not 50"

my gut feeling tells me that it is all about termcap files which define how 
the text console should look like. However this is 700kB sized conf file, 
and I don't have a slightest idea whats going on there.

then again screenrc seems to be calling termcap with some parameters but 
those are also a mystery to me. So it does leave me with a cry over an empty 
field, "Does anybody now how to make a dosemu 43 lines in text console 
without running X server?"
:)

>
> Alain
CUIN Kaczy

> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 




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

* Re: cp852 font
@ 2005-08-24 16:53 Stas Sergeev
  0 siblings, 0 replies; 11+ messages in thread
From: Stas Sergeev @ 2005-08-24 16:53 UTC (permalink / raw)
  To: linux-msdos; +Cc: Andrzej Kaczmarczyk, Wesley Parish

Hello.

Andrzej Kaczmarczyk wrote:
> "Does anybody now how to make a
> dosemu 43 lines in text console 
> without running X server?"
Yes, but noone will tell, because this
is perfectly documented;-) Well, anyway:

$_console=(1)
$_graphics=(1)
$_rawkeyboard=(1)
dosemu -s

or:
dosemu -s -c -k -V


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

* Re: cp852 font
  2005-08-24 15:28             ` Andrzej Kaczmarczyk
@ 2005-08-25  9:38               ` Bart Oldeman
  0 siblings, 0 replies; 11+ messages in thread
From: Bart Oldeman @ 2005-08-25  9:38 UTC (permalink / raw)
  To: Andrzej Kaczmarczyk; +Cc: linux-msdos

On Wed, 24 Aug 2005, Andrzej Kaczmarczyk wrote:

> there is no Keyb (which isn't necessary anyway, since it only deal with 
> keyboard to font mapping, which is done by dosemu, correctly), there is 
> DISPLAY (whose docs says something about modecom.exe which isn't present, 
> but I assume that docs are just old and not updated (hint, hint, hint), and 
> there is mode.

I believe when DISPLAY was released there was just modecon, and later Eric 
Auer improved MODE to have "MODE CON" behave like the old "MODECON", but 
the DISPLAY docs don't know that yet. It's a FreeDOS issue.

> mode co80,25 - no errors just comment : "Could only set 37, not 25"
> mode co80,43 - "Using VGA 350 lines. Could only set 37 not 43"
> mode co80,50 - "Using VGA 400 lines. Could only set 37 not 50"
> 
> my gut feeling tells me that it is all about termcap files which define how 
> the text console should look like. However this is 700kB sized conf file, 
> and I don't have a slightest idea whats going on there.

Basically if you run dosemu in a terminal (and the Linux console is one), 
it just takes rows and columns as a given and does not try to change 
those.

I presume you're using fbdev with 800x600 resolution to fit 100x37.
Unless you use vesafb (needs to set it at boot time). You can try to use 
"fbset" to set 1024x768, and then use
stty cols 80 rows 43
in Linux to limit columns and rows.

DOSEMU could also do that itself (what stty does) but it's usually a bit 
of a waste of screen space; DOS modes assume 80x25, and so what you'd then 
see is that only the left upper half of the screen is used.

There are two alternatives which give you graphics on the console:
1. direct hardware access: see Stas' mail and README. You need root 
though, either suid-root or sudo access to dosemu.bin.
2. framebuffer console via SDL. This is safer but slower, how much slower 
depends. This works if you are in the "video" group, then
  dosemu -S
should do the trick.

Bart



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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 16:53 cp852 font Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2005-08-19 12:46 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

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