unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: Re: vc-annotate not displaying all lines
Date: Fri, 10 Dec 2004 08:36:12 +0100	[thread overview]
Message-ID: <877jnqehar.fsf@dod.no> (raw)
In-Reply-To: jwv1xdy25qd.fsf-monnier+gnu.emacs.help@gnu.org

>>>>> 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	other threads:[~2004-12-10  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09  9:58 vc-annotate not displaying all lines Steinar Bang
2004-12-10  3:35 ` Stefan Monnier
2004-12-10  7:36   ` Steinar Bang [this message]
2004-12-10 21:07     ` Stefan Monnier
2004-12-10 10:57   ` Steinar Bang
2004-12-10 21:08     ` Stefan Monnier

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=877jnqehar.fsf@dod.no \
    --to=sb@dod.no \
    /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.
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).