作者timyeh (孤雁愁)
看板FreeBSD
标题Re: [[问题]终端机下home跟end
时间Sat Dec 2 01:18:00 2006
这是劣者的作法
提供参考
在/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只会显示出"~",而游标不会移动。
--
欲将心事付瑶琴
知音少
弦断有谁听
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.134.116.97