From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12966 invoked from network); 13 Mar 2003 22:36:05 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Mar 2003 22:36:05 -0000 Received: (qmail 23340 invoked by alias); 13 Mar 2003 22:35:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5966 Received: (qmail 23333 invoked from network); 13 Mar 2003 22:35:37 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Mar 2003 22:35:37 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [212.242.181.110] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Mar 2003 22:35:37 -0000 Received: (qmail 25713 invoked from network); 13 Mar 2003 22:38:15 -0000 Received: from cine.davh.dk (HELO cine) (mail@192.168.0.110) by chacal.davh.dk with SMTP; 13 Mar 2003 22:38:15 -0000 Received: from davh by cine with local (Exim 3.35 #1 (Debian)) id 18tbIX-0000Nq-00 for ; Thu, 13 Mar 2003 23:35:37 +0100 To: zsh-users@sunsite.dk Subject: Re: disabling exit References: <20030312204634.GA21684@fruitcom.com> <20030313101910.GA23691@picard.franken.de> <20030313135948.GA3693@fruitcom.com> <20030313150132.GA88@DervishD> From: Dennis Haney Date: 13 Mar 2003 23:35:37 +0100 In-Reply-To: <20030313150132.GA88@DervishD> Message-ID: <873clqvqrq.fsf@cine.davh.dk> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "DervishD" == DervishD writes: DervishD> Hi Eric :) Eric Smith dixit: >> Also added: alias exit='echo -e I wont go away' DervishD> Won't work. Just type 'exit' (that way, with the quotes) DervishD> and the true 'exit', not the aliased one, will execute :(( DervishD> Better run 'disable exit'. You can always 'enable exit' DervishD> again, but... If you really need all that control, how about DervishD> tweaking the source code?. It's not very difficult and you DervishD> get control over what builtin commands are present and what DervishD> not. besides even with ignore_eof you can still press ctrl-d, just hold it down long enough... -- Dennis use Inline C => qq{void p(char*g){ printf("Just Another %s Hacker\n",g);}};p("Perl");