From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10861 invoked by alias); 3 Feb 2010 13:38:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27650 Received: (qmail 7189 invoked from network); 3 Feb 2010 13:38:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Wed, 3 Feb 2010 13:38:09 +0000 From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: Want to replace bash w zsh as system shell on Ubuntu Message-ID: <20100203133809.0ae0c69f@news01> In-Reply-To: <20100202150639.4ee8d46c@news01> References: <20100202081546.GA5930@panix.com> <87vdefkeuf.fsf@ft.bewatermyfriend.org> <20100202150639.4ee8d46c@news01> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Feb 2010 13:38:09.0705 (UTC) FILETIME=[1FCE4990:01CAA4D6] X-Scanned-By: MailControl A-09-22-10 (www.mailcontrol.com) on 10.71.0.133 On Tue, 2 Feb 2010 15:06:39 +0000 Peter Stephenson wrote: > Would need some documentation. This, I think. The fact that ulimit is now present when starting in an emulation mode (I'm not sure of the best way to phrase that) doesn't need documenting, we never actually said it wasn't, which is an omission given it's listed as a builtin (hence the sched change, too). Index: Doc/Zsh/builtins.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/builtins.yo,v retrieving revision 1.129 diff -u -r1.129 builtins.yo --- Doc/Zsh/builtins.yo 5 Jan 2010 16:29:35 -0000 1.129 +++ Doc/Zsh/builtins.yo 3 Feb 2010 13:01:46 -0000 @@ -872,6 +872,10 @@ sitem(var(n)tt(m))(megabytes or minutes) sitem([var(mm)tt(:)]var(ss))(minutes and seconds) endsitem() + +The tt(limit) command is not made available by default when the +shell starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/rlimits b:limit)'. ) findex(local) item(tt(local) [ {tt(PLUS())|tt(-)}tt(AEFHUahlprtux) ] \ @@ -1286,6 +1290,10 @@ For historical reasons, `tt(set -)' is treated as `tt(set +xv)' and `tt(set -) var(args)' as `tt(set +xv --) var(args)' when in any other emulation mode than zsh's native mode. + +The tt(sched) builtin is not made available by default when the shell +starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/sched b:sched)'. ) module(setcap)(zsh/cap) findex(setopt) @@ -1794,6 +1802,10 @@ the hard resource limit for each var(resource) is removed. The resources of the shell process are only changed if the tt(-s) flag is given. + +The tt(limit) command is not made available by default when the +shell starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/rlimits b:unlimit)'. ) findex(unset) cindex(parameters, unsetting) Index: Doc/Zsh/grammar.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/grammar.yo,v retrieving revision 1.17 diff -u -r1.17 grammar.yo --- Doc/Zsh/grammar.yo 15 Sep 2009 13:51:19 -0000 1.17 +++ Doc/Zsh/grammar.yo 3 Feb 2010 13:01:46 -0000 @@ -222,6 +222,10 @@ var(word) is expanded and treated as an arithmetic expression, which must evaluate to a number var(n). var(list) is then executed var(n) times. + +The tt(repeat) syntax is disabled by default when the +shell starts in a mode emulating another shell. It can be enabled +with the command `tt(enable -r repeat)' ) findex(case) cindex(case selection) -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom