Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by klubnl.pl (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id w1AERJ1T003487 for ; Sat, 10 Feb 2018 15:27:22 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1ekW3Q-0005S7-CZ for rs_out_1@blacksheep.org; Sat, 10 Feb 2018 14:23:00 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1ekW3P-0005Ry-OW for rsgb_lf_group@blacksheep.org; Sat, 10 Feb 2018 14:22:59 +0000 Received: from porthos.netcom.co.uk ([217.72.171.73]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ekW3M-00059x-QJ for rsgb_lf_group@blacksheep.org; Sat, 10 Feb 2018 14:22:58 +0000 X-DKIM-Result: Domain=abelian.org Result=Signature OK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CPqywLyCOsBon1T9yARdXvcRnAKLAYKvkNtLo39qClg=; b=ME9EStyxx/2XRTUKB21FsM7n2B Q5Y17YDi9wgZgRg217gAqt14hz58yuqbrKvEDd/hgPPP1M+40H05HiTnFSadMbTMo0KBMR5Uyy9o1 dAnEkOEfIavnuzPIFCRCTHQs7J67EnwlUMVgXmlEhUeQvpSBXmKemKf3Z+TCCQegElhw=; Received: from i-194-106-52-83.freedom2surf.net ([194.106.52.83]:47200 helo=pn.abelian.org) by porthos.netcom.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1ekW3K-000196-Kd for rsgb_lf_group@blacksheep.org; Sat, 10 Feb 2018 14:22:54 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by pn.abelian.org (Postfix) with ESMTP id 068C2400643 for ; Sat, 10 Feb 2018 14:22:54 +0000 (UTC) To: rsgb_lf_group@blacksheep.org References: <52dea779-7aae-aff8-1072-ad24cdcd007c@freenet.de> <4024a3ab-eb61-7801-e9ad-5715c5f49546@abelian.org> <9a7cf91a-5643-9149-28a7-ce6d282db3e9@abelian.org> <1555f07a-f2a3-fb55-c246-f52442a1a723@freenet.de> <4ac6d43f-85c7-bd05-85b9-5b64ebcfbf35@abelian.org> <2f6a408a-af27-9c9b-b116-7becd9b1c66f@abelian.org> <6eced61e-a7ce-2935-195d-4a76f375b11e@freenet.de> From: Paul Nicholson Message-ID: Date: Sat, 10 Feb 2018 14:22:53 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <6eced61e-a7ce-2935-195d-4a76f375b11e@freenet.de> Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - porthos.netcom.co.uk X-AntiAbuse: Original Domain - blacksheep.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - abelian.org X-Get-Message-Sender-Via: porthos.netcom.co.uk: authenticated_id: catchall@abelian.org X-Authenticated-Sender: porthos.netcom.co.uk: catchall@abelian.org X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Not a named pipe, but an anonymous pipe to or from another process. popen() is a lot like fopen() except that it opens a handle to stdin or stdout of an asynchronous process. Eg [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Scan-Signature: 3b8620872b19e25fb6f4dfaf1256edc3 Subject: Re: LF: Testing Audioinjector Octo with RPi3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.9 required=5.0 tests=FROM_ENDS_IN_NUMS autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Not a named pipe, but an anonymous pipe to or from another process. popen() is a lot like fopen() except that it opens a handle to stdin or stdout of an asynchronous process. Eg FILE *f; f = popen( "ssh pi@rp5 vtread -T 2018-02-09_12:00,+6h /raw", "r"); would launch ssh and hook its stdout to the handle *f; Then fread() on f in the usual way and pclose() when done. A very common pattern in unix. So simple, and SL could read signal from arbitrary sources with it. But I guess Borland can't support it if the OS doesn't provide it. I just looked through M$ documentation, there is a way to do it but it's horrible. Truly horrible and I wished I hadn't looked. Whenever I look at MSDN pages, I feel ill for a while, several hours sometimes. The first page looks promising until you read the fine print, https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/popen-wpopen and you have to go to here to witness the full horror of it https://msdn.microsoft.com/library/windows/desktop/ms682499 All that to replace one line of code in a proper operating system? Windows is just awful, awful beyond words. How anyone can get anything useful out of it I don't know. There are two good ways to render a computer useless. One is to drive over it with a truck, the other is to install Windows. -- Paul Nicholson --