終端機下home跟end - BBS

Table of Contents

這是劣者的作法
提供參考
在/etc/profile新增一行
export INPUTRC=/etc/inputrc
在/etc下新增inputrc
檔案內容
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert

※ 引述《[email protected] (瘋掉了瘋掉了瘋掉了)》之銘言:
: 請問各位
: freebsd 6.1, 使用putty連線
: 使用者帳號用tcsh
: 請問該怎樣讓command line可以接受home, end。
: 讓游標移動到頭或尾。
: 因為我的putty只會顯示出"~",而游標不會移動。

--
欲將心事付瑤琴
知音少
絃斷有誰聽

--

All Comments