From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3ad6503b738b18b7c2456bdabea8578a@9netics.com> To: 9fans@9fans.net Date: Wed, 16 Jul 2008 12:00:21 -0700 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <10b109140807161119k2008a736xd773c8549f0fb5cf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] web plumbing on OS X drawterm Topicbox-Message-UUID: e879eb44-ead3-11e9-9d60-3106f5b1d025 >> 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.