From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: [9fans] old trick, new os
Date: Sun, 9 Mar 2003 13:18:57 -0500 [thread overview]
Message-ID: <fda93617a7e5027fd090ec221c692126@plan9.bell-labs.com> (raw)
this is basically what rob posted in november,
except that it works with windows instead of vnc.
# urls to internet explorer on another machine
type is text
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
plumb to web
plumb start winstart iexplore -new $0
you run /sys/src/cmd/unix/winplumb.exe on the
windows machine, and that causes it to listen for
commands to run on port 17890. you can specify
a particular ip address for listening, to try to keep
the amount of possible damage down. for example,
i run
winplumb tcp!192.168.233.1!17890
so that it only listens on the vmware interface
(rather than taking commands from the whole internet).
this is really meant to run on a trusted network.
if you're directly on the internet, you have been warned.
then i have a shell script
g% cat /bin/winstart
#!/bin/rc
echo $* | aux/trampoline tcp!192.168.233.1!17890
g%
that sends a command to execute. you could use
your browser of choice of course, and you could
also use it to start programs other than web browsers.
next reply other threads:[~2003-03-09 18:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-09 18:18 Russ Cox [this message]
2003-03-13 13:27 Anastasopoulos S
2003-03-13 15:42 ` Russ Cox
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=fda93617a7e5027fd090ec221c692126@plan9.bell-labs.com \
--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).