From: Michaelian Ennis <michaelian.ennis@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] python read problem
Date: Fri, 27 Aug 2010 12:31:30 -0400 [thread overview]
Message-ID: <AANLkTinc63Hjo98VULUsQuz7XukuaGq3vsa5xQ_a95EF@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimMyZrXUD7wMU2P_2MeKe4J_5DPHMs7BBL6CTSE@mail.gmail.com>
On Thu, Aug 26, 2010 at 10:04 PM, Federico G. Benavento
<benavento@gmail.com> wrote:
> what about dd -bs 1 -if /dev/eai0 ?
This (while ridiculously slow) works correctly.
> as for new lines there's also a "rU" mode...
both
f = open("/dev/eia1","rU")
and
f = open("/dev/eia1","rU",0)
exhibit the same undesirable behavior. As does when issuing f.flush()
before or after the f.read() in this loop.
ian
next prev parent reply other threads:[~2010-08-27 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 0:18 Michaelian Ennis
2010-08-27 0:34 ` erik quanstrom
2010-08-27 2:04 ` Federico G. Benavento
2010-08-27 16:31 ` Michaelian Ennis [this message]
2010-08-27 9:47 ` Fernan Bolando
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinc63Hjo98VULUsQuz7XukuaGq3vsa5xQ_a95EF@mail.gmail.com \
--to=michaelian.ennis@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).