backspace and delete keys behavior
Warren Block
wblock at wonkity.com
Fri Jul 30 16:51:36 PDT 2004
On Fri, 30 Jul 2004, Mariano Guadagnini wrote:
> Hi guys, I am new to Freebsd (after years of linux) and, althought system
> installation and configuration was quite seamlessly, I've an issue with the
> delete key of my keyboard (101 keys us layout): In xterm, the backspace key
> works ok, but when I press del, it prints the "~" character, instead of
> deleting . I have read it has something to do with keyboard layout config,
> but I couldn't find out how to fix it. So, any ideas?
I use csh/tcsh and just put this in .cshrc:
bindkey "^?" delete-char
bindkey "\e[3~" delete-char
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
Seems to work for console and xterm. There's a good web page on this:
http://www.ibb.net/~anne/keyboard.html
-Warren Block * Rapid City, South Dakota USA
More information about the freebsd-questions
mailing list