# ---- Begin  /etc/inputrc

# Make sure we dont output everything on the 1 line
set horizontal-scroll-mode Off

# Enables 8 bit input
set meta-flag On
# Enables 8 bit input
set input-meta On
# Turns off 8th bit stripping
set convert-meta Off
# Keep the 8th bit for display
set output-meta On
# none,visable or audible
set bell-style none

# All of the following map the escape sequence of the
# value contained inside the 1st argument to the
# readline specific functions

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

# for linux console
"\e[1~": beginning-of-line
"\e[2~": quoted-insert
"\e[3~": delete-char
"\e[4~": end-of-line
#"\e[5~": beginning-of-history
#"\e[6~": end-of-history

# home key
#"\e[1~":beginning-of-line
# insert key
#"\e[2~":kill-whole-line
# del key
#"\e[3~":delete-char
# end key
#"\e[4~":end-of-line
# pgup key
"\e[5~":history-search-forward
# pgdn key
"\e[6~":history-search-backward

# for xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# ---- End  /etc/inputrc
