[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incomplete output from "cvs annotate"

From: Kim F. Storm
Subject: Re: Incomplete output from "cvs annotate"
Date: 20 Jan 2004 14:47:07 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Simon Josefsson <address@hidden> writes:

> Wouldn't select on both fd's and reading from the first one available,
> and then sending that to the buffer, work?  Perhaps if there is data
> in both stdout and stderr, write the stderr data.  Surely there is
> some similar logic somewhere in bash, the kernel or somewhere.

That might help in some cases, but there's no guarantee that it will
avoid losing data.  

In any case, your idea will not fix the case for cvs, as pcs-cvs
relies on the sequence of the data on those streams (cvs is definitely
a mess here), so if you split the flows, there's really no way to
ensure the proper sequence anymore -- no matter how you read from
those two flows, there's no way to tell how to merge them.

> Requiring another script to be installed is not good, IMHO.  Can't the
> script be simulated in elisp somehow?

The problem is that the script must be inserted between SSH and CVS,
not between CVS and emacs.  

Last time I checked, neither SSH nor CVS understood Elisp :-)

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]