Skip to contentSkip to conversation

Making a Diff

DISCUSSION Alain M. 3 participants 4 messages Nov 14, 2006 – Nov 15, 2006

lore
Share & tools
lore

Alain M.

author
#0 lore raw

What is the standard command to generate e diff to submit to Dosemu? I have one directory called dosemu-org and one called dosemu-850...

I have a patch to install fonts for CP850 8x14, the original is from the debian project <http://packages.debian.org/stable/x11/xfonts-terminus-dos> so it is GPL and ok for Dosemu

First question: in the etc/dosemu.alias, all lines look like this:

vga10x20-ua -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125

but the one I generated has different names:

vga8x14-cp850 -xos4-Terminus-Bold-R-Normal--14-140-72-72-C-80-IBM-CP850

Should I try to convert it? These are the names in the original Debian/Terminus project...

Second question: would you like me to include in the patch a "howto" with instructions for installing fonts from that package?

thanks,
Alain

#1 lore raw
Quoted 3 lines · Alain M.

What is the standard command to generate e diff to submit to Dosemu? I have one directory called dosemu-org and one called dosemu-850...

diff -urN dosemu-org dosemu-850 > dosemu-850.diff

Quoted 7 lines

I have a patch to install fonts for CP850 8x14, the original is from the debian project
<http://packages.debian.org/stable/x11/xfonts-terminus-dos> so it is GPL and ok for Dosemu

First question: in the etc/dosemu.alias, all lines look like this:

Quoted 8 lines

vga10x20-ua -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125

but the one I generated has different names:

vga8x14-cp850 -xos4-Terminus-Bold-R-Normal--14-140-72-72-C-80-IBM-CP850

Should I try to convert it? These are the names in the original Debian/Terminus project...

This is probably fine, dosemu-vga and xos4-Terminus don't matter. The rest is just about a case difference and about the font size.

But I'd like to ask:
1. Why an 8x14 font? It seems a bit small, even smaller than the standard 8x16. Is there also a problem with using bitmap fonts and the FreeDOS mode/display/chcp technique?
2. It may be better to use unicode. The present SVN code supports unicode fonts, you can even use the standard $_X_font="-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1" it's small but gives you all the characters you need.
Have a look at
http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
as well.

Bart

author
#2 lore raw

Bart Oldeman escreveu:

Quoted 3 lines

But I'd like to ask:
1. Why an 8x14 font? It seems a bit small, even smaller than the standard 8x16.

Just because this is the DOS size... and it is ok on cheaper 800x600 and even 1024 displays. Do you suggest an extra size? 16, 20, 24, 28 and 32 are available, I just think that you want to prevent doesemu to get bloated :)

Quoted 2 lines

Is there also a problem with using bitmap fonts and the FreeDOS mode/display/chcp technique?

Yes, I am considering the usage with remote X via ssh. With Xfonts it is just as fast as local...

Quoted 7 lines

2. It may be better to use unicode. The present SVN code supports unicode fonts, you can even use the standard $_X_font="-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1" it's small but gives you all the characters you need.
Have a look at
http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
as well.

I will, looks very interesting :) but... how will Dosemu work with that? there must be a translation table somewhere

Alain

#3 lore raw
Quoted 7 lines · Alain M.

Bart Oldeman escreveu:

Quoted 3 lines

But I'd like to ask:
1. Why an 8x14 font? It seems a bit small, even smaller than the standard 8x16.

Just because this is the DOS size...

That is news to me... I thought 14 is the EGA or HGC size, and VGA uses 16 by default.

Quoted 4 lines

and it is ok on cheaper 800x600 and
even 1024 displays. Do you suggest an extra size? 16, 20, 24, 28 and 32 are available, I just think that you want to prevent doesemu to get bloated :)

The point is more that if 16 is also fine then there is no reason for the 8x14 font and you could just use univga.

Quoted 5 lines
Quoted 2 lines

Is there also a problem with using bitmap fonts and the FreeDOS mode/display/chcp technique?

Yes, I am considering the usage with remote X via ssh. With Xfonts it is just as fast as local...

Good point.

Quoted 2 lines

I will, looks very interesting :) but... how will Dosemu work with that? there must be a translation table somewhere

There is, in
src/plugin/translate/charsets/cp850.c
using the $_internal_char_set setting.

Bart