Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: coprocesses and bc
- X-seq: zsh-users 1023
- From: Peter Stephenson <pws@xxxxxx>
- To: Matthias Kopfermann <fk5a005@xxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx (Zsh users list)
- Subject: Re: coprocesses and bc
- Date: Mon, 15 Sep 1997 10:10:56 +0200
- In-reply-to: "Matthias Kopfermann"'s message of "Mon, 15 Sep 1997 09:10:14 MET." <199709150710.JAA17846@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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 <pws@xxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author