From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-users@zsh.org
Subject: Re: autoload syntax
Date: Thu, 5 Jan 2012 21:01:26 +0000 [thread overview]
Message-ID: <20120105210126.39fc9700@pws-pc.ntlworld.com> (raw)
In-Reply-To: <4F0608CF.3020001@eastlink.ca>
On Thu, 05 Jan 2012 12:32:15 -0800
Ray Andrews <rayandrews@eastlink.ca> wrote:
> Hi Peter:
> > On Wed, 04 Jan 2012 09:35:07 -0800
> > Ray Andrews<rayandrews@eastlink.ca> 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 <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
next prev parent reply other threads:[~2012-01-05 21:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-24 11:13 PRINT_EXIT_VALUE problems Vincent Lefevre
2011-12-27 7:40 ` Bart Schaefer
2011-12-27 17:30 ` Bart Schaefer
2011-12-28 19:28 ` Bart Schaefer
2011-12-29 2:36 ` Vincent Lefevre
2011-12-30 20:11 ` autoload syntax Ray Andrews
2011-12-30 21:07 ` Bart Schaefer
2011-12-31 3:32 ` Mark van Dijk
2012-01-04 17:35 ` Ray Andrews
2012-01-05 20:13 ` Peter Stephenson
2012-01-05 20:32 ` Ray Andrews
2012-01-05 21:01 ` Peter Stephenson [this message]
2012-01-05 21:06 ` Mikael Magnusson
[not found] ` <4F06163D.9040800@eastlink.ca>
2012-01-05 21:33 ` Mikael Magnusson
2011-12-28 16:26 ` PRINT_EXIT_VALUE problems Nathan Dorfman
2011-12-28 18:42 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120105210126.39fc9700@pws-pc.ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).