all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Taylor Venable <taylor@metasyntax.net>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp problems connecting to OpenBSD over SSH
Date: Sun, 19 Apr 2009 10:06:51 +0200	[thread overview]
Message-ID: <878wlxdq3o.fsf@gmx.de> (raw)
In-Reply-To: <20090417180603.GA10091@metasyntax.net> (Taylor Venable's message of "Fri, 17 Apr 2009 14:06:03 -0400")

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

Taylor Venable <taylor@metasyntax.net> writes:

> Another thing is that 'ls -ab' is run at some point, but the '-b'
> option isn't available on OpenBSD's ls.  Perhaps neither one of these
> is directly the cause, but they seem like they may be red flags to me.

That might be the problem, because it happens exactly at the place where
Tramp runs into trouble.

Could you, please, check whether the appended patch helps?

Best regards, Michael.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1293 bytes --]

*** /home/albinus/src/emacs/lisp/net/tramp.el.~1.233.~	2009-04-18 23:16:05.000000000 +0200
--- /home/albinus/src/emacs/lisp/net/tramp.el	2009-04-19 10:04:18.000000000 +0200
***************
*** 2920,2926 ****
     vec
     (format
      (concat
!      "cd %s; echo \"(\"; (%s -ab | xargs "
       "%s -c '(\"%%n\" (\"%%N\") %%h %s %s %%X.0 %%Y.0 %%Z.0 %%s.0 \"%%A\" t %%i.0 -1)'); "
       "echo \")\"")
      (tramp-shell-quote-argument localname)
--- 2920,2926 ----
     vec
     (format
      (concat
!      "cd %s; echo \"(\"; (%s -a | xargs "
       "%s -c '(\"%%n\" (\"%%N\") %%h %s %s %%X.0 %%Y.0 %%Z.0 %%s.0 \"%%A\" t %%i.0 -1)'); "
       "echo \")\"")
      (tramp-shell-quote-argument localname)
***************
*** 2962,2968 ****
  	   ;; rock.  --daniel@danann.net
  	   (tramp-send-command
  	    v
! 	    (format (concat "%s -ab 2>/dev/null | while read f; do "
  			    "if %s -d \"$f\" 2>/dev/null; "
  			    "then echo \"$f/\"; else echo \"$f\"; fi; done")
  		    (tramp-get-ls-command v)
--- 2962,2968 ----
  	   ;; rock.  --daniel@danann.net
  	   (tramp-send-command
  	    v
! 	    (format (concat "%s -a 2>/dev/null | while read f; do "
  			    "if %s -d \"$f\" 2>/dev/null; "
  			    "then echo \"$f/\"; else echo \"$f\"; fi; done")
  		    (tramp-get-ls-command v)

  reply	other threads:[~2009-04-19  8:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 20:19 Tramp problems connecting to OpenBSD over SSH Taylor Venable
2009-04-15 20:47 ` Michael Albinus
2009-04-17 12:57   ` Taylor Venable
2009-04-17 14:52     ` Michael Albinus
2009-04-17 17:21       ` Taylor Venable
2009-04-17 18:27         ` Chong Yidong
2009-04-18  2:36           ` Taylor Venable
2009-04-19  7:55         ` Michael Albinus
2009-04-20 15:11           ` Taylor Venable
2009-04-17 18:06       ` Taylor Venable
2009-04-19  8:06         ` Michael Albinus [this message]
2009-04-20 15:23           ` Taylor Venable
2009-04-20 19:44             ` Michael Albinus
2009-04-23 23:28               ` Taylor Venable
2009-04-24  7:37                 ` Michael Albinus
2009-04-24 12:16                   ` Taylor Venable
2009-04-24 13:57                     ` Michael Albinus

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=878wlxdq3o.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=taylor@metasyntax.net \
    /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.