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:57:33 -0400

when I remove my "-t" from tramp-methods,
(find-file "/ssh:vertica|sudo:address@hidden:")
works but
(setq sql-vertica-default-directory "/ssh:vertica|sudo:address@hidden:")
still results in

Host name must not match method "sudo"

debug buffer:

;; GNU Emacs: 24.4.50.8 Tramp: 2.2.11-pre -*- mode: outline; -*-
09:56:46.716166 tramp-check-proper-method-and-host (1) # , Host name
must not match method "sudo"



On Wed, Aug 27, 2014 at 9:52 AM, Sam Steingold <address@hidden> wrote:
> 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/>



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



reply via email to

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