From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp problems connecting to OpenBSD over SSH Date: Sun, 19 Apr 2009 10:06:51 +0200 Message-ID: <878wlxdq3o.fsf@gmx.de> References: <20090415201944.GB28776@metasyntax.net> <87ocux1w5g.fsf@gmx.de> <20090417125751.GA3392@metasyntax.net> <20090417180603.GA10091@metasyntax.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1240128437 7100 80.91.229.12 (19 Apr 2009 08:07:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 08:07:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Taylor Venable Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 19 10:08:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LvS4n-0000kI-3j for ged-emacs-devel@m.gmane.org; Sun, 19 Apr 2009 10:08:33 +0200 Original-Received: from localhost ([127.0.0.1]:50162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvS3O-00036P-8i for ged-emacs-devel@m.gmane.org; Sun, 19 Apr 2009 04:07:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvS3J-00035w-DI for emacs-devel@gnu.org; Sun, 19 Apr 2009 04:07:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvS3E-00034q-OA for emacs-devel@gnu.org; Sun, 19 Apr 2009 04:07:00 -0400 Original-Received: from [199.232.76.173] (port=51155 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvS3E-00034j-4R for emacs-devel@gnu.org; Sun, 19 Apr 2009 04:06:56 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:34314) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LvS3D-00017Z-Eu for emacs-devel@gnu.org; Sun, 19 Apr 2009 04:06:55 -0400 Original-Received: (qmail invoked by alias); 19 Apr 2009 08:06:54 -0000 Original-Received: from brln-4db90372.pool.einsundeins.de (EHLO arthur.local) [77.185.3.114] by mail.gmx.net (mp067) with SMTP; 19 Apr 2009 10:06:54 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19/J90hlXZ/n9BFjwAiI3uoMhFptpmTbaA30of+QV rDb787tox74mXg In-Reply-To: <20090417180603.GA10091@metasyntax.net> (Taylor Venable's message of "Fri, 17 Apr 2009 14:06:03 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110347 Archived-At: --=-=-= Taylor Venable 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. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment *** /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) --=-=-=--