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: Wed, 9 Nov 2011 11:26:56 +0000 (UTC) Message-ID: 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: 8bit X-Trace: dough.gmane.org 1320838057 7434 80.91.229.12 (9 Nov 2011 11:27:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2011 11:27:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 09 12:27:33 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 1RO6JZ-0006p7-IX for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2011 12:27:33 +0100 Original-Received: from localhost ([::1]:46555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO6JY-0003ud-OL for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2011 06:27:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO6JP-0003sD-Jp for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 06:27:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO6JJ-0001Tg-7c for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 06:27:23 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:57748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO6JJ-0001TP-2H for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 06:27:17 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RO6JG-0006kB-4W for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 12:27:14 +0100 Original-Received: from mordred.mathematik.tu-chemnitz.de ([134.109.40.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 12:27:14 +0100 Original-Received: from frank-fischer by mordred.mathematik.tu-chemnitz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 12:27:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mordred.mathematik.tu-chemnitz.de User-Agent: slrn/0.9.9p1 (Linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:82816 Archived-At: On 2011-11-06, Thien-Thi Nguyen wrote: > () 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 ‘process-connection-type’ (info "(elisp) Asynchronous Processes"). Using pipes seems to work locally. But when starting the process using tramp a pty has to be used. Any ideas what to do in this case? Frank