[Top][All Lists]

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

Re: Incomplete output from "cvs annotate"

From: Andreas Schwab
Subject: Re: Incomplete output from "cvs annotate"
Date: Wed, 21 Jan 2004 00:22:57 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

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.

The only place where multiplexing is required is in ssh, as it has to
transmit two data streams over a single channel.  The kernel just copies
the data from the source to the sink as soon as it is available, and the
shell is not involved in any data copying, it only sets up the stream


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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