Skip to contentSkip to conversation

console font problem

DISCUSSION Claudia Neumann 2 participants 2 messages Jan 29, 2003 – Jan 30, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a problem with console fonts in dosemu. The Norton Commander and other programs show a deranged screen with strange line characters in console mode. In X-Windows everything is okay.

The RPM-Package with dosemu-1.0.2 is okay in console mode.

Dosemu-1.1.3, 1.1.3.7, 1.1.4 and 1.1.4.6 all show the strange characters in console mode. I tried all modes in dosemu.conf with

$_term_char_set = "ibm", "latin", "latin1" $_external_char_set = "", "iso8859-1", "iso8859-15" $_internal_char_set = "cp437", "cp850"

in console mode its all the same.

I even tried

echo -ne '\033(U'

without any change.

Do I have to change the console fonts?

Specs: Mandrake Linux release 8.1 (Vitamin) for i586 Kernel 2.4.8-26mdk on an i686

Any ideas?

Claudia

#1 lore raw
Quoted 4 lines · Claudia Neumann

I have a problem with console fonts in dosemu. The Norton Commander and other programs show a deranged screen with strange line characters in console mode. In X-Windows everything is okay.

Quoted 8 lines

The RPM-Package with dosemu-1.0.2 is okay in console mode.

Dosemu-1.1.3, 1.1.3.7, 1.1.4 and 1.1.4.6 all show the strange characters in console mode. I tried all modes in dosemu.conf with

$_term_char_set = "ibm", "latin", "latin1" $_external_char_set = "", "iso8859-1", "iso8859-15" $_internal_char_set = "cp437", "cp850"

that's a bug -- "ibm" no longer worked properly. $_term_char_set = ""
or
$_term_char_set = "ibm"
should get you the box drawing characters on the console.

Fix is below.

Bart

src/plugin/term/terminal.c +2 -1
@@ -149,7 +150,8 @@
 	/* Slang should filter out the control sequences for us...
 	 * So don't worry about characters 0x00 - 0x1f && 0x80 - 0x9f
 	 */
-	if (trconfig.output_charset == lookup_charset("cp437")) {
+	if (trconfig.output_charset == lookup_charset("cp437") ||
+	    trconfig.output_charset == lookup_charset("terminal_cp437")) {
 		Use_IBM_Codes = 1;
 		/* Should we be testing TERM here??? */
 		/* The following turns on the IBM character set mode of virtual console