[Top][All Lists]

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

Re: Lost process output in pipe between Emacs and CVS

From: Derek Robert Price
Subject: Re: Lost process output in pipe between Emacs and CVS
Date: Wed, 24 Jul 2002 21:30:31 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

kevin wang wrote:

This may sound silly, but as a temporary workaround, can't you:

CVS_RSH=ssh cvs diff >tmp.diff 2>tmp.diff
that ought to open the file twice as separate file descriptors.
The downside is that I/O is now unsynchronized, and lines may be inserted
in the middle of other lines, but nothing should get lost at least.
switching to line buffering should eliminate most of that problem.

this assumes, of course, that is what you're trying to do. There are
other possibilities that you can't control, I know, and doesn't solve
the real problem.

I think it's: `rm tmp.diff; CVS_RSH=ssh cvs diff >>tmp.diff 2>>tmp.diff', but that might work.

thanks for taking the time to detail the issues; I can't seem to find
the first part of the thread; did it come from another mailing list? or
am I just being blind?

I picked it up on bug-cvs@gnu.org and there's at least one more list in the header of this message. Don't know which list you picked it up on but I think both bug-cvs and the emacs list have been in there since the start of this thread.



Email: derek@2-wit.com
Public key available from www.keyserver.net - Key ID 5ECF1609
Fingerprint 511D DCD9 04CE 48A9 CC07  A421 BFBF 5CC2 56A6 AB0E

Get CVS support at http://2-wit.com
File not found. Should I fake it? (Y/N)

reply via email to

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