console and bash - how to get Delete key working properly ?
jb.1234abcd at gmail.com
Fri Dec 3 13:41:23 UTC 2010
I searched BSD docs and Google for answers, but none of them works.
By "working properly" I mean for Del key to delete char under the cursor
and not the previous one.
It works in gnome xterm, but not in console.
It works in sh with config hint from FreeBSD handbook:
bind ^? ed-delete-next-char # for console
bind ^[[3~ ed-delete-next-char # for xterm
but not in bash (with or w/o the hint).
Having readline lib installed does not make any difference as well.
$ uname -r
$ env |grep -i shell
$ ls /var/db/pkg/bash-4.1.7/
No readline lib installed.
More information about the freebsd-questions