9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: C Cirello <uldericofilho@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Plumb(er) + Acme + MacOS X - don't work
Date: Tue, 26 May 2015 00:40:20 +0200	[thread overview]
Message-ID: <CALe9M7kXh9UwWamJJsHeYx2G_z9zQW_-++8zP5HnjP+XVr8_VQ@mail.gmail.com> (raw)

Hello,


I cannot make the plumbing to work on acme.

I have create a plumbing file at ~/lib/plumbing with:
# isbn10 search through Amazon
type is text
data matches '([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])'
plumb start open 'http://www.amazon.com/s/?field-keywords='$1

Initially I realized that I forgot to start plumber. So I am starting
plumber manually, and loading the plumbing rules with
cat $HOME/lib/plumbing | 9p write plumb/rules

That gives me this:
 9p read plumb/rules
plan9=/usr/local/plan9

type is text
data matches '([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])'
plumb start open 'http://www.amazon.com/s/?field-keywords='$1


If I do, in the command line:
plumb 1234512345

it launches the browser perfectly, the same goes for plumb option in
9term. However in acme it does not work - I tried selecting before
middle-clicking, selecting before right-clicking, middle-click and
right-click. Nothing worked.

Does anyone has any idea of what might I be doing wrong? I am running
MacOS X Yosemite.


Regards,
Carlos



             reply	other threads:[~2015-05-25 22:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 22:40 C Cirello [this message]
2015-05-25 23:03 ` C Cirello
2015-05-26 13:15   ` erik quanstrom
2015-05-26 14:02     ` C Cirello

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=CALe9M7kXh9UwWamJJsHeYx2G_z9zQW_-++8zP5HnjP+XVr8_VQ@mail.gmail.com \
    --to=uldericofilho@gmail.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).