From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] heterogeneous cpu servers?
Date: Sun, 14 Jan 2001 14:54:47 -0500 [thread overview]
Message-ID: <20010114195506.8DAA5199E1@mail.cse.psu.edu> (raw)
There's not a lot to say about cpu. The best
explanation of what's going on is section 5 of the
manual (the 9P descriptions). Clients connect
to cpu servers and after an initial handshake
the clients turn into 9P servers, serving the
terminal's entire namespace. The cpu server
then mounts this service on /mnt/term, binds
/mnt/term/dev/cons* into /dev, and then executes
a shell with input/output redirected to/from /dev/cons.
Two years ago I wrote such a server for Unix.
It had a user-level implementation of a 9P mux,
it "mounted" the client connection in memory, connected fd 0,1,2
to pipes to processes ferrying the appropriate data to/from
/dev/cons, and exec'ed a shell. It was neat but
not useful, since it did nothing more than ssh does.
Instead, it sounds like all you need to do is run
ssh or telnet or con in an acme win to connect to
your Unix box and run javac in that window. It's
not as elegant as the native setup, but it's mostly
what you'd have with a cpu-style connection.
Combine that with running u9fs and you should be
all set. If you don't want to run u9fs as an
rhosts-style daemon (e.g., you're not behind a
firewall), I have some diffs to u9fs that let you
run a personal one within an ssh session.
I did some jini development using such a setup
last spring and it was quite pleasant. I think
that the java compiler already outputs plumbable
error messages.
Russ
next reply other threads:[~2001-01-14 19:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-14 19:54 Russ Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-15 11:23 Richard Miller
2001-01-14 16:56 Vincent D Murphy
2001-01-16 17:58 ` please_no_spam_to_
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=20010114195506.8DAA5199E1@mail.cse.psu.edu \
--to=rsc@plan9.bell-labs.com \
--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).