From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: setvbuf can't make it unbuffered Date: Wed, 13 Mar 2013 14:08:54 +0100 Message-ID: <877glbh2ft.fsf@pobox.com> References: <1363172705.2997.2.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363180152 20164 80.91.229.3 (13 Mar 2013 13:09:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 13:09:12 +0000 (UTC) Cc: guile-devel To: Nala Ginrut Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 13 14:09:36 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFlR0-0008Ao-BD for guile-devel@m.gmane.org; Wed, 13 Mar 2013 14:09:34 +0100 Original-Received: from localhost ([::1]:38315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFlQd-0007Q7-Oq for guile-devel@m.gmane.org; Wed, 13 Mar 2013 09:09:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFlQY-0007PZ-DV for guile-devel@gnu.org; Wed, 13 Mar 2013 09:09:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFlQT-00049j-U6 for guile-devel@gnu.org; Wed, 13 Mar 2013 09:09:06 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:35934 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFlQT-00049T-QG for guile-devel@gnu.org; Wed, 13 Mar 2013 09:09:01 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id EFCFFB65C; Wed, 13 Mar 2013 09:09:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=KFDtI5CZoMzqbMpYBPsUMhXnqaQ=; b=NnydtM bBtb5xdB5eW28vW/4Cc4kUkF8Vw7Ft2ubH7TB+40WqzTTjnMJgZ0HLwZJI5p1Diy UNxaxKQEgF+w/MGb0rBJvjHN8/zeP65Vz1bMprq9okSAl9ruWjSawZtwjlZ5LQuM i4GcG3RjR3UcMT6z2AhkLbybtWxeFKCwcB4TE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Qo/RzxVeZY3yAsNxW50aDnShwKrOkXqe XF3DqZgkW6KU8+a1vkTDca3I66a0OTHswlr7MJQ+Lzjh8blGKLWBGXKNBzcmyRpR Xal7aLfJB6Sh2mSUF5wbv37XWI7Ep2VdpE/ms20f7qncgANN3uJyga3iEN7Wyffd VoKjaRY/4QA= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id E8FBCB65B; Wed, 13 Mar 2013 09:09:00 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 64607B65A; Wed, 13 Mar 2013 09:08:56 -0400 (EDT) In-Reply-To: <1363172705.2997.2.camel@Renee-desktop.suse> (Nala Ginrut's message of "Wed, 13 Mar 2013 19:05:05 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 2BEBBF0C-8BDF-11E2-897B-59240E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15898 Archived-At: On Wed 13 Mar 2013 12:05, Nala Ginrut writes: > I'm playing Guile 'cat' for Guile-100, but I found that 'setvbuf' seems > can't make it unbuffered. > Anyone folks could help it for me? > > Here is the code: > https://gist.github.com/NalaGinrut/5151115 I made some notes there. FWIW if in the future you want comments or review, please append the code as an attachment to the mail. Makes review easier. Thanks, Andy -- http://wingolog.org/