From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: Tramp login failure on Mac OS X Date: 27 Oct 2003 12:52:07 +0100 Organization: Dept of Computer Science, Utrecht University, The Netherlands Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067256384 30396 80.91.224.253 (27 Oct 2003 12:06:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2003 12:06:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 13:06:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AE68c-00041q-00 for ; Mon, 27 Oct 2003 13:06:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AE65F-0005b2-0y for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2003 07:02:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!npeer.de.kpn-eurorings.net!news2.telebyte.nl!humbolt.nl.linux.org!news.nl.linux.org!phil.uu.nl!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: modena.cs.uu.nl Original-X-Trace: june.cs.uu.nl 1067255526 18963 131.211.80.35 (27 Oct 2003 11:52:06 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: Mon, 27 Oct 2003 11:52:06 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:117628 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13560 >>>>> Matthew Calhoun (MC) wrote: MC> I saw a reference to that setting in the archives, but it seemed to MC> indicate that bad things could happen as a result of setting MC> process-connection-type to t on OS X. I didn't fully understand the MC> documentation for process-connection-type, so I left it alone. MC> I tried it just now, and now Tramp does indeed work. Very nice, if a bit MC> slow. Is this solution likely to cause other problems, though? Setting process-connection-type to non-nil can make other things fail. Especially it can cause subprocesses to lose some of their output. I have experienced this with AUCTeX. So I have in my .emacs file: (setq process-connection-type nil) And this causes tramp to fail in the way you described. I got around this with the following code: (defadvice tramp-maybe-open-connection (around set-process-connection-type) "Set process-connection-type to pty." (let ((process-connection-type 'pty)) ad-do-it)) (ad-activate 'tramp-maybe-open-connection) -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl