From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frank Fischer Newsgroups: gmane.emacs.help Subject: Re: How to flush output to process Date: Sun, 6 Nov 2011 22:56:07 +0100 Message-ID: <20111106225607.2d0d6bb0@mawo.home> References: <20111106123820.37dfb047@purzel.home.lau> <87ipmxvu0f.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320617674 9137 80.91.229.12 (6 Nov 2011 22:14:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 22:14:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thien-Thi Nguyen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 23:14:31 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RNAz0-0007rQ-Fv for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 23:14:30 +0100 Original-Received: from localhost ([::1]:34086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNAz0-0001ox-0J for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 17:14:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNAhE-0007PV-H6 for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:56:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNAhD-0006CK-B7 for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:56:08 -0500 Original-Received: from mout4.freenet.de ([195.4.92.94]:53163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNAhD-0006Bu-5I for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:56:07 -0500 Original-Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout4.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (port 25) (Exim 4.76 #5) id 1RNAh9-0006ld-VI; Sun, 06 Nov 2011 22:56:03 +0100 Original-Received: from localhost ([::1]:52564 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (Exim 4.76 #1) id 1RNAh9-0003mg-RT; Sun, 06 Nov 2011 22:56:03 +0100 Original-Received: from [195.4.92.12] (port=48724 helo=2.mx.freenet.de) by mjail2.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (Exim 4.76 #1) id 1RNAew-0003Mw-7u; Sun, 06 Nov 2011 22:53:46 +0100 Original-Received: from i59f6d527.versanet.de ([89.246.213.39]:40752 helo=mawo.home) by 2.mx.freenet.de with esmtpsa (ID frank-fischer@shadow-soft.de) (TLSv1:AES128-SHA:128) (port 465) (Exim 4.76 #1) id 1RNAev-0003dF-VF; Sun, 06 Nov 2011 22:53:46 +0100 In-Reply-To: <87ipmxvu0f.fsf@ambire.localdomain> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.4.92.94 X-Mailman-Approved-At: Sun, 06 Nov 2011 17:14:26 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82776 Archived-At: Am Sun, 06 Nov 2011 22:08:32 +0100 schrieb Thien-Thi Nguyen : > () Frank Fischer > () Sun, 6 Nov 2011 12:38:20 +0100 >=20 > Btw, I would be surprised if it is indeed a problem of the > subprocess as it is designed to be used in this way. >=20 > If the subprocess is comfortable ignoring signals from Emacs, > you might try using pipes instead of ptys to talk to it. > That would probably eliminate raw/cooked misunderstandings. >=20 > See =E2=80=98process-connection-type=E2=80=99 (info "(elisp) Asynchronous= Processes"). I do use pipes, but the problem remains. Frank