Re: [dev] [st] zsh and del/pos1 key

2013-01-18 Thread Christoph Lohmann
Greetings. On Fri, 18 Jan 2013 19:23:24 +0100 "Roberto E. Vargas Caballero" wrote: > > This works for Del in bash. > > But it doesn't fix Pos1 or Del in zsh. > > > You can find the information in the zsh FAQ > (http://zsh.sourceforge.net/FAQ/zshfaq03.html#l25) about how get it working > with t

Re: [dev] [st] zsh and del/pos1 key

2013-01-14 Thread Roberto E. Vargas Caballero
> This works for Del in bash. > But it doesn't fix Pos1 or Del in zsh. You can find the information in the zsh FAQ (http://zsh.sourceforge.net/FAQ/zshfaq03.html#l25) about how get it working with terminals with smkx and rmkx sequences. I also add the patch to the st FAQ with the information. >Fr

Re: [dev] [st] zsh and del/pos1 key

2013-01-07 Thread Roberto E. Vargas Caballero
> Roberto E. Vargas Caballero: > > http://lists.suckless.org/dev/1212/13848.html > > This works for Del in bash. > But it doesn't fix Pos1 or Del in zsh. > Even "echo ^[?1h^[= >/dev/tty" command? (^[ means \01b, you can get it using ^v Esc) In the thread we agreed that we should point the b

Re: [dev] [st] zsh and del/pos1 key

2013-01-07 Thread ilf
Roberto E. Vargas Caballero: http://lists.suckless.org/dev/1212/13848.html This works for Del in bash. But it doesn't fix Pos1 or Del in zsh. -- ilf Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg! -- Eine Initiative des Bundesamtes für Tastaturbe

Re: [dev] [st] zsh and del/pos1 key

2013-01-07 Thread Roberto E. Vargas Caballero
On Mon, Jan 07, 2013 at 08:47:08AM +0100, Roberto E. Vargas Caballero wrote: > On Sun, Jan 06, 2013 at 09:43:49PM +0400, p37si...@lavabit.com wrote: > > This patch "fixes" it for me. Don't know how to fix it correctly yet. > > Please take a look to this message in the list: > >http://lists

Re: [dev] [st] zsh and del/pos1 key

2013-01-06 Thread Roberto E. Vargas Caballero
On Sun, Jan 06, 2013 at 09:43:49PM +0400, p37si...@lavabit.com wrote: > This patch "fixes" it for me. Don't know how to fix it correctly yet. Please take a look to this message in the list: http://lists.suckless.org/dev/1212/13848.html Maybe we should add the information in the FAQ.

Re: [dev] [st] zsh and del/pos1 key

2013-01-06 Thread p37sitdu
This patch "fixes" it for me. Don't know how to fix it correctly yet. 141,142c141,142 < { XK_KP_Delete, XK_ANY_MOD, "\033[P", -1,0,0}, < { XK_KP_Delete, XK_ANY_MOD, "\033[3~", +1,0,0}, --- > /*{ XK_KP_Delete, XK_ANY_MOD, "\033[P",

Re: [dev] [st] zsh and del/pos1 key

2013-01-06 Thread p37sitdu
On Sun, Jan 06, 2013 at 04:39:57PM +0100, ilf wrote: > For me, in st (current git) the Pos1 and Del keys don't work in an > interactive zsh. End and Backspace work though. > > In bash, Pos1 works, but Del doesn't. > > In vim, everything works. > > Can anyone reproduce this? Any hint on how to de

Re: [dev] [st] zsh and del/pos1 key

2013-01-06 Thread p37sitdu
On Sun, Jan 06, 2013 at 04:39:57PM +0100, ilf wrote: > For me, in st (current git) the Pos1 and Del keys don't work in an > interactive zsh. End and Backspace work though. > > In bash, Pos1 works, but Del doesn't. > > In vim, everything works. > > Can anyone reproduce this? Any hint on how to de

[dev] [st] zsh and del/pos1 key

2013-01-06 Thread ilf
For me, in st (current git) the Pos1 and Del keys don't work in an interactive zsh. End and Backspace work though. In bash, Pos1 works, but Del doesn't. In vim, everything works. Can anyone reproduce this? Any hint on how to debug/fix? -- ilf Über 80 Millionen Deutsche benutzen keine Konsole