[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backspace and delete
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: backspace and delete
- From: Nikolay Sturm <sturm_(_at_)_physik_(_dot_)_rwth-aachen_(_dot_)_de>
- Date: Sun, 10 Sep 2000 09:03:30 +0200 (MEST)
On Sat, 9 Sep 2000, ktb wrote:
>to the left (which it does) and my <delete> key to delete to the right.
>What my <delete> does when I push it is output "~"
>I'm using ksh and vt220.
There is a command called bind in ksh, which lets you assign functions to
keys:
bind 'E'=delete-char-forward
binds normal del behaviour to E. I only did a quick look, but couldn't
find the code for the del key (in bash it is \e[3~). So find that and
assign as shown.
bye,
Nikolay
--
GPG: 1024D/3FA0A979 12EF 381A E1BC 8032 3B00 11CA 8364 1506 3FA0 A979
Wake up and piss, the world is on fire!
Visit your host, monkey.org