Re: gnome-terminal utf8 環境下的字寬

看板FreeBSD作者時間18年前 (2007/04/30 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
※ 引述《rafan.bbs@Deer.twbbs.org (o_O)》之銘言: > ※ 引述《Edward.bbs@bbs.sayya.org (蒙古大夫 2.0)》之銘言: > > Thanks. > > 好像會有點怪怪的,例如: > > http://edt1023.sayya.org/tmp/ambichars.u8 > > 把這些內容放在命令列,左右頭尾移動游標就常不會到位。 > > 可和 [g]vim 並 set ambiwidth=double,來比較一下。 > Hmm.. report 給 vte maintainer 吧? 可能剛加的新功能沒完全弄好 :p 好像是目前實作的問題? <README> * What's weird? - Relative cursor motion is weird. When the character to the left of the cursor is a 3-byte UTF-8 sequence for a character which occupies two columns on the screen, three things may happen when the application sends the "cursor left" control sequence: * the cursor moves two columns (one character) to the left This eliminates the possibility of moving the cursor into the middle of a multi-column character. * the cursor moves one column (one half-character) to the left This makes determining where the cursor is easier, but requires the application to emit a control sequence more than once for multi-column characters. * the cursor moves one "byte" to the left This is what most OS kernels do when reading input using "cat". It happens to work for a few locales, and is otherwise just plain broken. Currently VTE follows the second convention. </README> 英文太爛,等摸到一些頭緒後再說。:) -- 道隱於小成,言隱於榮華。(莊子.齊物論) -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: edt1023.sayya.org
文章代碼(AID): #16DN5300 (FreeBSD)
文章代碼(AID): #16DN5300 (FreeBSD)