From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27152 invoked from network); 23 Jul 2001 16:39:56 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jul 2001 16:39:56 -0000 Received: (qmail 22936 invoked by alias); 23 Jul 2001 16:39:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15461 Received: (qmail 22925 invoked from network); 23 Jul 2001 16:39:49 -0000 From: "Bart Schaefer" Message-Id: <1010723163850.ZM14004@candle.brasslantern.com> Date: Mon, 23 Jul 2001 16:38:50 +0000 In-Reply-To: <20010723150019.A25511@leeor.math.technion.ac.il> Comments: In reply to "Nadav Har'El" "Re: Enhanced shell" (Jul 23, 3:00pm) References: <20010722224707.BD7621428E@pwstephenson.fsnet.co.uk> <3B5C06E6.FFFCCFCC@u.genie.co.uk> <20010723150019.A25511@leeor.math.technion.ac.il> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh hackers list Subject: Enable/disable (was Re: Enhanced shell) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 23, 3:00pm, Nadav Har'El wrote: } } On Mon, Jul 23, 2001, Oliver Kiddle wrote about "Re: Enhanced shell": } > > ? disable/enable? [bash] } > not so useful. they are also common as commands to enable/disable } > printers (on AIX and Solaris at least). } } These are useful for restricted-shell mode, when you sometimes want to } disable builtins (e.g., the "read" builtin allows the restricted user to } read files that they shouldn't). As of 4.0.1, `builtin read' will run `read' even after `disable read'. Maybe we need to rethink that. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net