unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: pcl-cvs help
Date: Mon, 27 Jan 2003 12:39:37 -0500	[thread overview]
Message-ID: <200301271739.h0RHdbi31673@rum.cs.yale.edu> (raw)
In-Reply-To: 200301240123.h0O1NK022670@champion.sslsecure.com

> > Please double and triple check.  For example, open up a *cvs* buffer (to
> > make sure that PCL-CVS gets loaded), then do C-x C-f .../pcvs.el RET and
> > the M-x eval-region RET and then try M-x cvs-status (aka M-u) a few times
> > to see if the problem is still present.  It's very easy to end up loading
> > a stray unmodified file: even long-time Emacs maintainers routinely do it
> > even after "double checking".
> 
> Ok, I double checked and was able to actually pick up the change; I'm not
> sure what happened before. Anyway, on Linux, the problem is gone. On OS X,
> the problem is much less noticable, but still there. 

So there's something else at play.  Could any Max OS X guy lok at this ?

> I'm guessing that the problem is now related to a problem that also shows
> up in eshell on OS X: the output of a process is sometimes cut short.

So it might be a bug in Emacs' handling of async processes ?

> Once again its only happening on OS X now and the problem "looks different"
> than it did before.
> 
> > The problem that the patch above is trying to fix is not specific to
> > Emacs at all, but to a combination of "CVS + SSH + some libc + stdout and
> > stderr outputting to a pipe".  It's a pretty "obscure" interaction
> > and the jury is still out about who is to blame.
> >
> > I can easily reproduce it outside of Emacs on my Linux box as follows:
> >
> > 	src/m-0% cvs status -v 2>&1 | wc  
> > 	   4724   13182  187152
> > 	src/m-0% cvs status -v 2>&1 | (sleep 10; wc)
> > 	    151     417    5828
> > 	src/m-0% 
> 
> It happens on OS X too:
> 
>     bash-2.05a$ cvs status -v 2>&1 | wc
>          618    1340   17113 
>     bash-2.05a$ cvs status -v 2>&1 | (sleep 10; wc)
>          319     693    8853 
>     bash-2.05a$ 
> 
> and on my Linux box:
> 
>     bash-2.05$ cvs status -v 2>&1 | wc
> 	626    1360   17307
>     bash-2.05$ cvs status -v 2>&1 | (sleep 10; wc)
> 	 34      74     818
>     bash-2.05$ 

Thank you for testing it.  I suggested you report the above problem
to the Mac OS X people (with a CC to the CVS people and the SSH people.
BTW, which SSH do you use ?).

> <#part type="application/octet-stream" filename="~/x" disposition=attachment description="cvs-tmp buffer">

Looks like something didn't work ;-)


	Stefan

       reply	other threads:[~2003-01-27 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m28yxbd69c.fsf@corn.tweak.local>
     [not found] ` <5l65sfa2t2.fsf@rum.cs.yale.edu>
     [not found]   ` <200301232349.h0NNnWo09694@rum.cs.yale.edu>
     [not found]     ` <200301240123.h0O1NK022670@champion.sslsecure.com>
2003-01-27 17:39       ` Stefan Monnier [this message]
2003-01-27 19:16         ` pcl-cvs help Jim Hourihan
2003-01-27 23:43           ` David Caldwell
2003-01-28  0:14             ` Andrew Choi
2003-01-28 17:26               ` Stefan Monnier
2003-01-28 19:28                 ` Jim Hourihan
2003-01-29  6:36             ` Richard Stallman
2003-01-29  7:05               ` Andrew Choi
2003-01-30 15:20                 ` Richard Stallman
2003-01-30 15:54                   ` Andrew Choi

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301271739.h0RHdbi31673@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).