Skip to contentSkip to conversation

Configuring cursor shape

DISCUSSION Alain 2 participants 5 messages Jul 28, 2005 – Jul 30, 2005

lore
Share & tools
lore

Alain

author
#0 lore raw

Hi Claudia,

I made some tests with $_Xfont = "vga" The problem is that it has no codepage 850 ! And the xreen is too big with 50 lines, 34 works grat, 43 would be fine but does not work.

I have to work in graphics mode, and let the dos display driver set the caracters.

The cursor works ok with 80x34 which is a little better because it uses 480rows, but I cannot find a command line tool to set this mode (I could write one if someone tells me the bios modes)

Is there a VGA font for codepage 850?

Alain

Claudia Neumann escreveu:

Quoted 17 lines

Am Dienstag, 26. Juli 2005 21:13 schrieben Sie:

Quoted 2 lines

Can configure the cursor shape in DOSEMU? Now I am getting a very thin horizontal line at aprox. 1/3 from the top. It is very difficult to see.

In dosemu or xdosemu? Normally, the cursor in xdosemu is the mouse cursor of the Window manager you are using i.e. KDE. You configure this cursor in KDE. The (blinking) cursor in dosemu depends upon the font you boot your linux with. Can be configured in grub (vga=normal or vga=5) or lilo. The cursor in input fields in xdosemu depends upon the $_Xfont = "vga" in /etc/dosemu/dosemu.conf or $HOME/.dosemurc. If you have installed vga11x19 try $_Xfont = "vga11x19".

cu

Claudia
-
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

#1 lore raw

Am Donnerstag, 28. Juli 2005 03:55 schrieben Sie:

Quoted 3 lines

I made some tests with $_Xfont = "vga" The problem is that it has no codepage 850 ! And the xreen is too big with 50 lines, 34 works grat, 43 would be fine but does not work.

Mmh. I am working with codepage 850 an 43 lines. My $HOME/.dosemurc:

$_term_char_set = "ibm"
#$_external_char_set = ""
$_internal_char_set = "cp850"

Did you install the dosemu Xfonts in /usr/X11R6/lib/R11/fonts/misc? Can you find this font with i.e. xfontselect?

cu

Claudia

author
#2 lore raw

Hi Claudia,

I tested what you said. One point is that I am using DosEmu 1.3.2 and I get thei message:
---------------
ERROR: WARNING: $_term_char_set is obsolete. Use $_external_char_set and $_internal_char_set instead.
---------------
So I tested with the same result:

$_external_char_set = "iso8859-1"
$_internal_char_set = "cp850"

In fact it makes absolutely *no*difference*. If I use $_X_font="vga" I don't ge Codepage 850 (ã - atilde) AND the cursor is placed 1/3 from the top. If I don't use $_X_font="vga", I get DOS's internal font that are ok, with the bad cursor.

I searched for the font vga and I can find it as:
/usr/share/dosemu/Xfonts/vga.pcf.gz
In this directory I have all my dosemu fonts, this is my alias.font that is that directory:

vga          -dosemu-vga-medium-r-normal--17-160-75-75-p-80-ibm-cp437
vga8x19      -dosemu-vga-medium-r-normal--19-190-75-75-c-80-ibm-cp437
vga11x19     -dosemu-vga-medium-r-normal--19-190-75-75-c-100-ibm-cp437
vga10x24     -dosemu-vga-medium-r-normal--24-240-75-75-c-100-ibm-cp437
vga12x30     -dosemu-vga-medium-r-normal--30-300-75-75-c-120-ibm-cp437
vgacyr       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp866
vga10x20     -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
vga-ua       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp1125
vga10x20-ua  -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125

All these fonts work, none has latin characters.

Alain
-
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

author
#3 lore raw

Instaling Xfont

Hi,

I am trying to install a cp850 font without success:

I dounloaded cp850.bdf.gz from http://aspell.net/charsets/

# gzunzip cp850.bdf.gz
the resulting file cp850.bdf.gz looks just fine
# bdftopcf cp850.bdf | gzip > cp850.pcf.gz
# mv cp850.pcf.gz /usr/share/dosemu/Xfonts
# mkfontdir /usr/share/dosemu/Xfonts
I edited the /usr/share/dosemu/Xfonts/fonts.alias and included
cp850        -dosemu-vga-medium-r-normal--16-160-75-75-c-80-ibm-cp850

but if I use $_X_font = "cp850" I get the message:
ERROR: X: Unable to open font "cp850", using builtin

What am I doing wrong? ( I tested many variants of this, including doing it in the /usr/X11R6/lib/X11/fonts/misc and restarting the Xfont server

Alain

author
#4 lore raw

Re: Instaling Xfont

Hi,

I did manage to instal a CP850 font from Xfont-terminus-dos using aproximately the same method then the previous message.

Now the problem is: The cursor is still broken (is at 1/3 from the top) allways in 50 lines mode. And 43 lines do not work.

Please help,
Alain