|
From: James S. <jsi...@ac...> - 2000-08-21 12:37:28
|
Dominik have a idea on how to handle this problem?
---------- Forwarded message ----------
Date: Thu, 10 Aug 2000 12:00:28 +0300 (UKD)
From: Denis Vlasenko <vd...@vd...>
To: jsi...@ac...
Subject: Re: Cyrillic and Linux Console
> > > This is not 8-bit clean. I patched console.c in kernel
> > > source tree and now printf("-> \x9B <-") does display character
> > > with code 0x9B. I think it won't break anything, because
> > > any decent program will print ESC [ sequence instead of
> > > 0x9B. What do you think?
>
> Do you have the patch. I will give it a try.
Ok, it is attached. I hope I used diff correctly...
> > > However, other programs like Midnight Commander do not
> > > display that character, althought other Cyrillic chars are
> > > displayed. They don't want to mess up with CSI escape seq.
> > >
> > > How can I tell them that it is now safe to output 0x9B?
> > > In /etc/termcap? In terminfo database? Or I should patch
> > > ncurses?
>
> That sounds like you might have to patch ncurses for linux. I have to try
> out the patch to see the results.
I don't have ncurses source at the moment.
> > > Problems with input:
> > > --------------------
> > > I haven't a faintest idea how to make it work.
> > > Now my box does nothing when I press key bound to
> > > emit 0x9B. Maybe it thinks it's a Meta-Escape?
>
> Can you give me details on what you are exactly doing so I
> can repeat the results.
Ok. You can find everything in the attached tarball.
Have fun,
|