|
XCIN Mail-list
|
| Indexed By Date: [Previous] [Next] | Indexed By Thread: [Previous] [Next] |
| Subject: | Re: OverTheSpot 與酷音輸入法搭配問題 |
| From: | thhsieh@tlug.sinica.edu.tw |
| Date: | Tue, 23 Jan 2001 23:43:45 +0800 |
| To: | xcin@linux.org.tw |
| Delivered-To: | xcin-gate@tlug.sinica.edu.tw |
| Delivered-To: | xcin-list@tlug.sinica.edu.tw |
| Reply-To: | xcin@tlug.sinica.edu.tw |
| User-Agent: | Mutt/1.2.5i |
很抱歉,最近一直很忙,所以直到現在才有時間過來看這個問題 .... : 我剛才從CVS更新了xcin,並且也順便裝了酷音輸入法 : 但用一用馬上發現問題:x... : 如果把START_MAINWIN2打開的話 : 這樣酷音在選詞時就會crash掉.... : 而且是Floating point exception.... : 但是如果把START_MAINWIN2關掉的話倒是一切正常 : : 直接把core拿來debug發現是死在 : choice.c:139: pci->nPage = CEIL_DIV(pci->nTotalChoice, pci->nChoicePerPage) ; : 嗯 奇怪的除以零錯誤... : : 另外本來想直接attach xcin的.. : 但一進gdb就整個卡死... : xcin和gdb都停住動不了 還得硬把X關掉才能出去kill..^^; : : 請居士或龔大哥,陳大哥看看吧...^^ 我剛剛修改了 chewing-0.0.5 的 source, 以配合目前的 xcin-2.5.2.X, 修改過的 patch 在這裡: ftp://xcin.linux.org.tw/pub/xcin/xcin/contrib/chewing-0.0.5.diff.gz 這個 patch 修改了幾個地方: 1. chewing 並沒有設 inpinfo->keystroke_len 的值,這使得 OverTheSpot 模式下,在打第一個字時 xcin 無法叫出 OverTheSpot 視窗。 2. 在 OverTheSpot 模式下,其 inpinfo->xcin_wlen 值永遠是零,原因是 OverTheSpot 的視窗長度不固定,而且經常變動,故在此無法給定一個 視窗大小的上限。因此,在 chewing 中我改成如果發現 xcin_wlen 是 零時,就自行預設一個上限。我將上限的預設值定為 80。如此便可解決 vgod 兄所提到的 Floating point exception.... 的問題。 3. 如果打字中途有選字,然後 commit 字串後,chewing 並沒有將 n_mcch 設回零,這會造成 commit 字串後 xcin 視窗內容不正確。 這個 patch 麻煩龔大哥,陳大哥參考看看 :-)) T.H.Hsieh To Unsubscribe: send mail to majordomo@linux.org.tw with "unsubscribe xcin" in the body of the message
| Indexed By Date | Previous: |
Re: 52001-53000 所遇到的問題 From: thhsieh@tlug.sinica.edu.tw |
|---|---|---|
| Next: |
[FWD:] rxvt 對 blink/bold 顯示錯誤的解決法 From: thhsieh@tlug.sinica.edu.tw |
|
| Indexed By Thread | Previous: |
Re: OverTheSpot 與酷音輸入法搭配問題 From: vgod <vgod@CirX.org> |
| Next: |
Re: OverTheSpot 與酷音輸入法搭配問題 From: Kang-Ming Liu <gugod@gugod.org> |