From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3932 invoked from network); 17 Mar 2004 13:03:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Mar 2004 13:03:09 -0000 Received: (qmail 8233 invoked by alias); 17 Mar 2004 13:03:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19649 Received: (qmail 8208 invoked from network); 17 Mar 2004 13:02:59 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Mar 2004 13:02:59 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Mar 2004 13:2:58 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i2HD2wv29634 for ; Wed, 17 Mar 2004 13:02:58 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 17 Mar 2004 13:02:35 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 17 Mar 2004 13:05:12 +0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: zpty on Mac OS X 10.2 In-reply-to: "Oliver Kiddle"'s message of "Wed, 17 Mar 2004 12:19:46 +0100." <11443.1079522386@trentino.logica.co.uk> Date: Wed, 17 Mar 2004 13:02:57 +0000 Message-ID: <18692.1079528577@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 17 Mar 2004 13:05:12.0923 (UTC) FILETIME=[7BD48AB0:01C40C20] 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 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 **********************************************************************