9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Lalonde <plalonde@telus.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] webfs on p9p
Date: Sun, 13 Nov 2005 20:44:35 -0800	[thread overview]
Message-ID: <395CE834-0DFA-4A34-82A7-C93043601237@telus.net> (raw)

Call me a masochist, but in a fit of writing much too much code this  
weekend, I thought I'd have a poke at porting webfs to p9p; after  
all, we can't let only native plan9 people benefit from abaco :-)
I haven't had a working plan9 box since my shuttle died, so I'm  
wondering if I  have a bug or if I just don't understand webfs.
Overall it's looking good: the synthetic file system shows up in my  
namespace, I can make a new connection, but I can't seem to write a  
uri to it using 9p:
% echo 'url http://slashdot.org/' | 9p write webfs/0/ctl
9: write error:  parseurl: newline in URI

So I ditch the newline put on by echo:
% echo 'url http://slashdot.org/' | 9p write webfs/0/ctl
% 9p read webfs/0/ctl
	0
acceptcookies on
sendcookies on
redirectlimit 10
useragent webfs/2.0 (plan 9)
%

No URL.  Am I sending it wrong?  Or do I have to find where the file  
server is hooped?

Paul



             reply	other threads:[~2005-11-14  4:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-14  4:44 Paul Lalonde [this message]
     [not found] <000001c5e8d8$57d4a1e0$14aaa8c0@utelsystems.local>
2005-11-14  7:41 ` Nils O. Selåsdal
2005-11-14 17:44   ` Paul Lalonde
2005-11-14 19:38     ` Russ Cox
2005-11-14 20:30       ` Paul Lalonde

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=395CE834-0DFA-4A34-82A7-C93043601237@telus.net \
    --to=plalonde@telus.net \
    --cc=9fans@cse.psu.edu \
    /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).