On 2025-05-09 09:16+0200, Michael Albinus <[email protected]> wrote:

> However, I made an experiment: Could you pls apply the appended patch to
> tramp-sh.el, recompile and start a new Emacs session. It should work
> then also for the '/ssh:me308:' access with a remote fish shell.
>
> Best regards, Michael.
>
> diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el
> index 9d74c2fd..aead88ce 100644
> --- a/lisp/tramp-sh.el
> +++ b/lisp/tramp-sh.el
> @@ -251,7 +251,9 @@ The string is used in `tramp-methods'.")
>                `("ssh"
>                  (tramp-login-program        "ssh")
>                  (tramp-login-args           (("-l" "%u") ("-p" "%p") ("%c")
> -                                          ("-e" "none") ("%h")))
> +                                          ("-e" "none")
> +                                          ("-o" "SetEnv=\"TERM=dumb\"")
> +                                          ("%h")))
>                  (tramp-async-args           (("-q")))
>               (tramp-direct-async         ("-t" "-t"))
>                  (tramp-remote-shell         ,tramp-default-remote-shell)

Unfortunately the result is still the same with this modification.


-- 
Best,
ID

Reply via email to