Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-14 Thread Snobb
Hi Christoph, Thanks for the response. Both points from you and k0ga are valid and you're right the patch does assume that xterm is no more on the system, which I believe was the idea behind creating the st in the first place, wasn't it? ;) After converting from xterm to st, I never had to look

Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-13 Thread Roberto E. Vargas Caballero
On Thu, Aug 13, 2015 at 12:17:35PM +0100, Nick wrote: > Quoth Roberto E. Vargas Caballero: > > I think a better aproach is to define an alias like this: > > > > alias ssh=TERM='TERM=xterm ssh' > > Syntax like that is one reason that I prefer one or two line shell > scripts to aliases. Good idea,

Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-13 Thread Nick
Quoth Roberto E. Vargas Caballero: > I think a better aproach is to define an alias like this: > > alias ssh=TERM='TERM=xterm ssh' Syntax like that is one reason that I prefer one or two line shell scripts to aliases. Good idea, though.

Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-12 Thread Roberto E. Vargas Caballero
On Wed, Aug 12, 2015 at 07:07:15PM +0200, Christoph Lohmann wrote: > It looks like you are redefining the value of ?term? and ?xterm?256col? > or? on systems that have st.info installed. This will create incompati? > bilities for such systems when xterm is used. ?xterm? and ?st? are not > compl

[hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-12 Thread Snobb
Hello, This is minor config that allows hassle free ssh work, when uploading the .terminfo on every one of them isn't an option. It uses st/st-256color when available and automatically falls back to xterm if not. This perhaps does not belong in the main st code, but rather in the patches sect