From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 5A5A03955410 for ; Wed, 24 Feb 2021 20:49:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5A5A03955410 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (smtpa07.fra-mediabeam.com [10.2.0.37]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id DBBAD60DCA for ; Wed, 24 Feb 2021 21:49:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1614199748; bh=+Fd6YXSIClb5gMGaP+L4fSmcN4MZv2drVqgrVU8qDew=; h=From:To:Subject:References:Date:In-Reply-To; b=CoXUrYTRGnm5ikpP2JsQOvWgfwHRAqbqpjff/CRwRPFfe6W2FKXOtoW+CU+0KHo1O E+p85SG4rfQG4yOjN2WNIm5AxILaVd+fT9PmVeGCmvy0fBADx4x6KlLYGdyXiFOjpI MBXlXSBDMw+R20jx8+adyyhwEcVdwd0puJl4MIsc= Received: from Otto (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 765F2140242 for ; Wed, 24 Feb 2021 20:49:08 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: Tee and file redirections are very slow to write anything. References: Date: Wed, 24 Feb 2021 21:48:52 +0100 In-Reply-To: (Hamish McIntyre-Bhatty via Cygwin's message of "Wed, 24 Feb 2021 20:33:45 +0000") Message-ID: <87eeh5b39n.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 609 X-purgate-ID: 155817::1614199748-000006D7-0A24A9BF/0/0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 20:49:13 -0000 Hamish McIntyre-Bhatty via Cygwin writes: > I found recently when trying to save output from a script for later > inspection that "tee" and file redirections seem to have massive > delays when run in Cygwin - usually nothing is written to file or > stdout until after the command has finished - not very helpful. You will want to switch from fully buffered to line-buffered or even unbuffered output. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada