Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 18:41:29 +0500
From:      Konstantin Chuguev <joy@urc.ac.ru>
To:        mag@h26.216.elnet.msk.ru
Cc:        hackers@FreeBSD.ORG, xbugs@x.org
Subject:   Re: Xlib: faulty cyrillic keymap in xterm
Message-ID:  <3699FF89.C4E389DC@urc.ac.ru>
References:  <199901111318.QAA04638@magc.cd.2573.savbank.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
mag@h26.216.elnet.msk.ru wrote:
> 
>     VERSION: R6.3, public-patch-3 (X11R6_333)
>     Intel/FreeBSD 2.2.8
>     DISPLAY TYPE: S3 Trio64V2
>     WINDOW MANAGER: twm
>     COMPILER: gcc 2.7.2.1
>     AREA: Xlib
>     SYNOPSIS: faulty cyrillic keymap in xterm
>     DESCRIPTION: I have built XFree86, contrib and russian fonts from ports:
>                 $ cd /usr/ports/x11
... skipped

>     REPEAT BY: simple test:
> 
>                 ># partial contents of /etc/XF86Config
>                 >...
>                 >Section "ServerFlags"
>                 >   DontZap
>                 >EndSection
>                 >Section "Keyboard"
>                 >   Protocol        "Standard"
>                 >   XkbRules        "xfree86"
>                 >   XkbModel        "pc104"
>                 >   XkbLayout       "ru"
>                 >   XkbOptions      "grp:toggle"
>                 >   AutoRepeat      250 30
>                 >EndSection
... skipped
> 
>     SAMPLE FIX: replacing libX11.so.6.1 from X11R6_332 (with patches 1, 2 and 3)
>                 fixes described problem :-(
> 
I use 3.3.3 with XkbLayout "ru" and XkbOptions "grp:toggle" during several
weeks on two different machines (PC and notebook), xterm and all other
applications work fine.
The only difference is that I have XkbModel "pc101".
I think the problem is caused by wrong xkb scheme (though I never
tried "pc104" myself), not by libX11.

Could you try "pc101" just to test?

IMO, the best tool for testing keyboard mappings is xev (from XFree86-contrib).
You just have to localize it: insert
	#include <Xlocale.h>
in the header section and
	setlocale(LC_ALL, "");
somewhere before initializing X application in main(), then recompile it.

Unfortunately, I have this patch only at home, now I am off.


--
	Konstantin V. Chuguev.		System administrator of Southern
	http://www.urc.ac.ru/~joy/	Ural Regional Center of FREEnet,
	mailto:joy@urc.ac.ru		Chelyabinsk, Russia.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3699FF89.C4E389DC>