9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@9fans.net
Subject: Re: [9fans] web plumbing on OS X drawterm
Date: Wed, 16 Jul 2008 07:08:25 -0700	[thread overview]
Message-ID: <11f8507e569234b8d6dd141bde32bc5c@9netics.com> (raw)
In-Reply-To: <389246c56d6a78a742491c7538382d3d@9srv.net>

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.fifo
> 	while () {open `{cat open.fifo}}
> I also have a srcipt on the Plan 9 side, 'web':
> 	#!/bin/rc
>
> 	fifoname=/mnt/term/tmp/open.fifo
>
> 	if (test -e $fifoname)
> 		echo $* > $fifoname
> 	if not
> 		lynx2txt $*




  parent reply	other threads:[~2008-07-16 14:08 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 [this message]
2008-07-16 18:19   ` Antonin Vecera
2008-07-16 19:00     ` Skip Tavakkolian

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=11f8507e569234b8d6dd141bde32bc5c@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).