9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9p hello world
Date: Sun,  4 Sep 2011 22:44:56 -0700	[thread overview]
Message-ID: <CAJSxfm+V5tBjpp3+N_TxkLdo-2KOQpdepxfKPjANCn-j_Jvy0A@mail.gmail.com> (raw)
In-Reply-To: <CANPzgjTPtCQg_-6OD5Ffzpo0tUXg52EyaqmpyBJBbj1FB6dazw@mail.gmail.com>

try

./read time

a better choice is "cl" client, which lets you navigate the namespace
the file server is serving. the -d flag lets you see what is being
passed around.

$ ../../srv/examples/timefs &
[1] 3681
$ ./read time
Sun Sep  4 22:32:00 PDT 2011$
$ ./cl
9p> ls
time
inftime
9p> cat time
Sun Sep  4 22:32:12 PDT 20119p>
9p> exiting...
$

here's how the plan9port's 9p utility can be used:

% 9p -a tcp!localhost!5640 ls
inftime
time
% 9p -a tcp!localhost!5640 read time
Sun Sep  4 22:32:34 PDT 2011%

-Skip

On Sun, Sep 4, 2011 at 9:44 PM, s s <leonardnemoi@gmail.com> wrote:
>
>> On Sun, Sep 4, 2011 at 9:03 PM, Skip Tavakkolian
>> <skip.tavakkolian@gmail.com> wrote:
>>>
>>> ...
>>> go9p (Go)
>>>
>>> ...
>>>
>>> -Skip
>
>
> Compiled and ran go9p/p/srv/examples/timefs.go.
>
> Compiled and ran go9p/p/clnt/examples/read.go.
>
> Output was ...
>
> 2011/09/05 00:40:13 invalid arguments
>
> Success?
>
>  - Leonard
>
>
>



  reply	other threads:[~2011-09-05  5:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05  0:34 s s
2011-09-05  1:03 ` Skip Tavakkolian
2011-09-05  1:11   ` s s
2011-09-05  4:44     ` s s
2011-09-05  5:44       ` Skip Tavakkolian [this message]
2011-09-05  5:53         ` s s
2011-09-06  5:51           ` Skip Tavakkolian
2011-09-06  6:16             ` s s
2011-09-05  9:03 ` yy
2011-09-05 10:56   ` s s
2011-09-05 12:22     ` pmarin
2011-09-05 12:26     ` Andreas Wagner

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=CAJSxfm+V5tBjpp3+N_TxkLdo-2KOQpdepxfKPjANCn-j_Jvy0A@mail.gmail.com \
    --to=skip.tavakkolian@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).