emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: over-engineered (and under-standardized) inferior interfaces


From: Sam Steingold
Subject: Re: over-engineered (and under-standardized) inferior interfaces
Date: Wed, 27 Aug 2014 09:52:49 -0400

On Wed, Aug 27, 2014 at 9:16 AM, Michael Albinus <address@hidden> wrote:
> Well, Tramp sends
>
> exec ssh - t - t   -o 
> ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/address@hidden:%p
>  -o ControlMaster=auto -o ControlPersist=no -e none vertica
>
> And this returns
>
> ssh: Could not resolve hostname -: nodename nor servname provided, or not 
> known
>
> This is likely due to "- t" in the arguments. Tramp is not known to send
> the arguments this way. Did you modify tramp-methods?

yes:

(assq 'tramp-login-args (cdr (assoc "ssh" tramp-methods)))
(tramp-login-args (#1="-t" #1# ("-l" "%u") ("-p" "%p") ("%c") ("-e"
"none") ("%h")))

"-t" is necessary to tell the sub-processes that this is an
interactive session and not a batch session.
why does tramp insert space between "-" and "t"?


-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]