Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zpty on HP/UX (and Mac OS X 10.3)
- X-seq: zsh-workers 19644
- From: James Devenish <j-devenish@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: zpty on HP/UX (and Mac OS X 10.3)
- Date: Wed, 17 Mar 2004 18:23:39 +0800
- In-reply-to: <24420.1079518350@xxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <28264.1079449650@xxxxxxx> <12351.1079466466@xxxxxxxxxxxxxxxxxxxxx> <BCC268FF-77A4-11D8-B853-003065E5EFE0@xxxxxxxxxxx> <24420.1079518350@xxxxxxxxxxxxxxxxxxxxx>
In message <24420.1079518350@xxxxxxxxxxxxxxxxxxxxx>
on Wed, Mar 17, 2004 at 11:12:30AM +0100, Oliver Kiddle wrote:
> But can you read from the commands. i.e. if you do:
> zpty date date
> zpty -r date
> will the second command print the date or will it exit with a status of
> 1.
% uname -a
Darwin ... 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.3.3
BuildVersion: 7F44
% which zsh
/bin/zsh
% zpty -L
zsh: command not found: zpty
% zmodload zsh/zpty
% zpty date date
% zpty -r date
Wed Mar 17 18:17:21 WST 2004
%
> If reading does work, what version of zsh is it?
% echo $ZSH_VERSION
4.1.1
I wonder if this is the version that is available as tarball/CVS from
Apple's website?
> If you build zsh on MacOS X.3, does it build the dynamic modules
> without your having to install the dlcompat library?
% locate dlcompat | fgrep -v /sw/fink
%
% otool -L =zsh
/bin/zsh:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.0.0)
/usr/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
% locate zpty | fgrep -v devenish
/usr/lib/zsh/4.1.1/zsh/zpty.so
/usr/share/zsh/4.1.1/functions/_zpty
%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author