On 30 Mar 02 at 11:20, [EMAIL PROTECTED] wrote:

>On Sat, Mar 30, 2002 at 10:52:02AM +0000, [EMAIL PROTECTED] wrote:

>> 1. Are there X fonts for DOS codepage 850, 867, 866 etc.?
>> 2. Is there a simple font editor that can help me to convert the ISO
>> fonts to cp867?

Dear Witold and list,

finally it was not necessary to write a new font. Now I can make
dosemu run with cp867 (Czech Kamenicky) and a Czech keyboard:

1. I downloaded various X fonts with vga in their name (from Eastern
Europe font packages, I actually grabbed them by accident without
knowing what I was looking for)

2. I put only one at a time into the misc font directory in order to
see which font would work with DOS emu and which one supports
the X Window applications running in text mode or in a xterm window.

3. In the end I have two monospaced vga fonts in the misc directory
and run mkfontdir. Then I manually edit the font.dir : I change the
second column of these two fonts and give them a new name. The font
for dosemu gets the name vga ($_X_font variable in dosemu.conf). The
other one something else eg. isovga.

4. Then I make sure that in my windows manager, hotkeys, xterm window
etc. I call non-graphic programs always with the font name parameter
(isovga). Example:

 xterm -geometry 70x28+-30+0 -fn isovga [program with parameters]

5. In DOSemu I load my national keyboard driver with
keyb.com. This is enough to run DOS programs in text mode with
national characters.

6. First I wondered if I would need display.sys at all. But there are
obviously some graphical programs which require a DOS font to be
loaded. Expample: MS Word 6.0 for DOS. This program ignores the font
on the DOSemu command line, but uses the EGA codepage. It works with
Eastern European, Western European and Russian charsets. Are there
possibly more programs making this difference between DOSemu
font and EGA.SYS fonts?

So it looks as if the MS-DOS customization of keyboard and display
works quite well - as far as national characters are concerned. What
I am very curious to learn now is how to improve the support of all
those function keys and key combinations meeded in various
applications, because the extensive use of keyboard (not mouse) is
the strong part of many DOS programs. This however seems to be a
general issue of X Window key support, am I right? Where will I find
instructions on that?

Christof Lange

_______________________________________________

 Christof Lange <[EMAIL PROTECTED]>
 Prokopova 4, 130 00 Praha 3, Czech Republic
 phone: (+420-2) 22 78 06 73 / 22 78 20 02
 http://www.volny.cz/cce.zizkov


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

Reply via email to