On Thu, 27 Feb 2020 at 09:37, Daniel Tameling <tamelingdan...@gmail.com> wrote: > > On Thu, Feb 27, 2020 at 1:58 AM Ivan Tham <pickf...@riseup.net> wrote: > > > > Maybe you could do a bisect to find out which commit cause the issue and > > try to send a patch for it? > > > > On Wed, Feb 26, 2020 at 04:55:56PM +0100, Patrik Osgnach wrote: > > >Hello all, > > > > > >I have this strange situation with st (compiled from git commit > > >895e5b5, without any patch): > > >When I ssh from my local Linux PC (running Gentoo) to a SLES11SP4 > > >Server, the delete key is ineffective (nothing gets deleted). > > >I can fix this with "tput smkx" but, if I run vim, the delete key is > > >not working any more after I quit vim. > > >To avoid interference with my settings, I ran multiple versions (from > > >7.2 to 8.1) of vim with "vim -u NONE" and saw the same effect. > > > > > >If I hit ^V Delete after logging in on the remote server I get > > >^[[P > > > > > >alter running tput smkx I get > > >^[[3~ > > > > > >and after quitting vim I get again > > >^[[P > > > > > >The output of stty -a is identical in all of these 3 scenarios. > > >Other terminals like xterm do not show this behaviour. > > >Also, I don't get this behaviour when I run vim from an st on my local > > >Linux PC. > > >Any ideas? > > > > > >Best regards, > > >Patrik > > > > > Hi, > > this is working as expected. Please read the FAQ file in the > repository section "Why doesn't the Del key work in some programs?". > There you also find workarounds for bash and zsh. > > Best regards, > Daniel >
Hi, already done. That's where I found the tput smkx advice. The thing that puzzles me is that is vim doing, since I have to run that tput command every time I quit vim. Unfortunately I have to use tcsh (don't ask why, corporate/legacy decision completely out of my control). Best regards, Patrik