all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: over-engineered (and under-standardized) inferior interfaces
Date: Wed, 27 Aug 2014 09:57:33 -0400	[thread overview]
Message-ID: <CAFsbZ7YDAJhG3FZiak6Tde26zZwcv6UOBNTJsRQQLZ_MAsxdjw@mail.gmail.com> (raw)
In-Reply-To: <CAFsbZ7asF45eJ3V4AOFmLE4zL51bgHH5e5FFU=8T+XvVkdj91Q@mail.gmail.com>

when I remove my "-t" from tramp-methods,
(find-file "/ssh:vertica|sudo:dbadmin@vertica:")
works but
(setq sql-vertica-default-directory "/ssh:vertica|sudo:dbadmin@vertica:")
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 <sds@gnu.org> wrote:
> On Wed, Aug 27, 2014 at 9:16 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>> Well, Tramp sends
>>
>> exec ssh - t - t   -o ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/tramp.19861uSd.%r@%h:%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	other threads:[~2014-08-27 13:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 19:20 over-engineered (and under-standardized) inferior interfaces Sam Steingold
2014-08-21 20:29 ` Stefan Monnier
2014-08-21 21:21   ` Jorgen Schaefer
2014-08-21 22:00     ` Dmitry
2014-08-21 22:10       ` Eric S. Raymond
2014-08-22  3:45     ` Stefan Monnier
2014-08-22  5:57       ` Andreas Röhler
2014-08-22 10:55       ` Phillip Lord
2014-08-22 11:41         ` Jorgen Schaefer
2014-08-22 21:29   ` Sam Steingold
2014-08-31 16:30   ` Elias Mårtenson
2014-08-31 20:01     ` Stefan Monnier
2014-08-21 20:43 ` Andreas Schwab
2014-08-21 21:06   ` Sam Steingold
2014-08-22  5:56     ` Andreas Schwab
2014-08-22  6:17     ` Michael Albinus
2014-08-22 21:25       ` Sam Steingold
2014-08-23 15:16         ` Michael Albinus
2014-08-25 17:05           ` Sam Steingold
2014-08-27  6:57             ` Michael Albinus
2014-08-27 10:46               ` Sam Steingold
2014-08-27 11:29                 ` Michael Albinus
2014-08-27 12:32                   ` Sam Steingold
2014-08-27 12:51                     ` Michael Albinus
2014-08-27 13:00                       ` Sam Steingold
2014-08-27 13:16                         ` Michael Albinus
2014-08-27 13:52                           ` Sam Steingold
2014-08-27 13:57                             ` Sam Steingold [this message]
2014-08-27 18:17                               ` Michael Albinus
2014-08-28  1:01                                 ` Sam Steingold
2014-08-28  8:48                                   ` Michael Albinus
2014-08-28 16:02                                     ` Sam Steingold
2014-08-28 18:35                                       ` Michael Albinus
2014-08-28 19:22                                         ` Sam Steingold
2014-08-28 19:44                                           ` Michael Albinus
2014-08-28 19:54                                             ` Sam Steingold
2014-08-28 20:04                                               ` Michael Albinus
2014-08-29 15:00                                                 ` Sam Steingold
2014-09-05 14:19                                                   ` Michael Albinus
2014-09-08 13:17                                                     ` Sam Steingold
2014-09-08 14:15                                                       ` Michael Albinus
2014-09-08 14:38                                                         ` Sam Steingold
2014-09-08 14:47                                                           ` Michael Albinus
2014-08-27 14:05                             ` Tassilo Horn
2014-08-27 18:13                               ` Michael Albinus
2014-08-25  9:23 ` Michael Mattie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFsbZ7YDAJhG3FZiak6Tde26zZwcv6UOBNTJsRQQLZ_MAsxdjw@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.