http://www.ibb.net/~anne/keyboard/keyboard.html#Tcsh
Tcsh
If you use the tcsh shell, put the following lines in your /etc/cshrc or your
personal ~/.cshrc file:
#.cshrc
if ($term == "xterm" || $term == "vt100" \
|| $term == "vt102" || $term !~ "con*") then
# bind keypad keys for console, vt100, vt102, xterm
bindkey "\e[1~" beginning-of-line # Home
bindkey "\e[7~" beginning-of-line # Home rxvt
bindkey "\e[2~" overwrite-mode # Ins
bindkey "\e[3~" delete-char # Delete
bindkey "\e[4~" end-of-line # End
bindkey "\e[8~" end-of-line # End rxvt
endif
To see whether it works or not, type:
[localhost]> source .cshrc
|