From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: vc-annotate not displaying all lines Date: Fri, 10 Dec 2004 08:36:12 +0100 Organization: Probably a good idea Message-ID: <877jnqehar.fsf@dod.no> References: <87hdmv7pz9.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1102664405 28192 80.91.229.6 (10 Dec 2004 07:40:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2004 07:40:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 08:40:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CcfNh-0003lF-00 for ; Fri, 10 Dec 2004 08:40:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CcfXd-00006I-9M for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2004 02:50:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.eunet.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: gw.computas.com Original-X-Trace: services.kq.no 1102664172 13478 193.71.42.4 (10 Dec 2004 07:36:12 GMT) Original-X-Complaints-To: abuse@eunet.no Original-NNTP-Posting-Date: Fri, 10 Dec 2004 07:36:12 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:RO8y7y/3O8DGNEfK12mNADOLFDM= Original-Xref: shelby.stanford.edu gnu.emacs.help:127222 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22652 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22652 >>>>> Stefan Monnier : > 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...?