From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25353 invoked from network); 21 Sep 2005 00:36:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Sep 2005 00:36:26 -0000 Received: (qmail 40858 invoked from network); 21 Sep 2005 00:36:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 00:36:18 -0000 Received: (qmail 21651 invoked by alias); 21 Sep 2005 00:36:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9432 Received: (qmail 21642 invoked from network); 21 Sep 2005 00:36:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Sep 2005 00:36:09 -0000 Received: (qmail 39755 invoked from network); 21 Sep 2005 00:36:09 -0000 Received: from eastrmmtao06.cox.net (68.230.240.33) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 00:36:08 -0000 Received: from quark.hightek.org ([68.12.75.33]) by eastrmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050921003604.GALO17424.eastrmmtao06.cox.net@quark.hightek.org> for ; Tue, 20 Sep 2005 20:36:04 -0400 Received: from quark.hightek.org (localhost [127.0.0.1]) by quark.hightek.org (Postfix) with ESMTP id 1218176C86 for ; Tue, 20 Sep 2005 19:30:27 -0500 (CDT) Received: (from vince@localhost) by quark.hightek.org (8.12.11/8.12.11) id j8L0UQBL002433 for zsh-users@sunsite.dk; Tue, 20 Sep 2005 19:30:26 -0500 (CDT) Date: Tue, 20 Sep 2005 19:30:26 -0500 From: Vincent Stemen To: zsh-users@sunsite.dk Subject: Re: ulimit "command not found" when run from a script on NetBSD Message-ID: <20050921003026.GA9710@quark.hightek.org> References: <20050919192129.GA23976@quark.hightek.org> <1050920020712.ZM8701@candle.brasslantern.com> <200509200654.58805.arvidjaar@newmail.ru> <20050920145440.GA3153@quark.hightek.org> <1050920155755.ZM9524@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1050920155755.ZM9524@candle.brasslantern.com> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 On Tue, Sep 20, 2005 at 03:57:55PM +0000, Bart Schaefer wrote: > On Sep 20, 9:54am, Vincent Stemen wrote: > } Subject: Re: ulimit "command not found" when run from a script on NetBSD > } > } Is this something that can be easily corrected in zsh? > > Most immediately, you can put > > zmodload -ab -i zsh/rlimits ulimit > > into /etc/zshrc. > > Longer-term, the developers need to get the equivalent of that into > the (auto-generated) Src/bltinmods.list file. Thanks Bart. That worked fine. I had to put it in the sh environment script specified by $ENV, rather than /etc/zshrc, since zsh does not read /etc/zshrc when run as sh. I just though I would note that for anybody else who might encounter this issue. BTW, is there any particular reason there is no mention of the rlimits module in the manual. I did not find it when I searched zshall(1). It does cover ulimit under the build-in commands section. Regards, Vincent