From: "andrey mirtchovski" <mirtchovski@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] copy/paste between osx and plan9 running in parallels
Date: Wed, 30 May 2007 11:42:19 -0600 [thread overview]
Message-ID: <14ec7b180705301042k1c320291i8adf4fb970fed460@mail.gmail.com> (raw)
i'm using parallels more and more often nowadays to run Plan 9. one of
the things that annoy me is the inability to copy/paste between the
hosted plan9 and the hosting osx. i couldn't find a solution anywhere
so i wrote a file server that exports the osx snarf buffer to the
parallels network via 9p. this fs serves a single file, "snarf", which
is mounted before /dev/snarf just before rio is run. you can guess
what happens when you write to and from it.
more explanation and source can be found here:
http://mirtchovski.com/p9/osxsnarf/
here's how my lib/profile looks in the "terminal" section (my
parallels machine is called "parr"):
if(~ $sysname parr) {
# under parallels try to import OSX's
# snarf buffer served by osxsnarf
srv tcp!10.1.0.2!18001 snarf
mount -b /srv/snarf /dev
}
yes, i did use osxsnarf to copy the above text in rio and paste it in osx.
next reply other threads:[~2007-05-30 17:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-30 17:42 andrey mirtchovski [this message]
2007-05-30 17:59 ` Kris Maglione
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=14ec7b180705301042k1c320291i8adf4fb970fed460@mail.gmail.com \
--to=mirtchovski@gmail.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).