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 Mode not working connecting to OpenSolaris Date: Wed, 10 Mar 2010 18:04:55 +0100 Message-ID: <87fx489kg8.fsf@gmx.de> References: <86r5ny1kl6.fsf@blue.stonehenge.com> <87iq9998rf.fsf@gmx.de> <863a0bu572.fsf@blue.stonehenge.com> <87d3zfgs4q.fsf@gmx.de> <86lje2suor.fsf@blue.stonehenge.com> <876356wy1m.fsf@gmx.de> <861vfusq3f.fsf@blue.stonehenge.com> <871vfuwx1g.fsf@gmx.de> <86tysqr9sq.fsf_-_@blue.stonehenge.com> <87tysq1oq6.fsf@gmx.de> <86d3zeo5eu.fsf@blue.stonehenge.com> <87lje20zry.fsf@gmx.de> <86mxyhjxxe.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268241700 29124 80.91.229.12 (10 Mar 2010 17:21:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Mar 2010 17:21:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: merlyn@stonehenge.com (Randal L. Schwartz) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 10 18:21:36 2010 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.69) (envelope-from ) id 1NpPbD-00051M-IC for ged-emacs-devel@m.gmane.org; Wed, 10 Mar 2010 18:21:35 +0100 Original-Received: from localhost ([127.0.0.1]:33630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpPb7-00064u-Km for ged-emacs-devel@m.gmane.org; Wed, 10 Mar 2010 12:21:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpPLF-0007LL-Se for emacs-devel@gnu.org; Wed, 10 Mar 2010 12:05:05 -0500 Original-Received: from [140.186.70.92] (port=36555 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpPLE-0007Kf-Tk for emacs-devel@gnu.org; Wed, 10 Mar 2010 12:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NpPLB-0006Yf-OO for emacs-devel@gnu.org; Wed, 10 Mar 2010 12:05:04 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:51527) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NpPLA-0006Xl-PC for emacs-devel@gnu.org; Wed, 10 Mar 2010 12:05:01 -0500 Original-Received: (qmail invoked by alias); 10 Mar 2010 17:04:58 -0000 Original-Received: from p4FC00B7D.dip0.t-ipconnect.de (EHLO LKG29808F.local) [79.192.11.125] by mail.gmx.net (mp071) with SMTP; 10 Mar 2010 18:04:58 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19TxP5j4a1TwGiHesqGO3YOFT5YKs6UMlPmuXS4/w DZxPFZj0pRikKO User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.47999999999999998 X-detected-operating-system: by eggs.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:121771 Archived-At: merlyn@stonehenge.com (Randal L. Schwartz) writes: >>>>>> "Michael" == Michael Albinus writes: > Michael> Did you apply the patch I've sent yesterday? > > By the way, the "exec" in that line is unaffected by your patch, > which takes out the "exec" between PS3='' and /bin/sh (which you'll > notice is gone). You're right, it was the wrong place. Sorry. The following patch shall remove the right "exec": --8<---------------cut here---------------start------------->8--- *** /tmp/ediff6873HcD 2010-03-10 17:55:23.000000000 +0100 --- /home/albinus/src/emacs/lisp/net/tramp.el 2010-03-10 17:55:07.000000000 +0100 *************** *** 6719,6725 **** (tramp-send-command vec (format ! "exec env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s" (shell-quote-argument tramp-end-of-output) (tramp-get-method-parameter (tramp-file-name-method vec) 'tramp-remote-sh)) --- 6719,6725 ---- (tramp-send-command vec (format ! "env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s" (shell-quote-argument tramp-end-of-output) (tramp-get-method-parameter (tramp-file-name-method vec) 'tramp-remote-sh)) --8<---------------cut here---------------end--------------->8--- Please test it, again. If Tramp goes into an infinite loop, kill it by C-g. There is also another buffer *tramp/scp user@host*, which shall show us the last message of the remote shell. The suspicion of Andreas sounds promising; but before changing the code I would like to see that problem. Best regards, Michael.