From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: zpty on Mac OS X 10.2
Date: Wed, 17 Mar 2004 15:00:53 +0100 [thread overview]
Message-ID: <12579.1079532053@trentino.logica.co.uk> (raw)
In-Reply-To: <18692.1079528577@csr.com>
Peter wrote:
> I tried the Macs at Sourceforge. They claim to be be `Mac OS X 10.1'
> and `Mac OS X 10.2'. On the second uname -a gives `Darwin
> ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10
For what it's worth, the other is darwin 5.5.
> I don't know the relationship between Darwin and Mac OS X.
Darwin is the base system which is available as open source. It lacks
all the GUI stuff. You can install darwin alone (even on an x86 box
apparently), but you'd have little more than BSD Unix.
> Does it help to turn the #ifdef __FreeBSD__ in zpty.c into
> #if defiend(__FreeBSD__) || defined(__APPLE__)
It doesn't help. It's possibly a valid change though: pty(4) lists
/dev/pty[p-sP-S][a-z0-9] master pseudo terminals
/dev/tty[p-sP-S][a-z0-9] slave pseudo terminals
but if you go by the contents of /dev, it might be /dev/pty[p-w][a-f0-9]
Judging from what I read on an Apple web page, I think both __APPLE__
and __MACH__ are supposed to be checked. Presumably because __APPLE__
is defined on A/UX (though I can't imagine anyone running zsh on that
anymore).
Oliver
prev parent reply other threads:[~2004-03-17 14:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-15 16:55 zpty on HP/UX Oliver Kiddle
2004-03-15 17:11 ` Peter Stephenson
2004-03-16 15:07 ` PATCH: " Peter Stephenson
2004-03-16 19:47 ` Oliver Kiddle
2004-03-16 23:50 ` mneptok
2004-03-17 10:12 ` Oliver Kiddle
2004-03-17 10:23 ` PATCH: zpty on HP/UX (and Mac OS X 10.3) James Devenish
2004-03-17 11:10 ` mneptok
2004-03-17 11:34 ` Mac OS X 10.3 again [was: PATCH: zpty on HP/UX] James Devenish
2004-03-17 13:19 ` Mac OS X 10.3 again James Devenish
2004-03-17 11:19 ` PATCH: zpty on HP/UX (and Mac OS X 10.3) Oliver Kiddle
2004-03-17 13:02 ` zpty on Mac OS X 10.2 Peter Stephenson
2004-03-17 14:00 ` Oliver Kiddle [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=12579.1079532053@trentino.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@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).