From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Two way pipe Date: Fri, 27 Apr 2007 10:09:31 +0200 Organization: LAAS-CNRS Message-ID: <878xcejl1g.fsf@laas.fr> References: <87k5vz7fsb.fsf@ossau.uklinux.net> <87y7kfnx0e.fsf@laas.fr> <87k5vy3lp5.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177661369 4134 80.91.229.12 (27 Apr 2007 08:09:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 08:09:29 +0000 (UTC) Cc: Guile Users To: Neil Jerram Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Apr 27 10:09:28 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhLWA-0005ba-Jl for guile-user@m.gmane.org; Fri, 27 Apr 2007 10:09:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhLbz-0002ng-6e for guile-user@m.gmane.org; Fri, 27 Apr 2007 04:15:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhLbu-0002lc-A6 for guile-user@gnu.org; Fri, 27 Apr 2007 04:15:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhLbt-0002kf-QD for guile-user@gnu.org; Fri, 27 Apr 2007 04:15:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhLbt-0002kU-NT for guile-user@gnu.org; Fri, 27 Apr 2007 04:15:21 -0400 Original-Received: from laas.laas.fr ([140.93.0.15]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HhLW3-0007Ve-Ns for guile-user@gnu.org; Fri, 27 Apr 2007 04:09:20 -0400 Original-Received: from messiaen.laas.fr (messiaen [IPv6:2001:660:6602:0:230:65ff:fed4:9d20]) by laas.laas.fr (8.13.8/8.13.8) with SMTP id l3R89G4L006715; Fri, 27 Apr 2007 10:09:16 +0200 (MEST) Original-Received: by messiaen.laas.fr (sSMTP sendmail emulation); Fri, 27 Apr 2007 10:09:31 +0200 X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 8 =?iso-8859-1?Q?Flor=E9al?= an 215 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Neil Jerram , Guile Users In-Reply-To: <87k5vy3lp5.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 26 Apr 2007 21:49:42 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: -0.001 () NO_RELAYS X-Scanned-By: MIMEDefang at CNRS-LAAS on IPv6:2001:660:6602::2 X-MIME-Autoconverted: from 8bit to quoted-printable by laas.laas.fr id l3R89G4L006715 X-detected-kernel: Solaris 10 (beta) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5933 Archived-At: Hello! Neil Jerram writes: > ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > >> Doesn't `OPEN_BOTH' do what you want?=20 > > Yes, indeed. Believe it or not, I was looking at a 1.6 distribution > and didn't think to check 1.8 or CVS. (Newbie alert! :-)) Oh, gosh, I thought you were using cutting-edge technology! ;-) > So far I've been playing with (open-input-pipe "mplayer -slave ..."), > but not bothering to select on and read from the pipe. If the track > being played is longer than about 3 minutes, mplayer crashes - and I > assume that's because its write to stdout is failing unexpectedly. So > for some programs, it seems that filling up the pipe buffer can be a > problem even if in only one direction. How does it crash? `EPIPE' or some such? > When I implement things fully this won't be a problem, because the > Guile app will be reading any available data from the pipe as soon as > it's there, and only very rarely writing anything. Ok. Out of curiosity, are you trying to write a Guile front-end (if that's not too much of a nosy question)? Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user