星期六, 12月 08, 2007

轉載:FreeBSD 使用 BASH 中文輸入設定


Pank's Blog 看到,把它記下來,下次才不會又得再找一次


FreeBSD 使用 BASH 中文輸入設定


在 ~/.inputrc 檔增加設定如下:
# inputrc - global inputrc for libreadline
# See readline(3readline) and `info rluserman' for more information.
# Be 8 bit clean.
set meta-flag on
set input-meta on
set output-meta on
# To allow the use of 8bit-characters like the german umlauts, comment out
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.
set convert-meta off