Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Synchronous vs. Asynchronous
- X-seq: zsh-users 15315
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Synchronous vs. Asynchronous
- Date: Sun, 22 Aug 2010 00:31:46 +0200
- In-reply-to: <20100821194122.583e05e4@pws-pc>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <100820083501.ZM29362@xxxxxxxxxxxxxxxxxxxxxx> <20100820164507.419dc0bc@xxxxxxx> <100820103638.ZM29775@xxxxxxxxxxxxxxxxxxxxxx> <20100821194122.583e05e4@pws-pc>
I've noticed differences between Mac OS X Tiger and GNU/Linux (Debian).
On 2010-08-21 19:41:22 +0100, Peter Stephenson wrote:
> cat >(sleep 100)
>
> is uninterruptible, while
[...]
Under Mac OS X, I get:
prunille% cat >(sleep 100)
cat: /dev/fd/31: Permission denied
^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C
prunille%
Under Linux:
xvii% cat >(sleep 100)
^C^C^C^C^C
Both are uninterruptible, but I get an error under Mac OS X.
Now...
prunille% printf "a%s\n" {1..9} >>(while read s; do sleep 1; echo $s; done)
a1
a2
a3
^Ca4
^C^C^Ca5
^C^C^Ca6
^C^Ca7
a8
a9
prunille%
is uninterruptible, but not under Linux:
xvii% printf "a%s\n" {1..9} >>(while read s; do sleep 1; echo $s; done)
a1
a2
a3
^C%
xvii% a4
a5
a6
a7
a8
a9
xvii%
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author