From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Sending EOF in process-send-string Date: Wed, 02 Dec 2009 20:23:34 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1259803464 12745 80.91.229.12 (3 Dec 2009 01:24:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 01:24:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 03 02:24:17 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NG0QZ-00071h-Os for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 02:24:15 +0100 Original-Received: from localhost ([127.0.0.1]:38614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG0QZ-0007Rg-Bg for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 20:24:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NG0Q0-0006u6-1q for emacs-devel@gnu.org; Wed, 02 Dec 2009 20:23:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NG0Pv-0006pF-2H for emacs-devel@gnu.org; Wed, 02 Dec 2009 20:23:39 -0500 Original-Received: from [199.232.76.173] (port=41784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG0Pu-0006oz-Qy for emacs-devel@gnu.org; Wed, 02 Dec 2009 20:23:34 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54496) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NG0Pu-00059q-HT for emacs-devel@gnu.org; Wed, 02 Dec 2009 20:23:34 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NG0Pu-0007is-26; Wed, 02 Dec 2009 20:23:34 -0500 In-reply-to: (message from Stefan Monnier on Tue, 01 Dec 2009 16:27:16 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118161 Archived-At: Maybe you are right that the EOF is needed only in certain modes. I remember struggling to find a way to deal with the condition in which the tty and Emacs are both waiting and the buffer is full. A related question is: why does child_setup_tty set ICANON even though the comments say "It should not echo or do line-editing, since that is done in Emacs". Unforunately I don't remember the answer to that.