(fwd) Xlib: faulty cyrillic keymap in xterm

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Tue, 12 Jan 1999 02:50:18 +0200 (EET)

-- forwarded message --
Path: freeland.alex-ua.com!news.alexradio.kiev.ua!not-for-mail
From: mag@h26.216.elnet.msk.ru
Date: Mon, 11 Jan 1999 16:18:34 +0300
Message-ID: <199901111318.QAA04638@magc.cd.2573.savbank.ru>
To: hackers@FreeBSD.ORG, mag@h26.216.elnet.msk.ru, xbugs@x.org
Subject: Xlib: faulty cyrillic keymap in xterm
Newsgroups: alex.gated.freebsd.hackers
Lines: 90
Xref: freeland.alex-ua.com alex.gated.freebsd.hackers:5651

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
$ cd XFree86
$ make
# making with VGA16, S3 (default), without Kerberos,
# with everything else
$ make install
$ cd ../XFree86-contrib
$ make; make install
$ cd /usr/ports/russian/X.language
$ make; make install
# see REPEAT BY for problem description
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
>Section "Pointer"
> Protocol "PS/2"
> Device "/dev/psm0"
> Emulate3Timeout 50
> Emulate3Buttons
>EndSection
>Section "Monitor"
> Identifier "Primary Monitor"
> VendorName "Unknown"
> ModelName "Unknown"
> HorizSync 31.5-48.5
> VertRefresh 55-90
> Modeline "1024x768" 65.00 1024 1040 1184 1340 768 771 777 802 -hsync -vsync
> Modeline "800x600" 50.00 800 804 924 1060 600 601 607 638 +hsync +vsync
> Modeline "640x480" 36.00 640 680 736 792 480 481 484 517 -hsync -vsync
> Modeline "640x400" 31.50 640 648 712 808 400 405 408 437 -hsync +vsync
>EndSection
>Section "Device"
> Identifier "Primary Card"
> VendorName "Unknown"
> BoardName "None"
>EndSection
>Section "Screen"
> Driver "Accel"
> Device "Primary Card"
> Monitor "Primary Monitor"
> SubSection "Display"
> Depth 8
> Modes "1024x768" "800x600" "640x480" "640x400"
> EndSubSection
> SubSection "Display"
> Depth 16
> Modes "1024x768" "800x600" "640x480" "640x400"
> EndSubSection
> SubSection "Display"
> Depth 24
> Modes "800x600" "640x480" "640x400"
> EndSubSection
> SubSection "Display"
> Depth 32
> Modes "800x600" "640x480" "640x400"
> EndSubSection
>EndSection
># --

$ startx
# press <Caps Lock> in xterm window
# if you press <h> in xterm window you see
# <<<Cyrillic_YU>>> (it is wrong)
# but not <<<Cyrillic_er>>>

SAMPLE FIX: replacing libX11.so.6.1 from X11R6_332 (with patches 1, 2 and 3)
fixes described problem :-(

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

-- 
С тем, что не помешает никогда,
                                               Kittle