From owner-freebsd-hackers Mon Jan 11 05:43:28 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04240 for freebsd-hackers-outgoing; Mon, 11 Jan 1999 05:43:28 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04235 for ; Mon, 11 Jan 1999 05:43:16 -0800 (PST) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.37]) by rnocserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id SAA18015; Mon, 11 Jan 1999 18:41:30 +0500 (ES) (envelope-from joy@urc.ac.ru) Message-ID: <3699FF89.C4E389DC@urc.ac.ru> Date: Mon, 11 Jan 1999 18:41:29 +0500 From: Konstantin Chuguev Organization: Southern Regional Center of FREEnet X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: mag@h26.216.elnet.msk.ru CC: hackers@FreeBSD.ORG, xbugs@x.org Subject: Re: Xlib: faulty cyrillic keymap in xterm References: <199901111318.QAA04638@magc.cd.2573.savbank.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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