From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: How to flush output to process Date: Sun, 06 Nov 2011 22:08:32 +0100 Message-ID: <87ipmxvu0f.fsf@ambire.localdomain> References: <20111106123820.37dfb047@purzel.home.lau> 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 1320613889 18677 80.91.229.12 (6 Nov 2011 21:11:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 21:11:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Frank Fischer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 22:11:25 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 1RN9zw-0002G1-Ew for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 22:11:24 +0100 Original-Received: from localhost ([::1]:53845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN9zs-0005Mc-Pk for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 16:11:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN9zo-0005MM-HW for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:11:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RN9zn-0007vE-Fd for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:11:16 -0500 Original-Received: from smtp206.alice.it ([82.57.200.102]:41211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN9zn-0007tg-8q for help-gnu-emacs@gnu.org; Sun, 06 Nov 2011 16:11:15 -0500 Original-Received: from ambire.localdomain (79.24.205.207) by smtp206.alice.it (8.5.124.08) id 4E4BBF7707CB8930; Sun, 6 Nov 2011 22:10:51 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RN9xB-0001Gj-0C; Sun, 06 Nov 2011 22:08:33 +0100 In-Reply-To: <20111106123820.37dfb047@purzel.home.lau> (Frank Fischer's message of "Sun, 6 Nov 2011 12:38:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 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:82774 Archived-At: () Frank Fischer () Sun, 6 Nov 2011 12:38:20 +0100 Btw, I would be surprised if it is indeed a problem of the subprocess as it is designed to be used in this way. 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. See =E2=80=98process-connection-type=E2=80=99 (info "(elisp) Asynchronous P= rocesses").