From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: How to make Ctrl-d not log off the shell? Date: Tue, 22 May 2007 06:37:52 +0200 Organization: GNU's Not UNIX! Message-ID: <200705220437.l4M4bqck012252@localhost.localdomain> References: <1179274192.552518.267470@h2g2000hsg.googlegroups.com> <1179431606.520241.256110@h2g2000hsg.googlegroups.com> <87r6pe38jz.fsf@debby.local.net> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179809014 19561 80.91.229.12 (22 May 2007 04:43:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 May 2007 04:43:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, knowledgeless@gmail.com To: Dieter Wilhelm Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 22 06:43:33 2007 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 1HqMDZ-0006kt-8h for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2007 06:43:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqMDY-00078d-Qm for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2007 00:43:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqMA7-0005O1-64 for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqMA6-0005NP-DJ for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqMA6-0005NJ-8d for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:54 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqMA5-0002Ir-Mb for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:53 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 2ACDB55BBD; Tue, 22 May 2007 06:38:50 +0200 (CEST) Original-Received: from localhost.localdomain (IDENT:1001@localhost [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id l4M4brx6012255; Tue, 22 May 2007 06:37:53 +0200 Original-Received: (from zedek@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id l4M4bqck012252; Tue, 22 May 2007 06:37:52 +0200 In-reply-to: <87r6pe38jz.fsf@debby.local.net> (message from Dieter Wilhelm on Fri, 18 May 2007 09:17:04 +0200) User-Agent: Rmail in GNU Emacs 23.0.51.1 on GNU/Linux Jabber-ID: zedek@im.lolica.org X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.283, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.12, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-kernel: Linux 2.6 (newer, 3) 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:44240 Archived-At: export IGNOREEOF=5 # only ^D (C-d) five times is exiting now. This is, by far, the best approache we could have. Actually this is what I am currently using too for ages. It just works like a charm without any changes in the code, which is best(TM). Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org