From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Bug in shell.el: explicit-bash-args does not work for bash 1.x Date: 25 Oct 2002 16:28:00 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xn0p2mw3z.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035552516 10020 80.91.224.249 (25 Oct 2002 13:28:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2002 13:28:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1854Vu-0002bJ-00 for ; Fri, 25 Oct 2002 15:28:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1854Ya-0003jX-00 for ; Fri, 25 Oct 2002 15:31:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1854Va-0001YB-00; Fri, 25 Oct 2002 09:28:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1854VI-0001S8-00 for emacs-devel@gnu.org; Fri, 25 Oct 2002 09:27:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1854VF-0001Rv-00 for emacs-devel@gnu.org; Fri, 25 Oct 2002 09:27:55 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 1854VE-0001Rp-00 for emacs-devel@gnu.org; Fri, 25 Oct 2002 09:27:52 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 6C09E7C017; Fri, 25 Oct 2002 13:27:51 +0000 (GMT) Original-To: schwab@suse.de Original-Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8785 It is quite a mystery to me why I just started to get bitten by the follow change [which is now 4 month old]: 2002-06-28 Andreas Schwab * shell.el (explicit-bash-args): New user option. This is specified to define explicit-bash-args to --noediting -i which are the proper options for bash 2.x However, for bash 1.x (included with e.g. redhat 6.2), the --noediting option isn't recognized and bash refuses to start. For bash 1.x, the corresponding option was named -nolineediting, but even setting that option doesn't really work, as (for some reason I don't understand) process-send-eof is then unable to terminate the running bash 1.x (so C-d at EOB no longer exits the shell)! Only reverting back to explicit-bash-args not including neither --noediting nor -nolineediting makes it work ok. As I said above, I'm puzzled why I didn't discover this earlier -- I use shell buffers all the time, but maybe it's been some time since I actually did that on the system where I still have redhat 6.2 installed. -- Kim F. Storm http://www.cua.dk