From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: ^D is broken in shell-mode Date: Tue, 08 Jun 2010 22:16:42 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276005521 31676 80.91.229.12 (8 Jun 2010 13:58:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2010 13:58:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 08 15:58:40 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OLzK6-0005rp-KP for ged-emacs-devel@m.gmane.org; Tue, 08 Jun 2010 15:58:39 +0200 Original-Received: from localhost ([127.0.0.1]:56519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLz44-0000pY-Rm for ged-emacs-devel@m.gmane.org; Tue, 08 Jun 2010 09:42:00 -0400 Original-Received: from [140.186.70.92] (port=39315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLytA-00049j-SN for emacs-devel@gnu.org; Tue, 08 Jun 2010 09:30:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLyfh-0002is-3e for emacs-devel@gnu.org; Tue, 08 Jun 2010 09:16:50 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:58393) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLyfg-0002i1-Ey; Tue, 08 Jun 2010 09:16:49 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.192]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id o58DGi6S024430; Tue, 8 Jun 2010 22:16:44 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id o58DGi903908; Tue, 8 Jun 2010 22:16:44 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by vgate02.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id o58DGh910110; Tue, 8 Jun 2010 22:16:43 +0900 (JST) Original-Received: from relay61.aps.necel.com ([10.29.19.40] [10.29.19.40]) by relay21.aps.necel.com with ESMTP; Tue, 8 Jun 2010 22:16:43 +0900 Original-Received: from dhlpc061 ([10.114.113.131] [10.114.113.131]) by relay61.aps.necel.com with ESMTP; Tue, 8 Jun 2010 22:16:43 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 16E1752E003; Tue, 8 Jun 2010 22:16:43 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop Original-Lines: 17 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) 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:125634 Archived-At: It now results in a literal ^D being seen by the subproces. I vaguely recall seeing recently that emacs stopped using ICANON mode for ptys; I presume this is the cause? It's been a long time since I did pty programming, but I seem to recall that at least in some pty states, doing a zero-length write in the pty master will send an end-of-file to the slave tty. I don't recall the details though... Thanks, -Miles -- Future, n. That period of time in which our affairs prosper, our friends are true and our happiness is assured.