Re: [9fans] python read problem

2010-08-26 Thread Federico G. Benavento
ok, con(1) does more than just dial, read and write, it might also do rlogin... does a C version of your script behave as expected? what about dd -bs 1 -if /dev/eai0 ? as for new lines there's also a "rU" mode... On Thu, Aug 26, 2010 at 9:18 PM, Michaelian Ennis wrote: > I've noticed some beha

Re: [9fans] python read problem

2010-08-26 Thread erik quanstrom
> import sys > f = open("/dev/eia0","r") > while (True): > sys.stdout.write(f.read(1)) > > Yet this only yields: > Type help or '?' for a list of available commands. have you tried redirecting the output of this to a file, then using xd / wc to make sure that funny characters aren't causing

[9fans] python read problem

2010-08-26 Thread Michaelian Ennis
I've noticed some behaviors I can't explain with python and plan9. I am using contrib/installed bichued/python. Trying to read from a serial port I would suspect I would have to use f.read() if I want to be able to catch a specific string where there is no newline. For instance: When my firewall

Re: [9fans] information about filesystems

2010-08-26 Thread erik quanstrom
> kenfs: > http://plan9.bell-labs.com/sys/doc/fs/fs.pdf > http://plan9.bell-labs.com/who/seanq/cw.pdf > http://plan9.bell-labs.com/magic/man2html/4/fs there are some other man pages for ken's fs, too. the versions i have are a bit different than the sources versions http://www.q

[9fans] dhcpd change

2010-08-26 Thread erik quanstrom
currently, i'm working on migrating a couple of large ip networks from one ip block to another. rather than a big flag day, we are overlaying the new network on the same segment as the old network, thus, ether0 has both ip networks assigned. this confuses dhcpd because it thinks addresses belongi

Re: [9fans] information about filesystems

2010-08-26 Thread Ethan Grammatikidis
This write-up would make an excellent wiki page, "File System Comparison" perhaps. Erik's additional notes should probably be included, or perhaps put in a separate kenfs page. I could make the pages if desired. On 13 Aug 2010, at 5:31 pm, Steve Simon wrote: kfs is a simple, non-backed up

Re: [9fans] plan9 on SL-C3100

2010-08-26 Thread Ethan Grammatikidis
On 12 Aug 2010, at 2:07 pm, r...@hemiola.co.uk wrote: I ported plan9 to the sharp zaurus SL-C3100. You are my hero, but... where's the code? :) I have had no end of trouble trying to build p9p or hosted inferno for my SL-C3200. I was shy of trying for a full OS port which was stupid of m