From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: standard output/error/input streams Date: Sat, 14 Jan 2017 12:22:50 +0000 Message-ID: <87wpdxu8yt.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484396601 920 195.159.176.226 (14 Jan 2017 12:23:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2017 12:23:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 14 13:23:13 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSNMX-00081I-51 for ged-emacs-devel@m.gmane.org; Sat, 14 Jan 2017 13:23:13 +0100 Original-Received: from localhost ([::1]:47582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSNMb-0005Sg-KF for ged-emacs-devel@m.gmane.org; Sat, 14 Jan 2017 07:23:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSNMR-0005SV-Ld for emacs-devel@gnu.org; Sat, 14 Jan 2017 07:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSNMO-0000jC-Fy for emacs-devel@gnu.org; Sat, 14 Jan 2017 07:23:07 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.214.205]:17030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSNMO-0000j3-4G for emacs-devel@gnu.org; Sat, 14 Jan 2017 07:23:04 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 0BFEAC523C for ; Sat, 14 Jan 2017 12:22:40 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 607B0C5143 for ; Sat, 14 Jan 2017 12:22:35 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id 54F86C4E50 for ; Sat, 14 Jan 2017 12:22:35 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZcgQ3mTu790GzFX1DbNDiBqWaOWAX5Ff5nhrKt0/RSE=; b=0cCCkAzC+qBzOD3eJzHcjyJL5t IpFMNRNg+SusqfTJe7tEeJkIPRhcnyc4GwPLiH+7ju0eN7JJGYv+mPLMgM29JTo+c8Sndn4/WpiTV BARYteD7rFtCRKs6YsQvCWDtjFwdbtpqpgSWywpKcMn9xvOJPhoVS+7pzN0LxHfJGsdJMw76nGpM8 zM3glkIoRD5Rp1gzMPggN72SlxGdz798LtUzY5DBEONlxFkoXXwslFsTr4joWpBxAVlW/nvfGwTJK veqCx0HhERpZIwkT9iUgvljxYLFk3qHqaS9RQmElq/ZECZ2HI+dkeFaeejJuC5RgPioUFBgZ+cNrz iaJ9tiVw==; Original-Received: from cpc6-benw10-2-0-cust167.gate.cable.virginm.net ([92.238.179.168]:32866 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cSNMH-001fnd-1o for emacs-devel@gnu.org; Sat, 14 Jan 2017 12:22:57 +0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x [fuzzy] X-Received-From: 185.116.214.205 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211276 Archived-At: I've worked up the patch that I made to add input streams for writing to the system standard out. There was some discussion about this in Jul. https://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00910.html The new version is on feature/stdout-stderr-stream. Additions since last time. I've updated the names (external-standard-output, external-standard-error) and I have also added an input stream (external-standard-input). The main motivation for this is the same as last time; it gives a communication channel with Emacs which does not involve buffers at any point. Although, if you search for "Emacs" and "standard output", other people would like the same thing for other reasons. Can I add this to master? Phil