終端機下home跟end - BBS

By Jessica
at 2006-12-02T01:18
at 2006-12-02T01:18
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只會顯示出"~",而游標不會移動。
--
欲將心事付瑤琴
知音少
絃斷有誰聽
--
提供參考
在/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只會顯示出"~",而游標不會移動。
--
欲將心事付瑤琴
知音少
絃斷有誰聽
--
Tags:
BBS
All Comments
Related Posts
Apache 權限問題

By George
at 2006-12-01T22:03
at 2006-12-01T22:03
Apache 權限問題

By Rebecca
at 2006-12-01T15:38
at 2006-12-01T15:38
NAT的設定

By Margaret
at 2006-11-28T18:32
at 2006-11-28T18:32
NAT的設定

By Andy
at 2006-11-28T17:26
at 2006-11-28T17:26
NAT的設定

By Todd Johnson
at 2006-11-28T15:33
at 2006-11-28T15:33