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 back. I like xterm a lot but it seems the st is mature enough to replace it fully.
I will update the website with the notes from you and with reverence to k0ga's alternative solution when I have a moment.
Thanks again,
Alex
On 12/08/15 07:07pm, Christoph Lohmann wrote:
> Greetings.
>
> On Wed, 12 Aug 2015 19:07:15 +0200 Snobb <snobb_AT_gmx.com> wrote:
> > 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 section of suckless.org site.
>
> Thanks for sending in the patch.
>
> 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
> completely compatible, otherwise there would be no need for this sepa‐
> rate terminfo entry.
>
> Please add the patch to the website describing this implication for peo‐
> ple using st for remote sites. [0]
>
>
> Sincerely,
>
> Christoph Lohmann
>
> [0] http://suckless.org/wiki
>
>
Received on Fri Aug 14 2015 - 22:20:41 CEST