9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plumb(er) + Acme + MacOS X - don't work
@ 2015-05-25 22:40 C Cirello
  2015-05-25 23:03 ` C Cirello
  0 siblings, 1 reply; 4+ messages in thread
From: C Cirello @ 2015-05-25 22:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-26 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 22:40 [9fans] Plumb(er) + Acme + MacOS X - don't work C Cirello
2015-05-25 23:03 ` C Cirello
2015-05-26 13:15   ` erik quanstrom
2015-05-26 14:02     ` C Cirello

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).