From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Hourihan Newsgroups: gmane.emacs.devel Subject: Re: pcl-cvs help Date: Tue, 28 Jan 2003 11:28:58 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5l65sfa2t2.fsf@rum.cs.yale.edu> <200301232349.h0NNnWo09694@rum.cs.yale.edu> <200301240123.h0O1NK022670@champion.sslsecure.com> <200301271739.h0RHdbi31673@rum.cs.yale.edu> <11560000.1043711009@[10.0.1.8]> <200301281726.h0SHQ4w04066@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043783059 10302 80.91.224.249 (28 Jan 2003 19:44:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 19:44:19 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dbdo-0002cY-00 for ; Tue, 28 Jan 2003 20:43:28 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18dbid-0004qN-00 for ; Tue, 28 Jan 2003 20:48:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dbUo-0001iN-06 for emacs-devel@quimby.gnus.org; Tue, 28 Jan 2003 14:34:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18dbSH-0000N7-00 for emacs-devel@gnu.org; Tue, 28 Jan 2003 14:31:33 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18dbRm-0000C8-00 for emacs-devel@gnu.org; Tue, 28 Jan 2003 14:31:03 -0500 Original-Received: from champion.sslsecure.com ([209.150.128.196]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dbPy-00083H-00 for emacs-devel@gnu.org; Tue, 28 Jan 2003 14:29:10 -0500 Original-Received: from corn.tweak.local.tweakfilms.com ([208.45.118.161]) by champion.sslsecure.com (8.11.6/8.11.6) with ESMTP id h0SJT1Z28256; Tue, 28 Jan 2003 13:29:08 -0600 Original-To: "Stefan Monnier" In-Reply-To: <200301281726.h0SHQ4w04066@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Tue, 28 Jan 2003 12:26:04 -0500") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2 (powerpc-apple-darwin) Original-cc: Andrew Choi X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11169 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11169 "Stefan Monnier" writes: >> David Caldwell writes: >> >> > This seemed to eliminate the problem for me (from Andrew's FAQ): >> > >> > (setq process-connection-type nil) >> >> There is a problem with the implementation of ptys on the Mac OS X. >> That was why I set process-connection-type to nil by default in >> lisp/term/mac-win.el. At some point, this was conditioned out without >> my knowledge. If no one can provide a good reason for doing this, I >> propose to change it back the way it was. > > Hmmmm so if CVS' output is a pipe, PCL-CVS hits the CVS+SSH+libc+pipe problem > and if it's a pty, it hits the other problem. > > IIRC, one way to get things working is to use a pipe (as it should, > and as it was doing in Emacs-21.2) and to set CVS_RSH not to `ssh' > but to a script like > > #!/bin/sh > (ssh "$@" 2>&1 1>&3 | cat) 3>&1 1>&2 > > that runs ssh's stderr through `cat'. Jim, can you try that ? It works! Both OS X and Linux are now working flawlessly (fingers crossed). Thank god too because this has been driving me nuts! I reverted the pcvs.el file to its shipped state by uncommenting out this line in cvs-run-process: (process-connection-type nil) That fixed the problem. I tried cvs-status on our entire source tree and it worked. If something goes wrong with it I'll know in the next couple of days. -Jim