From: "matt" <matt@proweb.co.uk>
To: <9fans@cse.psu.edu>
Subject: [9fans] my web browsing technique
Date: Mon, 11 Nov 2002 21:26:53 +0000 [thread overview]
Message-ID: <001601c289c9$0fa33060$6501a8c0@KIKE> (raw)
I like to use drawterm for my plan9 atm.
so instead of opening a VNC to web browse I've made this little set of
programs.
web_waiter.py
I run this one on my windows box
[the docs say it will work in XFree too but as yet untested]
http://proweb.net/~matt/p9-4/web_waiter.py
it listens on a port and when given something that's got :// in it it opens
up your default browser on that page
web_plumber
on my plan9 machine I run this utility to open the remote port and submit
the url
http://proweb.net/~matt/p9-4/web_plumber.c
and then the plumbing rules :
protocol='(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais)'
domain='[a-zA-Z0-9_@]+([.:][a-zA-Z0-9_@]+)*/?[a-zA-Z0-9_?,%#~&/\-]+'
# URLs go to web browser
type is text
data matches $protocol://$domain$file
plumb to web
plumb start rc -c '/usr/matt/bin/web_plumber -w tcp!192.168.1.101!8005 '$0
I've got a dual screen setup so I have drawterm in the main window and the
Mozilla in the second window
m
next reply other threads:[~2002-11-11 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 21:26 matt [this message]
2002-11-27 4:39 rob pike, esq.
2002-11-27 19:35 ` Sam
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='001601c289c9$0fa33060$6501a8c0@KIKE' \
--to=matt@proweb.co.uk \
--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).