Re: [問題] 香草 0.9.0a1 與 Dvorak 鍵盤排列不合

看板Array作者 (bye~)時間13年前 (2010/12/02 15:31), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《Ice9 (天天想妳)》之銘言: : 中文輸入:香草/行列 (openvanilla 0.9.0a1) : 鍵盤排列:Dvorak : 作業系統:Mac OS X 10.5.8 : 原本我是用 OV 0.8.3。 : 在看到有 OV 0.9.0a1 的消息時便興沖沖地下載安裝使用。 : 用是可以用,但是在鍵盤排列為 Dvorak 時問題就出現了。 : 它會按 Dvorak 字母的排列而排,而不是鍵盤的相對位置; : 在 OV 0.8.x 時並未有這種問題。 : 我只好當它是因為 pre-released 而生,另外乖乖回去用 OV 0.8.3。 : 不知道在 Windows 或 GNU/Linux 上是否有同樣不給設定的問題? 沒想到回到了一年多前的舊文 XD 剛剛在新電腦上裝了 0.9.1, 看樣子這個 bug 還沒修掉. 所以稍微研究了一下, 寫了個 script 暫時把表格轉個檔: (假設使用 bash, OpenVanilla 裝在 /Libarary/Input Methods) 先開一個 terminal 到 OpenVanilla Array Module 輸入法表格檔所在的資料夾: $ cd "/Library/Input Methods/OpenVanilla.app/Contents/Resources/Modules/\ OVIMArray.bundle/Contents/Resources/" 將原本 qwerty 版的表格備份起來: $ mkdir qwerty $ mv *.cin qwerty 把 cin 裡的字碼轉成 dvorak mapping: $ for i in qwerty/*.cin; do perl -p -e \ 's!^[A-Za-z;,./]+!$_=$&;tr#A-Z#a-z#;tr#a-z;,./#axje.uidchtnmbrl'"'"\ 'poygk,qf;swvz#;$_!e' < $i > ${i/qwerty\//}; done 砍掉 OpenVanilla 的 process 讓它重跑以載入新表格: $ kill -9 `ps x | grep [O]penVanilla | cut -b1-5` 這樣亂搞總算是暫時解決問題了 XD 另外我發現新的 0.9.1 版輸入字根到一半的時候, 如果 terminal 畫面更新的話, 就會被強制中斷. (因為我的 screen 有顯示時間到秒...... orz) 剛剛回報了, 希望之後能修好 :p -- Space, the final frontier. These are the voyages of the Star Ship Enterprise. It's continuing mission to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.52 ※ 編輯: chhsiao 來自: 140.112.30.52 (12/02 15:31) ※ 編輯: chhsiao 來自: 140.112.30.52 (12/02 15:31)

12/12 15:06, , 1F
太感謝了!我下星期會試試看。目前當兵休假中,電腦不在手邊.
12/12 15:06, 1F
文章代碼(AID): #1Czqi-a0 (Array)
文章代碼(AID): #1Czqi-a0 (Array)