From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: How to make Ctrl-d not log off the shell? Date: Fri, 18 May 2007 09:17:04 +0200 Organization: The Church of Emacs Message-ID: <87r6pe38jz.fsf@debby.local.net> References: <1179274192.552518.267470@h2g2000hsg.googlegroups.com> <1179431606.520241.256110@h2g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179472662 19777 80.91.229.12 (18 May 2007 07:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 May 2007 07:17:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: mowgli Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 18 09:17:41 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 1Howia-0006X8-7d for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 09:17:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Howqk-0008Dh-Ms for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 03:26:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HowqX-0008Da-By for help-gnu-emacs@gnu.org; Fri, 18 May 2007 03:25:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HowqV-0008DN-Lo for help-gnu-emacs@gnu.org; Fri, 18 May 2007 03:25:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HowqV-0008DK-G0 for help-gnu-emacs@gnu.org; Fri, 18 May 2007 03:25:51 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HowiH-0006xW-Sn for help-gnu-emacs@gnu.org; Fri, 18 May 2007 03:17:22 -0400 Original-Received: from [84.167.28.32] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1HowiB2MWX-0008Iv; Fri, 18 May 2007 09:17:16 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.67) (envelope-from ) id 1Howi0-0001OG-1B; Fri, 18 May 2007 09:17:04 +0200 In-Reply-To: <1179431606.520241.256110@h2g2000hsg.googlegroups.com> (mowgli's message of "17 May 2007 12\:53\:26 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-Provags-ID: V01U2FsdGVkX18qDIX4q4068WFQDQV27a6smDfxfiUDRfWqHsP hmJt9vsW3UfU+QEwvzD62gqw55B/KYgf6IhrrAwcmlGYlmVSgX IEs2W4JUkZA8nVD0YXrS0V20SYgvyzr X-detected-kernel: Linux 2.6? (barebone, rare!) 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:44127 Archived-At: mowgli writes: > This is what I wanted. But instead of twice, it would be nice to have > 5 times instead. Because whenever there's an accidental logoff it's > mostly due to many Ctrl-d presses and not just two. > export IGNOREEOF=5 # only ^D (C-d) five times is exiting now. > Where can I find documentaion for C-d for bash? in a terminal type $ info bash and then C-s IGNOREEOF Normally it should also work under the Emacs info system (with C-h i) but on my new debian system it's not yet working. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany