June 19,2007
TCL/TK 及 Scipad 之中文問題
ADE 中文 Scilab 在 Linux 版使用 ScilabGTK 為基礎,並且使用 TCL/TK 8.5a 版但還是有中文輸入輸出問題 (與 Scilab 無關)。
- 安裝 TCL/TK 8.5a 後, 編輯器 SciPad 還是無法輸入中文 (不顯現)
( 位於 "tcl/scipadsources/commonbindings.tcl" 指令
bind Text <KeyPress> {if {{%A} != {{}}} {puttext %W %A}}
要改為bind Text <KeyPress> { puttext %W %A}
中文才能顯示。
已回報 Scilab 討論群
- 選擇文字之後再按 <CTL+C> 會清空選擇範圍
位於 "tcl/scipadsources/inputtext.tcl" 指令if {[gettaselind $w single] != ""} {
要刪除。
$w delete sel.first sel.last
}
引用URL
http://cgi.blog.roodo.com/trackback/3495861