GNU bug report logs - #31605
25.3; tramp-terminal-type too obscure

Previous Next

Package: emacs;

Reported by: Eli Barzilay <eli <at> barzilay.org>

Date: Sat, 26 May 2018 22:16:01 UTC

Severity: minor

Found in version 25.3

Fixed in version 26.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 31605 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Barzilay <eli <at> barzilay.org>
Cc: 31605 <at> debbugs.gnu.org
Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure
Date: Tue, 29 May 2018 18:26:22 +0200
Eli Barzilay <eli <at> barzilay.org> writes:

Hi Eli,

> Thanks!  However, I think that it would be better to mention that it is
> fine to use a different value -- instead of discouraging them.

It might work, yes. But I wouldn't recommend it. For most of the Tramp
users, the default settings are OK.

>>       Another possibility is to check the environment variable
>>       ‘INSIDE_EMACS’.  [...]
>
> This doesn't help for the common case of ssh.  (In fact, this was what I
> originally though about using, but configuring ssh/sshd to pass
> INSIDE_EMACS is a PITA to manage.)  I'm not saying that it shouldn't be
> mentioned, just that it's not too helpful...

??? It is Tramp, which sets this variable in the remote shell
environment. There's nothing to do for you. Or do I miss something?

> But this is exactly the problem: "dumb" is used in many contexts,
> including in `M-x shell`.  This means that if I follow what you're
> recommending, I end up with a crippled `M-x shell` experience since I
> lose my useful prompt there.  OTOH, I can't imagine that anything that
> tramp uses would rely on terminfo, which is why I suggested the above.

The majority of Tramp users does not apply "M-x shell" and friends. They
are just using Tramp for remote file handling.

And Tramp has always problems with whatever esacape seuences are around,
that I call it an advantage when a dumb TERM simplifies my
life. Speaking as maintainer.

It is still possible that you reconfigure everything, and thanks again
that you have told me that it needs better documentation. But I'm not
conviced it will be better to change the defaults.

Best regards, Michael.




This bug report was last modified 6 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.