kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

輸入法熱鍵和 vim, nano 等程式衝突 #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
發現 Ctrl-Space 其實會影響到一些編輯器程式。 ( 
已確定有影響的有 vim, nano
)。目前在
jfbterm+ucimf 
上並沒有產生這個問題,猜想會不會是沒有將用過的 
Ctrl-Space 丟掉?

我測試過的版本有 fbterm-1.3 及 fbterm-1.4,使用 gentoo 安裝

我的主機資訊如下:
Linux localhost 2.6.26-gentoo-r1 #7 SMP Tue Mar 10 12:50:20 CST 2009 i686
Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux

Original issue reported on code.google.com by MatLinuxer2 on 19 Mar 2009 at 6:23

GoogleCodeExporter commented 8 years ago
try this patch for FbTerm 1.4

Original comment by zgchan...@gmail.com on 21 Mar 2009 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
原本的情況:
進 vim Insert Mode 後,按 Ctrl-Space 就立刻跳出

applied patched 後的情況:
進 vim Insert Mode 後,按 Ctrl-Space 
,再按任何一鍵後,就立刻跳出。

Original comment by MatLinuxer2 on 21 Mar 2009 at 4:24

GoogleCodeExporter commented 8 years ago
While user pressing down Ctrl-Space to enable IM server, FbTerm 1.4 changes 
keyboard 
mode from K_UNICODE to K_MEDIURAW to ask kernel to send raw keycode for next 
user 
input. But kernel will first send keycodes of the release Ctrl-Sapce, FbTerms 
redirects them to IM server, which may cause problem! The attached patch above 
has 
fixed this bug.

please debug your IM server to check whether IM server receive correct keycodes 
and 
send the correct translated term string to FbTerm.

Original comment by zgchan...@gmail.com on 21 Mar 2009 at 5:28

GoogleCodeExporter commented 8 years ago
Cool. I found this cause of the bug, and fixed it in latest libucimf-2.2.7 and
fbterm_ucimf-0.2.4.
Thank you very much for your support. :-)

Original comment by MatLinuxer2 on 23 Mar 2009 at 6:13