>>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:
typeis text
datamatches
'(https?|ftp|fi
On Wed, Jul 16, 2008 at 4:08 PM, Skip Tavakkolian <[EMAIL PROTECTED]> wrote:
> i added /dev/showfile for windows a while back. in that case, dt
> hands anything it is given on /dev/showfile to explorer (closest thing
> to plumber on windows). plumb rule for urls hands them to a script
> that look
i added /dev/showfile for windows a while back. in that case, dt
hands anything it is given on /dev/showfile to explorer (closest thing
to plumber on windows). plumb rule for urls hands them to a script
that looks like this:
echo -n $* > /mnt/term/dev/showfile
> mkfifo /tmp/open.f
Ah, right. I'd started out using p9p's 'web', but
decided having access to 'open' might be useful
in other contexts, even if i'm not plumbing
anything to it right now.
Project for today is sort of the inverse: how to
make OS X use Acme-sac or B for text files.
Anyone looked at it?
Anthony
> I mostly get to my Plan 9 cpu servers via drawterm from
> my OS X laptop these days (9vx soon, once I get a
> comfortable environment there). I have a script that
> calls drawterm with the right arguments. I just added
> this to the script:
> mkfifo /tmp/open.fifo
> while () {open `{c
OS X has this command 'open', which I'm told exists or is
available on other unixes. It's about as close as you get to
'plumb' when in foreign lands. You call it like 'open
http://9fans.net' or 'open /etc/passwd' and it does more
or less what you'd expect, finding (usually) the right app.
I mostly