changing keyboard behaviour

Warren Block wblock at
Tue Aug 30 23:07:49 GMT 2005

On Tue, 30 Aug 2005, manish jain wrote:

> i am a freebsd newbie and i love it. i used linux for
> quite some time and gave it up for many reasons.
> i want my console's delete key to work as forward
> delete and not as backspace. can anyone help me out
> with this small problem ?

It would help to know which shell you are using, but:

> i will be glad if somebody has a .inputrc to make keys
> in freebsd to mean pretty much the same as in linux.

I think that's a bashism, and the default shell for FreeBSD is csh/tcsh.
In csh, you would add this to your .cshrc:

bindkey "^?" delete-char
bindkey "\e[3~" delete-char

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list