home, end, delete, pageup, pagedown with ksh

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicolas Letellier
Date: Monday, October 12, 2009 - 1:54 pm

Hello.

I want to use home, end, delete, pageup, pagedown with ksh. My TERM is 
xterm-color. These keys works fine with tcsh and zsh, but not with ksh 
(print a tilda ~)

I found this:

bind '^[[3'=prefix-2
bind '^[[3~'=delete-char-forward
bind '^[[1'=prefix-2
bind '^[[1~'=beginning-of-line
bind '^[[4'=prefix-2
bind '^[[4~'=end-of-line

But when I set one bindkey, the last does not work anymore.

How can I use these keys in ksh with a .kshrc ?

Best regards,

-- 
Nicolas
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
home, end, delete, pageup, pagedown with ksh, Nicolas Letellier, (Mon Oct 12, 1:54 pm)
Re: home, end, delete, pageup, pagedown with ksh, Nicholas Marriott, (Tue Oct 13, 12:57 am)
Re: home, end, delete, pageup, pagedown with ksh, Nicolas Letellier, (Tue Oct 13, 2:00 am)
Re: home, end, delete, pageup, pagedown with ksh, Nicholas Marriott, (Tue Oct 13, 2:26 am)
Re: home, end, delete, pageup, pagedown with ksh, Markus Hennecke, (Tue Oct 13, 3:29 am)
Re: home, end, delete, pageup, pagedown with ksh, Nicolas Letellier, (Tue Oct 13, 5:00 am)