help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: vc-annotate not displaying all lines


From: Steinar Bang
Subject: Re: vc-annotate not displaying all lines
Date: Fri, 10 Dec 2004 08:36:12 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux)

>>>>> Stefan Monnier <monnier@iro.umontreal.ca>:

> It's a bad interaction between libc, OpenSSH, and CVS.

Ah.  Forgot to mention that I was using CVS over SSH.  Glad you
figured it out anyway.

[snip!]
> In the meantime, you can work around the bug by setting CVS_RSH to point to
> the following script:

The script worked fine.  Now I can do `C-x v g' and see all lines.
Thanx! 

[snip!]
>    (ssh "$@" 2>&1 1>&3 | cat) 3>&1 1>&2

I'm trying to figure out what it does.  Lesse... ssh is run in a
subshell.  Then stdout is gated to a different file descriptor, and
stderr is gated to the file descriptor used by stdout.

Then the stderr stuff is sent through a pipe and into cat.  Outside
the subshell stdout and stderr are routed back to their standard file
descriptors.

I guess the effect is to delay stderr a bit, wrt. to stdout...?


reply via email to

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