From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc Date: Thu, 27 Nov 2008 13:21:11 -0500 Message-ID: References: <7p1vx3jwyo.fsf@fencepost.gnu.org> <18728.51742.251222.477040@fencepost.gnu.org> <921vx1efa4.fsf@fencepost.gnu.org> <5uskpgfmuy.fsf@fencepost.gnu.org> Reply-To: Stefan Monnier , 1388@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227810636 31483 80.91.229.12 (27 Nov 2008 18:30:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 18:30:36 +0000 (UTC) Cc: 1388@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 19:31:38 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5leL-0007vO-RI for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 19:31:38 +0100 Original-Received: from localhost ([127.0.0.1]:39259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5ldB-0002Is-Qk for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 13:30:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5ld7-0002IB-FR for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 13:30:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5ld5-0002HT-HP for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 13:30:20 -0500 Original-Received: from [199.232.76.173] (port=47556 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5ld5-0002HQ-Eu for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 13:30:19 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43258) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5ld4-0000nE-Pv for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 13:30:19 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mARIUBYG027647; Thu, 27 Nov 2008 10:30:11 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mARIU3AV027097; Thu, 27 Nov 2008 10:30:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 27 Nov 2008 18:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1388 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1388-submit@emacsbugs.donarmstrong.com id=B1388.122781008225743 (code B ref 1388); Thu, 27 Nov 2008 18:30:03 +0000 Original-Received: (at 1388) by emacsbugs.donarmstrong.com; 27 Nov 2008 18:21:22 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mARILJG1025737 for <1388@emacsbugs.donarmstrong.com>; Thu, 27 Nov 2008 10:21:20 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtsEANxzLknO+Jkl/2dsb2JhbACBbdA3gn2BJA X-IronPort-AV: E=Sophos;i="4.33,676,1220241600"; d="scan'208";a="30370611" Original-Received: from 206-248-153-37.dsl.teksavvy.com (HELO ceviche.home) ([206.248.153.37]) by ironport2-out.teksavvy.com with ESMTP; 27 Nov 2008 13:21:13 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id DE594700CF; Thu, 27 Nov 2008 13:21:11 -0500 (EST) In-Reply-To: <5uskpgfmuy.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 24 Nov 2008 23:31:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 27 Nov 2008 13:30:20 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22724 Archived-At: > OK, change reverted, bug re-opened. Thank you. > Given that said change solves the reported bug, and I was just > following your own suggestion on what to do, I'm thoroughly confused. > (But this is not atypical.) My suggestion was for how to fix the particular circumstance. I didn't imply that it would fix the problem in general. And indeed, you've found that there's a fundamental problem in how we handle processes that seems to make it impossible right now to reproduce what a normal shell would do. This said, I haven't looked closely enough to know that your change might make things worse in some cases. But it doesn't seem obviously safe. So maybe you can convince me that it's not making things worse in other circumstances, or that those circumstances are much less likely (or didn't work well anyway in the past for other reasons). Stefan