LinuxSir.cn,穿越时空的Linuxsir!

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

谁能解译一下/etc/inputrc文件

[复制链接]
发表于 2006-11-18 22:18:23 | 显示全部楼层 |阅读模式
  1. # /etc/inputrc
  2. # This file configures keyboard input for programs using readline.
  3. # See "man 3 readline" for more examples.

  4. # Configure the system bell.  Options are none, visible, and audible.
  5. #set bell-style none

  6. # Enable 8 bit input.
  7. set meta-flag On
  8. set input-meta On
  9. set convert-meta Off
  10. set output-meta On

  11. # Set various nice escape sequences:
  12. "\eOd": backward-word
  13. "\eOc": forward-word

  14. # for linux console
  15. "\e[1~": beginning-of-line
  16. "\e[4~": end-of-line
  17. "\e[5~": beginning-of-history
  18. "\e[6~": end-of-history
  19. "\e[3~": delete-char
  20. "\e[2~": quoted-insert

  21. # for xterm
  22. "\eOH": beginning-of-line
  23. "\eOF": end-of-line

  24. # for freebsd console
  25. "\e[H": beginning-of-line
  26. "\e[F": end-of-line
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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