hns - 日記自動生成システム - Version 2.19.9

先月 2003年12月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2003年12月12日(金) 旧暦 [n年日記]

#1 [XFree86] /usr/X11R6/lib/X11/xkb/keycodes/macintosh

The configuration I am using without any particular idea was
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "Protocol"      "wskbd"
    Option      "Device"        "/dev/wskbd1"

    Option      "AutoRepeat"    "500 5"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "macusb"
    Option      "XkbLayout"     "jp"
    Option      "XkbVariant"    "altjp"
    Option      "XkbGeometry" "kinesis"
EndSection
This at least refers the file
/usr/X11R6/lib/X11/xkb/keycodes/macintosh and its "usb" part.
I have added the line
+    <DELE> =  84;

setxkbmap -rules xfree86 -model macusb -layout jp -variant altjp:

Then I have run
21:41   setxkbmap -rules xfree86 -model macusb -layout jp -variant altjp
in usb part, of which DELE was missing. It now changes the output of Emacs/xfns.c equivalent checking program.
delete_keycode: 84
backspace_keycode: 50
xk_delete: 50
xk_backspace: 84
But this still give me
normal-erase-is-backspace nil 'cause the code is swapped. Actually this was before I have run xmodmap. After the daily xmodmap, I am getting
delete_keycode: 84
backspace_keycode: 50
xk_delete: 0
xk_backspace: 84
still looks bad. The line was:
keycode 50 = 0177
I have changed this line into
keycode 50 = Delete
Now I am getting really swapped. delete_keycode: 84 backspace_keycode: 50 xk_delete: 50 xk_backspace: 84



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)