From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to avoid having shell scripts which fail from killing Emacs shell? Date: Mon, 22 Jun 2009 20:47:49 +0200 Message-ID: <62B54AFC-7DAD-4A80-9CFF-6F1892EF03AF@Web.DE> References: <88ba12ed-8f02-4f3e-bb30-cc6155a38df2@f38g2000pra.googlegroups.com> <533b7087-5aa6-4278-b995-6a2166e7494e@c18g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245696597 9984 80.91.229.12 (22 Jun 2009 18:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 18:49:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Karr Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 20:49:53 2009 Return-path: Envelope-to: geh-help-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 1MIoaW-0006M2-MM for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 20:49:53 +0200 Original-Received: from localhost ([127.0.0.1]:42581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIoaW-00008t-7e for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 14:49:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIoYm-0008As-JA for help-gnu-emacs@gnu.org; Mon, 22 Jun 2009 14:48:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIoYh-00088e-9X for help-gnu-emacs@gnu.org; Mon, 22 Jun 2009 14:48:03 -0400 Original-Received: from [199.232.76.173] (port=50532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIoYh-00088Z-2z for help-gnu-emacs@gnu.org; Mon, 22 Jun 2009 14:47:59 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:56798) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIoYg-00028v-Lj for help-gnu-emacs@gnu.org; Mon, 22 Jun 2009 14:47:58 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 9A5FE10685EDB; Mon, 22 Jun 2009 20:47:56 +0200 (CEST) Original-Received: from [91.35.191.243] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #277) id 1MIoYe-0002KJ-00; Mon, 22 Jun 2009 20:47:56 +0200 In-Reply-To: <533b7087-5aa6-4278-b995-6a2166e7494e@c18g2000prh.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/4Q6Hoo7Q1ebHSH5EOH+eYCEyiNErIQpIOJNkx YdDaS9MiQ2ZTQF4gYsWMJboPHgkNc2ALwlBnJ99NKXQNg3Z+hh 5dnzlHwuR9u8xHhgceNA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65435 Archived-At: Am 22.06.2009 um 18:43 schrieb David Karr: > If it matters, changing my test script to use "trap" to just exit on a > signal didn't make any difference. Then your bash must be broken. Or you have in a terminal emulator a =20 different environment than in GNU Emacs. As mentioned you can adjust =20 both environments by means of ~/.emacs_bash. You could also check which bash RC files are executed by bash shell =20 in terminal emulator and in GNU Emacs. -- Greetings Pete America believes in education: the average professor earns more money =20= in a year than a professional athlete earns in a whole week. =96 Evan Esar