From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: C Cirello Date: Tue, 26 May 2015 01:03:38 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Plumb(er) + Acme + MacOS X - don't work Topicbox-Message-UUID: 55deb840-ead9-11e9-9d60-3106f5b1d025 It seems I solve my own problem by accident. In the end I am using this script: #!/bin/bash /usr/local/plan9/bin/plumber cat /usr/local/plan9/plumb/fileaddr /usr/local/plan9/plumb/basic $HOME/lib/plumbing | 9p write plumb/rules export tabstop=8; /usr/local/plan9/bin/acme -a -l ~/acme.dump & Is there any cleaner way to achieve what this script does? - CC 2015-05-26 0:40 GMT+02:00 C Cirello : > 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