Subject: bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh

From: Tino Calancha <[email-masked]>
Date: Sun, 24 Jun 2018 16:15:41 +0900

Tino Calancha <[email-masked]> writes:

>  
>      ;; Disable echo expansion.
>      (tramp-message vec 5 "Setting up remote shell environment")
> @@ -4793,6 +4799,7 @@ tramp-maybe-open-connection
>  		     ;; W32 systems.
>  		     (process-coding-system-alist nil)
>  		     (coding-system-for-read nil)
> +		     (enconding-shell (file-truename tramp-encoding-shell))
             ^^^^^^^^^^^^^^^^
This must read 'encoding-shell'.
Sometimes the '\r' (\015) appears in the second line of the buffer.
I can live with that, but it would be cool if we could make dissapear
such \015.