9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] old trick, new os
@ 2003-03-09 18:18 Russ Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2003-03-09 18:18 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] old trick, new os
  2003-03-13 13:27 Anastasopoulos S
@ 2003-03-13 15:42 ` Russ Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2003-03-13 15:42 UTC (permalink / raw)
  To: 9fans

http://plan9.bell-labs.com/~rsc/plan9/winplumb.exe, winplumb.c, winstart



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] old trick, new os
@ 2003-03-13 13:27 Anastasopoulos S
  2003-03-13 15:42 ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Anastasopoulos S @ 2003-03-13 13:27 UTC (permalink / raw)
  To: 9fans


Hi

This is for Russ.
Can you provide a separate download link for winplumb.exe?

Spyros



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-13 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-09 18:18 [9fans] old trick, new os Russ Cox
2003-03-13 13:27 Anastasopoulos S
2003-03-13 15:42 ` Russ Cox

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).