Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Building a new ZSH module outside the ZSH source tree
- X-seq: zsh-workers 41162
- From: George <tetsujin@xxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Building a new ZSH module outside the ZSH source tree
- Date: Fri, 26 May 2017 01:54:15 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=scope-eye.net; h= message-id:subject:from:to:date:in-reply-to:references :content-type:mime-version; s=scope-eye.net; bh=YLMs3jpSZO0jg9/w m62MpdJj0eg=; b=rOUFBuNkQQKmXCjoGhsfEeCXkVc7iAesWGzYuU3syqPhQNdM 1157QzTWMc+KgfsRcnC1JClG+1XpsG+p9vPc8zXNHL2sp8WjJls5WaRi3VCSboDB qDiLxKuVBpQ+5Xcx66spzOD2kAKJqnIVhGdkbaS+vX3qP6gFMBHfesyxDzY=
- In-reply-to: <etPan.5926d563.515f007c.1a9@MacMini.local>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <8b3ca9a21415fa118f593dcc189bb5e04e64e75d@webmail.scope-eye.net> <etPan.5926d563.515f007c.1a9@MacMini.local>
On Thu, 2017-05-25 at 15:00 +0200, Sebastian Gniazdowski wrote:
> >
> > One thing: from Zsh 5.2 there was introduced addmodulefd() call. Created file descriptors should be registered with it. So module will need
> > #ifdefs disabling this call to properly load on zsh-5.0.8 or similar. I think what the addmodulefd() does isn't actually or fully used within
> > shell, the fd-management still actually relies on dup, dup2 knowing which FDs are taken and which are free. Am I right, could someone clarify?
> >
> >
Interesting. Thanks for the heads up, my familiarity with the zsh codebase is pretty limited at this point, but handling FDs (and correctly) will be
important for what I have in mind, so this is useful information, and a detail I could have easily overlooked.##SELECTION_END##
Messages sorted by:
Reverse Date,
Date,
Thread,
Author