Re: [dev] [st] delele behaves as backspace... again

2015-02-03 Thread k0ga
> Thanks k0ga. I have not taken the time to check whether this is on the > wiki or on git, but last week I updated my suckless software packages > and patches and to have this was definitely a good thing. I have uploaded it to the wiki, but I have to add a README about it. Regards,

Re: [dev] [st] delele behaves as backspace... again

2015-02-02 Thread Martti Kühne
On Tue, Nov 4, 2014 at 7:24 PM, wrote: > If you are interested, > >> - Modify the keys generated by st. This option is not dificult, >> because you >> only have to modify the values in your config.h (I think I should put >> this >> option in the FAQ to). > > If you are interes

Re: [dev] [st] delele behaves as backspace... again

2014-11-11 Thread k0ga
I have tested with your .zshrc and I don't have the problem you describe. Are you sure that your config.h has the modifications the patch adds to config.def.h? Regards,

Re: [dev] [st] delele behaves as backspace... again

2014-11-11 Thread Henrique Lengler
On Tue, Nov 11, 2014 at 07:53:06AM +0100, k...@shike2.com wrote: > Do you have something in .zshrc? # completion autoload -U compinit compinit # correction setopt correctall # prompt autoload -U promptinit promptinit prompt gentoo #Prevent from putting duplicate lines in the history setopt HIST

Re: [dev] [st] delele behaves as backspace... again

2014-11-10 Thread k0ga
> Sorry, it is zsh. > It should work. I don't know why it doesn't work for you. Do you have something in .zshrc? Regards,

Re: [dev] [st] delele behaves as backspace... again

2014-11-06 Thread Nils R
Am 03.11.2014 11:06 schrieb k...@shike2.com: > > > Hi folks, > > > >  my delete-key behaves as backspace since commit > >  9d9e049eac3dacb2725f9d792f7cdd2230062313 on all my linux machines > >  (debian, fedora, ubuntu) and openbsd. > > > >  i had this problem in the past (and wrote to this li

Re: [dev] [st] delele behaves as backspace... again

2014-11-06 Thread Henrique Lengler
On Thu, Nov 06, 2014 at 09:30:55AM +0100, k...@shike2.com wrote: > I asked you about your shell, not about your terminal emulator. > > Regards, Sorry, it is zsh. -- Henrique Lengler https://gitorious.org/~henriqueleng Skype: No way! That's nonfree (freedom-denying) software. Wanna ta

Re: [dev] [st] delele behaves as backspace... again

2014-11-06 Thread k0ga
>> So, it should be recognized as Delete key. What shell are you using? >> >> Regards, > > st - simple terminal > I asked you about your shell, not about your terminal emulator. Regards,

Re: [dev] [st] delele behaves as backspace... again

2014-11-05 Thread Henrique Lengler
On Wed, Nov 05, 2014 at 09:11:09AM +0100, k...@shike2.com wrote: > So, it should be recognized as Delete key. What shell are you using? > > Regards, st - simple terminal -- Henrique Lengler

Re: [dev] [st] delele behaves as backspace... again

2014-11-05 Thread k0ga
>> Output of infocmp attached: out.txt >> >> Output of ^VDelete: >> >> ^[[3~ >> > > > You appear to have mistyped something. CSI requires only one bracket. ^[ is the ESC representation, so ^[[ is CSI. The terminal is generating CSI 3 ~, that from your infocmp output is kdch1: kdch1=\E[

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread Martti Kühne
On Tue, Nov 4, 2014 at 9:11 PM, Henrique Lengler wrote: > > Output of infocmp attached: out.txt > > Output of ^VDelete: > > ^[[3~ > You appear to have mistyped something. CSI requires only one bracket. cheers! mar77i

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread Greg Reagle
On Tue, Nov 4, 2014, at 01:24 PM, k...@shike2.com wrote: > If you are interested in this solution this is the patch: Thank you very much, that is much better. Now my Backspace keys deletes one character to the left AND my Delete key deletes one character to the right, on the command line and in n

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread Henrique Lengler
On Tue, Nov 04, 2014 at 08:30:23PM +0100, k...@shike2.com wrote: > Can you send the output of: > > infocmp > > and the output of > > cat > ^VDelete (press first control V and then Delete key) > > Regards, Output of infocmp attached: out.txt Output of ^VDelete: ^[[3~ --

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread k0ga
Hi, > I applied this patch and now when I press DELETE in the shell I get a > '~'. Can you send the output of: infocmp and the output of cat ^VDelete (press first control V and then Delete key) Regards,

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread Henrique Lengler
On Tue, Nov 04, 2014 at 07:24:24PM +0100, k...@shike2.com wrote: > > With this patch you are going to have ^? in backspace and ^[[3~ in Delete, > and the terminfo definition is modified based in this change. > This configuration is more similar to the configuration of other systems, > so you will

Re: [dev] [st] delele behaves as backspace... again

2014-11-04 Thread k0ga
If you are interested, > - Modify the keys generated by st. This option is not dificult, because > you > only have to modify the values in your config.h (I think I should put > this > option in the FAQ to). If you are interested in this solution this is the patch: diff --git

Re: [dev] [st] delele behaves as backspace... again

2014-11-03 Thread k0ga
> Hi folks, > > my delete-key behaves as backspace since commit > 9d9e049eac3dacb2725f9d792f7cdd2230062313 on all my linux machines > (debian, fedora, ubuntu) and openbsd. > i had this problem in the past (and wrote to this list about it), and > my .zshrc since then contains stty erase ^H:

Re: [dev] [st] delele behaves as backspace... again

2014-11-02 Thread Markus Teich
Nils R wrote: > my delete-key behaves as backspace since commit > 9d9e049eac3dacb2725f9d792f7cdd2230062313 on all my linux machines (debian, > fedora, ubuntu) and openbsd. Heyho, I can confirm this, but don't have the time to bisect right now. The delete Key seems to trigger Backspace2. In mksh i

[dev] [st] delele behaves as backspace... again

2014-11-01 Thread Nils R
Hi folks, my delete-key behaves as backspace since commit 9d9e049eac3dacb2725f9d792f7cdd2230062313 on all my linux machines (debian, fedora, ubuntu) and openbsd. i had this problem in the past (and wrote to this list about it), and my .zshrc since then contains stty erase ^H: $ stty -a | g