From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6082 invoked by alias); 5 Jan 2012 21:01:47 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16702 Received: (qmail 20433 invoked from network); 5 Jan 2012 21:01:36 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.171 is neither permitted nor denied by SPF record at ntlworld.com) X-ProxyUser-IP: 86.6.29.42 Date: Thu, 5 Jan 2012 21:01:26 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: autoload syntax Message-ID: <20120105210126.39fc9700@pws-pc.ntlworld.com> In-Reply-To: <4F0608CF.3020001@eastlink.ca> References: <20111224111347.GE3506@xvii.vinc17.org> <111226234028.ZM23820@torch.brasslantern.com> <111228112835.ZM29173@torch.brasslantern.com> <4EFE1AE2.1000404@eastlink.ca> <111230130727.ZM1480@torch.brasslantern.com> <4F048DCB.8000600@eastlink.ca> <20120105201347.28d5dfe9@pws-pc.ntlworld.com> <4F0608CF.3020001@eastlink.ca> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 05 Jan 2012 12:32:15 -0800 Ray Andrews wrote: > Hi Peter: > > On Wed, 04 Jan 2012 09:35:07 -0800 > > Ray Andrews wrote: > >> I'm just working on my first C project in linux, it's a function for > >> moving the mouse pointer to various memorized positions via keystrokes. > >> Three questions: > >> > >> Can I link this program with zsh the same way I do with a zsh function > >> so that it becomes part of the shell? > > You can add it as a module but I'm not sure it's going to help. > > > So I can link a C module the same as a shell function? Where > can I find out more about this? No, you can link a C module completely differently from like a shell function... See the section Modules in zsh-development-guide and the code in Src/Modules. The module will need to provide a standard shell interface, i.e. builtin, parameter, math function or test. > Hey Peter, you never answered my email asking for more information > about zsh. I think I want to get involved. I'm not sure what the questions are, but there are certainly things to look at. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/