From: Mark Hessling <m.hessling@qut.edu.au>
To: zsh-workers@math.gatech.edu
Subject: Extending zsh capabilities
Date: Mon, 27 Jul 1998 20:07:23 +1000 (EST) [thread overview]
Message-ID: <Pine.OSF.3.92.980727195209.20094B-100000@pigeon.qut.edu.au> (raw)
In-Reply-To: <199807270524.BAA22704@math.gatech.edu>
Hi Guys,
I have been using zsh for several years now and have had no complaints!
What I want to do now is add optional support for Rexx programs into a shell,
and figured that zsh would be the shell to use.
Firstly, would there be any objections to me adding this support and getting
it into the "official" distribution ?
Secondly, what assistance might I be able to get to point me in the right
direction ? I originally tried adding this support to bash, but couldn't
get it to work; probably because I didn't know enough of the internals of
bash to know where the right place was to hook the Rexx support into.
I've had a look at Zsh modules in 3.1.3, but don't think that this mechanism
will work. Maybe it will, but that's where I need some knowledgeble advice.
Before I go too much further, I'll explain what I want to do and someone
hopefully can provide some pointers.
All Rexx program begin with /* in the first two characters of the first line
of an executable file (much like #!). When zsh comes across a Rexx program,
I want to execute this program within the shell, but unlike #! programs,
execute within the current process. So I can't use the #! hook.
Executing a Rexx program within a current process is straighforward, I need
to call the API function RexxStart() with the filename as one of the arguments.
The interface is simple; its knowing where to hook it into zsh that is my
biggest problem.
Any comments, suggestions or pointers greatly appreciated.
Cheers, Mark
------------------------------------------------------------------------
Mark Hessling Email: M.Hessling@qut.edu.au
PO Box 203 http://www.lightlink.com/hessling/
Bellara AUTHOR of | MAINTAINER of
QLD 4507 THE | PDCurses
Australia Rexx/SQL | Regina
Member of RexxLA: http://www.rexxla.org/
------------------------------------------------------------------------
next parent reply other threads:[~1998-07-27 11:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199807270524.BAA22704@math.gatech.edu>
1998-07-27 10:07 ` Mark Hessling [this message]
1998-07-27 11:18 ` Bruce Stephens
1998-07-27 12:13 ` Peter Stephenson
1998-07-29 22:59 ` Mark Hessling
1998-07-30 8:04 ` Zefram
1998-07-30 8:15 ` Peter Stephenson
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=Pine.OSF.3.92.980727195209.20094B-100000@pigeon.qut.edu.au \
--to=m.hessling@qut.edu.au \
--cc=zsh-workers@math.gatech.edu \
/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).