From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11530 invoked from network); 15 Sep 1997 08:16:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Sep 1997 08:16:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA15664; Mon, 15 Sep 1997 04:10:53 -0400 (EDT) Resent-Date: Mon, 15 Sep 1997 04:10:38 -0400 (EDT) Message-Id: <199709150810.KAA23464@sgi.ifh.de> To: Matthias Kopfermann , zsh-users@math.gatech.edu (Zsh users list) Subject: Re: coprocesses and bc In-reply-to: "Matthias Kopfermann"'s message of "Mon, 15 Sep 1997 09:10:14 MET." <199709150710.JAA17846@rzaix43.rrz.uni-hamburg.de> Date: Mon, 15 Sep 1997 10:10:56 +0200 From: Peter Stephenson Resent-Message-ID: <"w_HQe3.0.Bq3.zrE7q"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1023 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Matthias Kopfermann wrote: > coproc bc > > print -p "23*34" > > read -p erg > echo $erg > > > my zsh (linux 2.029) sticks with read -p erg. > nothing is moving. Try the following experiment: type 'bc | cat' at the keyboard, then the sum on the following line. If you don't get a message back straight away, bc is buffering output when it's not going to a terminal. My guess is that this is happening in Linux and not on your AIX machine. If that's right, then it's not a shell problem (phew). This would certainly reflect my experience comparing Irix with SunOS 4. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.