From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5484 invoked from network); 21 Sep 2005 02:21:43 -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 02:21:43 -0000 Received: (qmail 2363 invoked from network); 21 Sep 2005 02:21:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 02:21:37 -0000 Received: (qmail 2463 invoked by alias); 21 Sep 2005 02:21:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9434 Received: (qmail 2454 invoked from network); 21 Sep 2005 02:21:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Sep 2005 02:21:27 -0000 Received: (qmail 817 invoked from network); 21 Sep 2005 02:21:27 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 21 Sep 2005 02:21:26 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IN500E2CAJLJPV2@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Tue, 20 Sep 2005 21:21:22 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j8L2LKd5009917 for ; Tue, 20 Sep 2005 19:21:20 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j8L2LKVb009916 for zsh-users@sunsite.dk; Tue, 20 Sep 2005 19:21:20 -0700 Date: Wed, 21 Sep 2005 02:21:20 +0000 From: Bart Schaefer Subject: Re: ulimit "command not found" when run from a script on NetBSD In-reply-to: <200509202039.55592.arvidjaar@newmail.ru> In-reply-to: <20050921003026.GA9710@quark.hightek.org> To: zsh-users@sunsite.dk Message-id: <1050921022120.ZM9915@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050919192129.GA23976@quark.hightek.org> <20050920145440.GA3153@quark.hightek.org> <1050920155755.ZM9524@candle.brasslantern.com> <200509202039.55592.arvidjaar@newmail.ru> <1050920020712.ZM8701@candle.brasslantern.com> <200509200654.58805.arvidjaar@newmail.ru> <20050921003026.GA9710@quark.hightek.org> Comments: In reply to Andrey Borzenkov "Re: ulimit "command not found" when run from a script on NetBSD" (Sep 20, 8:39pm) Comments: In reply to Vincent Stemen "Re: ulimit "command not found" when run from a script on NetBSD" (Sep 20, 7:30pm) 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.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Sep 20, 8:39pm, Andrey Borzenkov wrote: } Subject: Re: ulimit "command not found" when run from a script on NetBSD } } } On Tuesday 20 September 2005 19:57, Bart Schaefer wrote: } > Longer-term, the developers need to get the equivalent of that into } > the (auto-generated) Src/bltinmods.list file. } } what's the point of having it as module then? I never understood why it was made into a module in the first place. It's static-linked into the main binary so it's not like it's keeping down the size of the executable. On the assumption, however, that there was a reason for it (and not just "because we can"), autoloading ulimit in POSIX mode is needed. Ideally limit and unlimit would remain disabled unless explicitly asked for, but that might be more difficult. On Sep 20, 7:30pm, Vincent Stemen wrote: } Subject: Re: ulimit "command not found" when run from a script on NetBSD } } BTW, is there any particular reason there is no mention of the rlimits } module in the manual. Yes; because it's statically linked into the main binary and (except in sh emulation) all the commands in it are marked for autoloading, so it does not behave like a module most of the time.