* Strange screen characters
@ 2005-05-26 2:30 Hufnus
0 siblings, 0 replies; 8+ messages in thread
From: Hufnus @ 2005-05-26 2:30 UTC (permalink / raw)
To: linux-msdos
Since I can not use
$_term_char_set = "ibm" anymore with dosemu 1.3.x
what do I need to use in $_internal_char_set so that
Norton disk editor can display the IBM high ASCII characters
correctly and the screen becomes readable?
Thanks
TonyB
--
__ __ _ I N C. http://www.sysdev.org
/ __|\\// __|| \ __ __ / tonyb@sysdev.org
\__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities
|___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
@ 2005-05-29 3:11 Bart Oldeman
0 siblings, 0 replies; 8+ messages in thread
From: Bart Oldeman @ 2005-05-29 3:11 UTC (permalink / raw)
To: Hufnus, linux-msdos
> Since I can not use
> $_term_char_set = "ibm" anymore with dosemu 1.3.x
>
> what do I need to use in $_internal_char_set so that
> Norton disk editor can display the IBM high ASCII
> characters correctly and the screen becomes readable?
The default settings ("cp437"="") should "just work". If it
doesn't then you should mention some more things so we can
fix the bug. In which terminal (xterm? console? konsole?)
are you running dosemu? What does "ldd `which dosemu.bin`"
tell you? Do you use UTF-8 or not?
Bart
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
@ 2005-05-29 9:19 Stas Sergeev
2005-05-29 22:49 ` Bart Oldeman
0 siblings, 1 reply; 8+ messages in thread
From: Stas Sergeev @ 2005-05-29 9:19 UTC (permalink / raw)
To: linux-msdos
Hello.
Bart Oldeman wrote:
> The default settings ("cp437"="") should "just work".
I use cp866.
> In which terminal (xterm? console? konsole?)
Its the same problem in all of them.
> What does "ldd `which dosemu.bin`"
> tell you?
linux-gate.so.1 => (0xffffe000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb7f5b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7f4d000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e86000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7e81000)
librt.so.1 => /lib/tls/librt.so.1 (0xb7e6d000)
libslang-utf8.so.1 => /usr/lib/libslang-utf8.so.1 (0xb7dfe000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7ddb000)
libdl.so.2 => /lib/libdl.so.2 (0xb7dd7000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7d59000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d47000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7c24000)
/lib/ld-linux.so.2 (0xb7f75000)
libasound.so.2 => /lib/libasound.so.2 (0xb7b7c000)
slang is 1.4.9 with the utf8 patches.
> Do you use UTF-8 or not?
I do.
These Norton Utilities loads the custom
font, so they work 100% correctly only
under xdosemu with the DOS font. But
with the VGA fonts it is only a little
broken, at least I can read what's
written there in the menus. While under
the terminals - it is a complete garbage,
I can't even read the letters.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
2005-05-29 9:19 Strange screen characters Stas Sergeev
@ 2005-05-29 22:49 ` Bart Oldeman
0 siblings, 0 replies; 8+ messages in thread
From: Bart Oldeman @ 2005-05-29 22:49 UTC (permalink / raw)
To: linux-msdos
On Sun, 29 May 2005, Stas Sergeev wrote:
> Bart Oldeman wrote:
> > The default settings ("cp437"="") should "just work".
> I use cp866.
>
> > In which terminal (xterm? console? konsole?)
> Its the same problem in all of them.
>
> > Do you use UTF-8 or not?
> I do.
Strange. I tested today again with some Borland IDEs (just to get some
box characters) and it just works, can't reproduce your problem, at least
as long as I have 80 characters per line. Both with slang1-utf8
(Debian) and slang2.
Can you download slang 2.0.3 from www.s-lang.org and see how dosemu works
with that one? Just so we know where the problem is, RedHat or us?
Bart
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
@ 2005-05-30 16:12 Stas Sergeev
2005-05-31 16:35 ` Pete Cervasio
0 siblings, 1 reply; 8+ messages in thread
From: Stas Sergeev @ 2005-05-30 16:12 UTC (permalink / raw)
To: linux-msdos
Hello.
Bart Oldeman wrote:
> Strange. I tested today again with some Borland IDEs
But you should really check
Norton Utilities. Everything
else works, that's strange, yes.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
2005-05-30 16:12 Stas Sergeev
@ 2005-05-31 16:35 ` Pete Cervasio
0 siblings, 0 replies; 8+ messages in thread
From: Pete Cervasio @ 2005-05-31 16:35 UTC (permalink / raw)
To: linux-msdos
On Monday 30 May 2005 11:12, Stas Sergeev wrote:
> Hello.
>
> Bart Oldeman wrote:
> > Strange. I tested today again with some Borland IDEs
>
> But you should really check
> Norton Utilities. Everything
> else works, that's strange, yes.
It's been ages since I've even seen them, but I seem to recall that the Norton
Utilities did "fancy" things with screen handling, like reprogram some of
characters in the font (or something similar to that) to have rounded corners
and other stuff.
If you're trying to run this on a linux console, you may need to set direct
console and/or graphics modes. I don't have a dosemu handy but I believe the
settings are "$_console = (1)" and/or "$_graphics = (1)"
I hope this helps,
Pete C.
--
=====================================================================
Yes, of course I'm sure it's the red cable. I guarante[^%!/+)F#0c.'
NO CARRIER
=====================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
@ 2005-06-02 12:21 Bart Oldeman
0 siblings, 0 replies; 8+ messages in thread
From: Bart Oldeman @ 2005-06-02 12:21 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
Hi Stas,
> Bart Oldeman wrote:
> > Strange. I tested today again with some Borland IDEs
> But you should really check
> Norton Utilities. Everything
> else works, that's strange, yes.
The difference is that Norton uses bright background colours
and the blink/acs hack was messed up somewhat.
Here's a quick patch, I'm working on something better but
I'd like to know if this helps you too.
Two mysteries remain:
Unpatched 1.3.2 works fine with Norton in two situations:
a) Linux console in utf8 mode (using unicode_start and a
utf8 locale)
b) Using slang 2.0 (this patch only affects #ifdefed code)
In all other scenarios it was messed up indeed.
But you seemed to imply otherwise.
I don't have CVS access at the moment, just a floppy (!).
Bart
[-- Attachment #2: terminal.diff --]
[-- Type: text/plain, Size: 700 bytes --]
--- src/plugin/term/terminal.c.~1.17.~ 2005-05-20 12:21:06.000000000 +1200
+++ src/plugin/term/terminal.c 2005-06-02 10:38:52.000000000 +1200
@@ -622,10 +622,14 @@
y -= DOSemu_Terminal_Scroll_Min;
if (y < 0 || y >= SLtt_Screen_Rows) return;
SLsmg_gotorc (y, x);
- SLsmg_set_color (abs(this_obj));
-#if SLANG_VERSION < 20000
- SLtt_Use_Blink_For_ACS = char_blink && ((attr & 0x80) >> 7);
+#if SLANG_VERSION < 20000
+ if ((attr & 0x80) && !char_blink) {
+ attr &= 0x7f;
+ this_obj = Attribute_Map[attr];
+ }
+ SLtt_Use_Blink_For_ACS = (attr & 0x80) >> 7;
#endif
+ SLsmg_set_color (abs(this_obj));
/* take care of invisible character */
if (this_obj < 0) {
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Strange screen characters
@ 2005-06-02 15:47 Stas Sergeev
0 siblings, 0 replies; 8+ messages in thread
From: Stas Sergeev @ 2005-06-02 15:47 UTC (permalink / raw)
To: linux-msdos
Hello.
Bart Oldeman wrote:
> a) Linux console in utf8 mode (using unicode_start and a
> In all other scenarios it was messed up indeed.
> But you seemed to imply otherwise.
Yes, I have the utf8 locale
and unicode_start, yet I had
problems. And your patch solved
it, thanks!
> I don't have CVS access at the
> moment, just a floppy (!).
:)
Excellent chance to do the dosemu
hacking.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-06-02 15:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-29 9:19 Strange screen characters Stas Sergeev
2005-05-29 22:49 ` Bart Oldeman
-- strict thread matches above, loose matches on Subject: below --
2005-06-02 15:47 Stas Sergeev
2005-06-02 12:21 Bart Oldeman
2005-05-30 16:12 Stas Sergeev
2005-05-31 16:35 ` Pete Cervasio
2005-05-29 3:11 Bart Oldeman
2005-05-26 2:30 Hufnus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox