From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@9fans.net
Subject: Re: [9fans] web plumbing on OS X drawterm
Date: Wed, 16 Jul 2008 12:00:21 -0700 [thread overview]
Message-ID: <3ad6503b738b18b7c2456bdabea8578a@9netics.com> (raw)
In-Reply-To: <10b109140807161119k2008a736xd773c8549f0fb5cf@mail.gmail.com>
>> echo -n $* > /mnt/term/dev/showfile
>
> Could you please tell me in more details where should I write it?
> I am not familiar with plumb rules.
in $home/lib/plumbing add a line to plumb to winstart for the
following rule:
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 $0
the script /rc/bin/winstart looks like this:
#!/bin/rc
echo -n $* > /mnt/term/dev/showfile
a better script would test existance of /dev/showfile first.
prev parent reply other threads:[~2008-07-16 19:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 6:11 a
2008-07-16 12:57 ` Russ Cox
2008-07-16 13:06 ` a
2008-07-16 14:08 ` Skip Tavakkolian
2008-07-16 18:19 ` Antonin Vecera
2008-07-16 19:00 ` Skip Tavakkolian [this message]
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=3ad6503b738b18b7c2456bdabea8578a@9netics.com \
--to=9nut@9netics.com \
--cc=9fans@9fans.net \
/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).