You are not logged in.
I hope this is the right forum to post this problem, else please move it to the right forum.
I have zsh and urxvt installed and I am quite pleased with it, except for one problem,
When I push the delete button in urxvt I get a ~ instead of deleting the next character. In aterm and xterm I don't have this problem.
I'm sure that there is a way to make the right keybinding for this, but I can't find the solution. Is there someone who can point me in the right direction?
Last edited by NeoXP (2009-02-24 21:00:02)
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline
These are my most current bindkeys...
case $TERM in (rxvt*) #urxvt
bindkey "\e[7~" beginning-of-line
bindkey "\e[8~" end-of-line
esac
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey '^?' backward-delete-char
bindkey "\e[3~" delete-char
Open a terminal, hit ctrl-V, and press delete. It should print the key generated. The first ^[ is escaped as \e.
So, on my terminal I see ^[[3~
I put bindkey "\e[3~" delete-char in my ~/.zshrc, and there you go.
Cthulhu For President!
Offline
Thxs,
Now it is working just fine.
Problem solved.
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline