>>        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)://[EMAIL 
PROTECTED]([.:[EMAIL 
PROTECTED])*/?[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.


Reply via email to