Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh compiling on Apple OSX v. 10.4.x
- X-seq: zsh-users 8895
- From: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh compiling on Apple OSX v. 10.4.x
- Date: Mon, 23 May 2005 00:23:21 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=elIMcPeZaiCFHEXSVGZ8pTMMaO3+DxtMJq7QcWs00CEHmd1RVCEm7JHMr7K7bk9qMNgCreOD+t37fDO4scYGfDBKJCBbM7vLCPRIzYoFgoEvQPrlXUjxFrPonvGwVc8e7j2+g+pBrU6rzzWywXj7tT7GenfhcepIBVFASxjmEj4=
- In-reply-to: <294439D0-476D-43F3-8326-8209C1F3FE9C@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <294439D0-476D-43F3-8326-8209C1F3FE9C@xxxxxxxxxxxxxxxxxx>
- Reply-to: Felix Rosencrantz <f.rosencrantz@xxxxxxxxx>
It wasn't clear to me from Bill's original question, that the folks at
Apple have made some mods to the zsh build to get it work on OSX 10.4.
Here's the url for their Portfile:
http://cvs.opendarwin.org/index.cgi/proj/darwinports/dports/shells/zsh/
It seems that on 10.4, it's better to use select() than poll() for the
terminal IO. Otherwise you get the broken behavior Bill mentions.
Though configure for zsh hasn't been modified to know this. I'm not
sure how to modify the autoconfg code to change this code for 10.4.
But it would be nice to fix this, so that zsh builds properly on OSX
10.4 w/o hand-edits to config.h.
-FR.
On 5/19/05, William Scott <wgscott@xxxxxxxxxxxxxxxxxx> wrote:
> When I tried compiling zsh on OSX v. 10.4, I found that the resulting
> zsh, when invoked, did not appear to respond to arrow keys, back-
> spaces and so-forth (I say "appear" because apparently it just
> doesn't update the terminal display). Following Apple's patch, I
> configured and then edited the file config.h to remove the lines
>
>
> 391 /* Define to 1 if you have the `poll' function. */
> 392 /* #define HAVE_POLL 1 */
> 393
> 394 /* Define to 1 if you have the <poll.h> header file. */
> 395 /* #define HAVE_POLL_H 1 */
>
> Then compiled and installed and the problem went away.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author