zsh-users
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f.rosencrantz@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: zsh compiling on Apple OSX v. 10.4.x
Date: Mon, 23 May 2005 00:23:21 -0700	[thread overview]
Message-ID: <dc507f4a050523002352f05af1@mail.gmail.com> (raw)
In-Reply-To: <294439D0-476D-43F3-8326-8209C1F3FE9C@chemistry.ucsc.edu>

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@chemistry.ucsc.edu> 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.


      parent reply	other threads:[~2005-05-23  7:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  7:02 William Scott
     [not found] ` <wgscott@chemistry.ucsc.edu>
2005-05-19  9:33   ` Peter Stephenson
2005-05-19 14:03     ` William Scott
2005-05-23  7:23 ` Felix Rosencrantz [this message]

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=dc507f4a050523002352f05af1@mail.gmail.com \
    --to=f.rosencrantz@gmail.com \
    --cc=zsh-users@sunsite.dk \
    /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).