From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28640 invoked by alias); 17 Dec 2014 18:03:19 -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: 33996 Received: (qmail 13289 invoked from network); 17 Dec 2014 18:03:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7fc86d0000066b7-74-5491c3049b6e Date: Wed, 17 Dec 2014 17:53:05 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Suggestion for ZSH, who do I send it to? Message-id: <20141217175305.23e73179@pwslap01u.europe.root.pri> In-reply-to: <141217090044.ZM567@torch.brasslantern.com> References: <5491A318.5020303@askmicah.net> <141217090044.ZM567@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xa7oshyeGGCx5a2hxsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4Mj4dv8BUcJCr4uSyqUwNjDs5uhg5OSQETCR6j19nhrDFJC7c W8/WxcjFISSwlFHi7IFlzBDOEiaJbX8amCCcbYwSpxfPYeli5OBgEVCVWL/aGaSbTcBQYuqm 2YwgtoiAuMTZtedZQGxhAVOJts+9YHFeAXuJC48OMoHYnAIWEmf71rCB2EICkRJ3v/Wzgtj8 AvoSV/9+YoK4yF5i5pUzUL2CEj8m3wObySygJbF5WxMrhC0vsXnNW2aIOeoSN+7uZp/AKDQL ScssJC2zkLQsYGRexSiaWppcUJyUnmukV5yYW1yal66XnJ+7iREStF93MC49ZnWIUYCDUYmH 98X1CSFCrIllxZW5hxglOJiVRHjZDkwMEeJNSaysSi3Kjy8qzUktPsTIxMEp1cBYFZc1bcmV uBV1fw6kHQ3KzGWavbpsQuaxp8u2Lf+YOYP108q7sZK+v11rDm902G8Sdle++kTmuruPKna8 TmhVuOy5PihHL2HeRAGu0Mcf5m9YXbXmxunsMOc837fzr2xeyfbNNH2DbNnTU5dT2/+fKz9p 2mXAJLZmy3871RNC5w9OvyC9ft+KUiWW4oxEQy3mouJEACjXKlE4AgAA On Wed, 17 Dec 2014 09:00:44 -0800 Bart Schaefer wrote: > } My suggestion is to add a few options to the sysread and syswrite > } builtins that come stock with ZSH in the system module: > > If this is a change that means these options would not work when a > particular GNU library is not available, then it would be better to > add them a different way so that it's possible to test beforehand > whether they are available. I don't think the module "features" > mechanism has granularity below the level of a new builtin (i.e., I > don't think you can use features to test for individual options). The "zsystem supports" command was added to this module for this purpose. "zsystem supports anyoldrubbish" simply returns status 1 unless the zsystem module has been provided with an internal feature called anyoldrubbish. It's not visible at the zmodule interface, however; you have to load the module and run the command. Explicitly linking against GNU libraries might have legal consequences. We print a warning when we do this with libgdbm as it means the binary is covered by the GNU public license (as they call it). It depends on the licence (as I call it) for the library whether this would apply here. pws P.S. Tests reveal zsystem does not currently support anyoldrubbish.