zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: zpty on Mac OS X 10.2
Date: Wed, 17 Mar 2004 13:02:57 +0000	[thread overview]
Message-ID: <18692.1079528577@csr.com> (raw)
In-Reply-To: "Oliver Kiddle"'s message of "Wed, 17 Mar 2004 12:19:46 +0100." <11443.1079522386@trentino.logica.co.uk>

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
15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh
powerpc'.  I don't know the relationship between Darwin and Mac OS X.

There appears to be no /dev/ptmx, so we are back in the ad-hoc stuff.
I couldn't see any evidence of STREAMS having been around, but the
documentation is a little thin.

There's special handling for Free BSD in zpty.c.  Here, however, cpp has
the following predefines (from cpp -dM):

#define __MACH__ 1
#define __POWERPC__ 1
#define __NATURAL_ALIGNMENT__ 1
#define __STDC_HOSTED__ 1
#define __NO_INLINE__ 1
#define __APPLE__ 1
#define __ppc__ 1
#define __GNUC__ 1
#define __DYNAMIC__ 1
#define __BIG_ENDIAN__ 1

Does it help to turn the #ifdef __FreeBSD__ in zpty.c into
#if defiend(__FreeBSD__) || defined(__APPLE__)

?

(The other Mac gives a similar list but this time I had to use `cc -E
-dM /dev/null' to get it.  That doesn't work in the previous case.)

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


  reply	other threads:[~2004-03-17 13:03 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               ` Peter Stephenson [this message]
2004-03-17 14:00                 ` zpty on Mac OS X 10.2 Oliver Kiddle

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=18692.1079528577@csr.com \
    --to=pws@csr.com \
    --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).