LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 682|回复: 2

mrxvt下如何使用Home 和End键?

[复制链接]
发表于 2005-4-13 03:47:42 | 显示全部楼层 |阅读模式
使用mrxvt4。0时,按Home End Pageup Pagedown insert,都是~

这个有什么办法吗?
发表于 2005-4-14 13:30:57 | 显示全部楼层
Solomon:~# cat .inputrc
#set bell-style none
# Be 8 bit clean.
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

#"\eOH": begining-of-line # home key
#"\eOF": end-of-line # end key
#"\eOu": "Yeeha!" # middle key on keypad, no-numlock

#"ESC [ 1 ~"  HOME
#"ESC [ 4 ~"  END
#"ESC [ 2 ~"  INS
#"ESC [ 3 ~"  DEL

# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line              # HOME
"\e[4~": end-of-line                    # END
"\e[5~": beginning-of-history   # PAGEUP
"\e[6~": end-of-history                 # PAGEDOWN

#"\e[3~": delete-char
#"\e[2~": quoted-insert

"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word

# for rxvt
#"\e[7~": beginning-of-line
#"\e[8~": end-of-line


#"\eOc": forward-word
#"\eOd": backward-word

# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
#"\eOH": beginning-of-line
#"\eOF": end-of-line

# for freebsd console
#"\e[H": beginning-of-line
#"\e[F": end-of-line


Solomon:~#
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-16 01:35:19 | 显示全部楼层
谢谢,搞定!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表