From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7260 invoked from network); 23 Jun 2000 15:49:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jun 2000 15:49:11 -0000 Received: (qmail 15336 invoked by alias); 23 Jun 2000 15:46:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12056 Received: (qmail 15315 invoked from network); 23 Jun 2000 15:46:31 -0000 From: "Bart Schaefer" Message-Id: <1000623154624.ZM14670@candle.brasslantern.com> Date: Fri, 23 Jun 2000 15:46:23 +0000 In-Reply-To: <000b01bfdd06$ff1742c0$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "Compiled-in modules in static shell" (Jun 23, 3:34pm) References: <000b01bfdd06$ff1742c0$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "ZSH workers mailing list" Subject: Re: Compiled-in modules in static shell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 23, 3:34pm, Andrej Borsenkow wrote: } Subject: Compiled-in modules in static shell } } Is there any reason, why not all modules are compiled in for static } shell (assuming, they can be compiled as found by configure)? The main reason is to avoid producing an enormous executable. Average processor speed, memory, and disk capacity have all increased by a factor of at least 4 since the zsh module system was introduced, and operating systems have gotten better at running multiple copies of the same executable, too, so maybe this isn't as much of an issue any more. Still, the idea is not to slow zsh down with stuff that isn't essential, particularly (as with the files module) if the same can be accomplished with external programs. Also keep in mind that the module system was originally intended only to handle adding builtin commands, so by definition anything you could do with a module you could also do with an external program (or a shell function). } I ask, because on Cygwin in default installation some pretty useful } odules are missing (e.g. zpty - thus making some tests impossible). I think zpty in particular is left out because it's the newest and least likely to compile successfully on a given platform. Even if we don't compile in all modules by default everywhere, there are probably certain platforms (cygwin being one of the best examples) where more of the modules ought to be included. -- 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