[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:47437] Re: SCIMでctrl+spaceが効かなくなった(長文失礼)



笠原です。

斉藤さん、矢吹さん情報ありがとうございます。

私はへなちょこなので。。。

> また、$HOME/.scim を削除/移動させて改めて設定ファイルを作成した場合に
> はどうなるでしょうか?

をやりました。アプリケーションには、gnomeテキストエディタを使いました。

まず、
sakura:~# egrep -i "space" .scim/config
/Hotkeys/FrontEnd/Trigger = Control+space
sakura:~#
の状態で、

ctrl+space  : 無反応
shift+space : スペースが文字列として入力される

と言う結果になりました。

で、「SCIMを設定」から「フロントエンド」→「全体設定」→「開始/終了」
のキーバインドを Shift+space に変更したところ

sakura:~# egrep -i "space" .scim/config
/Hotkeys/FrontEnd/Trigger = Shift+space
sakura:~#
と言う状態になり

ctrl+space  : 無反応
Shift+space : 日本語入力モードに移行

と言う結果になりました。これだけの結果を見る限り scim の
/Hotkeys/FrontEnd/Trigger = Control+space
がちゃんと動かなくて、
/Hotkeys/FrontEnd/Trigger = Shift+space
であればちゃんと動くという障害のように思えるのですが、
どうなんでしょうか??

と言うことで、次はscimにちゃんと[ctrl + space]のキーコードが渡って
いるのか?と言うことになるんですけど

sakura:~# COLUMNS=80 ps axef | grep scim
 1574 pts/0    S+     0:00          \_ grep scim TERM=screen SHELL=/bin/bash SSH
 1457 ?        Z      0:00  \_ [scim] <defunct>
 1462 ?        Ss     0:00 /usr/lib/scim-1.0/scim-launcher -d -c simple -e all -
 1473 ?        Ss     0:00 /usr/lib/scim-1.0/scim-helper-manager VNCDESKTOP=saku
 1474 ?        Ssl    0:01 /usr/lib/scim-1.0/scim-panel-gtk --display :1.0 -c so
 1476 ?        Ss     0:00 /usr/lib/scim-1.0/scim-launcher -d -c socket -e socke
 1537 ?        Ss     0:00 /usr/lib/scim-1.0/scim-helper-launcher --daemon --con
sakura:~#
なので、

■ 左ctrl押下 space押下 space開放 左ctrl開放
sakura:~# strace -p1462
Process 1462 attached - interrupt to quit
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320n\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Z\0\0\0\6\343\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320N\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\343\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\20s\5\221", 4)               = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Z\0\0\0\6\343\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\20S\5\221", 4)               = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\343\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL <unfinished ...>
Process 1462 detached
sakura:~#

■ 右ctrl押下 space押下 space開放 右ctrl開放
sakura:~# strace -p1462
Process 1462 attached - interrupt to quit
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320o\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Z\0\0\0\6\344\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320O\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\344\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\20t\5\221", 4)               = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Z\0\0\0\6\344\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\20T\5\221", 4)               = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\344\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL <unfinished ...>
Process 1462 detached
sakura:~#

■ 左shift押下 space押下 space開放 左shift開放
sakura:~# strace -p1462
Process 1462 attached - interrupt to quit
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320l\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Z\0\0\0\6\341\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\320L\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\341\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\24\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\222H\0", 4)                = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1l\0\0\0\3Z\0\0\0", 20) = 20
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIMW\0\0\0{\7\234x\1\2\0\0\0\1\247\0\0\0\4$\0"..., 103) = 103
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "`\20\4\221", 4)               = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6 \0\0\0\1\200"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL) = 1 (in [11])
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\0\0\0\0", 4)                 = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "SCIM\35\0\0\0", 8)            = 8
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\340P\5\221", 4)              = 4
select(12, [11], NULL, NULL, {5, 0})    = 1 (in [11], left {5, 0})
read(11, "\1\1\0\0\0\3\205R\0214\1d\0\0\0\3Y\0\0\0\6\341\377\0\0"..., 29) = 29
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(11, "\0\0\0\0SCIM\n\0\0\0`\10\0\0\1\2\0\0\0\1\4\0\0\0", 26) = 26
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(15, [3 4 5 6 7 8 9 11 12], NULL, [3 4 5 6 7 8 9 11 12], NULL <unfinished ...>
Process 1462 detached
sakura:~#

・・・で、ごめんなさい。何がctrlキーで何がshiftなのか分からないです。
ただ、上記ログを取るときにじっと画面を見ていると、ctrlキーを押したり
放したりするタイミングで画面が動いたので、きっとctrlキーの信号はちゃん
とscimまで届いていると思うのですが。。。

で、矢吹さんの教えてくれた
http://sourceforge.jp/projects/scim-imengine/
に行ってみたら、なんかetchのよりもものすごく版数の上がった
scimなモノ達が沢山あります。。。。

ここまでで、挫折しました(-_-;)
コンピュータをctrl+spaceで動くように修正するよりも、自分の身体を
shift+spaceで動くように修正した方が簡単そうな気がしてきました。。。

どうもお騒がせして申し訳ありませんでした。

Sat, 7 Oct 2006 17:27:10 +0900 に SAITO Naohiko <hu3n-situ@xxxxxxxxxxxxxxx> さんが
[debian-users:47435] Re: SCIMでctrl+spaceが効かなくなった で書きました。

> 
> 斉藤%Shift+spaceでないとEmacsで泣ける old type だったりします。
> 
> At Sat, 7 Oct 2006 13:34:11 +0900,
> Mitsuo KASAHARA wrote:
> > 先程メールを投げた ctrl+space で日本語入力の on/off が出来ない
> > 件ですが、例えばマインスイーパーで ctrl+N をすれば新しいゲームが
> > 開始されるという意味では ctrl+「何か」の入力は正常に実施出来ています。
> > 
> > こんな症状の時には何を疑ったら良いのでしょうか。。。
> > #他のアプリでは ctrl+「何か」 が正常に認識されるということは、
> >  まずはSCIMのBTSを当たるべきなのでしょうか??
> >  何のBTSを当たるべきかも現在想像もつかない状況です。。 
> 
> あとあとのことを考えた調べかたは矢吹さんに譲るとして、
> $HOME/.scim/config の /IMEngine/Anthy/OnOffKey がどうなっているか、ま
> た Control+space という部分が他にかぶっていないかを調べてみるという手
> もあります。
> 
> また、$HOME/.scim を削除/移動させて改めて設定ファイルを作成した場合に
> はどうなるでしょうか?
> 
> -- 
> 斉藤直彦 <http://www.trashbox.jp/~saito/> <http://deb.dip.jp/~nao/d/>
> 

-- 
笠原光朗 (Mitsuo KASAHARA)
gaunt@xxxxxxxxxxxxxxxxxxxxx