From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 27 Apr 2012 04:48:16 -0700 From: Ethan Burns To: plan9port-dev@googlegroups.com Cc: Russ Cox , Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <4355334.633.1335527296975.JavaMail.geo-discussion-forums@vbpz13> In-Reply-To: References: <20120420213934.1v2ed14r3r0kc80c@courrier.univ-paris1.fr> Subject: Re: git and (p9p) acme MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_631_7313313.1335527296974" Topicbox-Message-UUID: 80d9bab0-ead7-11e9-9d60-3106f5b1d025 ------=_Part_631_7313313.1335527296974 Content-Type: multipart/alternative; boundary="----=_Part_632_4971433.1335527296974" ------=_Part_632_4971433.1335527296974 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi everyone, I wasn't aware of B and E before reading this thread. I tried using E on my install but it seems that I don't have a plumb file. When I use it on a file, I don't get an acme window and instead I get: $ touch test $ E test plumb: can't open plumb file: dial unix!/tmp/ns.eaburns.:0/plumb: connect /tmp/ns.eaburns.:0/plumb: No such file or directory editing test In /tmp/ns.eaburns.:0/ the only file is called acme. Do I need to do something first to create the plumb file or do I need to do something to tell E to use the acme file instead? Best, Ethan On Thursday, April 26, 2012 6:20:49 PM UTC-4, mpl wrote: > > I've just retried on the machine where I had the problem and it now > just works. No need even for awd indeed. > I'll try and reproduce the behavior, but I just don't see what I may > have done different the previous times... > > thanks, > Mathieu > > On Thu, Apr 26, 2012 at 5:32 AM, Russ Cox wrote: > > On Wed, Apr 25, 2012 at 5:35 PM, Mathieu Lonjaret > > wrote: > >> So, are you saying E just works out of the box for you as the $EDITOR > >> for git/hg? > > > > Yes. Note that E waits for the file to change by running > > ls -l on the file in a loop. If for some reason doing the Put > > does not change the ls -l output (date+size, primarily) then > > E will not exit. If you are having trouble I would suggest > > putting some echo statements in the script or just doing > > 'set -e' at the top so that it echoes each statement as it > > executes (including the all-important comparison). > > > > I cannot imagine why using awd would change the behavior > > of the E script. > > > > Russ > ------=_Part_632_4971433.1335527296974 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hi everyone,

I wasn't aware of B and E before reading this thread.  I tried using E on my install but it seems that I don't have a plumb file.  When I use it on a file, I don't get an acme window and instead I get:

$ touch test
$ E test
plumb: can't open plumb file: dial unix!/tmp/ns.eaburns.:0/plumb: connect /tmp/ns.eaburns.:0/plumb: No such file or directory
editing test

In /tmp/ns.eaburns.:0/ the only file is called acme.  Do I need to do something first to create the plumb file or do I need to do something to tell E to use the acme file instead?

Best,
Ethan


On Thursday, April 26, 2012 6:20:49 PM UTC-4, mpl wrote:
I've just retried on the machine where I had the problem and it now
just works. No need even for awd indeed.
I'll try and reproduce the behavior, but I just don't see what I may
have done different the previous times...

thanks,
Mathieu

On Thu, Apr 26, 2012 at 5:32 AM, Russ Cox <rsc@swtch.com> wrote:
> On Wed, Apr 25, 2012 at 5:35 PM, Mathieu Lonjaret
> <mathieu.lonjaret@gmail.com> wrote:
>> So, are you saying E just works out of the box for you as the $EDITOR
>> for git/hg?
>
> Yes.  Note that E waits for the file to change by running
> ls -l on the file in a loop.  If for some reason doing the Put
> does not change the ls -l output (date+size, primarily) then
> E will not exit.  If you are having trouble I would suggest
> putting some echo statements in the script or just doing
> 'set -e' at the top so that it echoes each statement as it
> executes (including the all-important comparison).
>
> I cannot imagine why using awd would change the behavior
> of the E script.
>
> Russ
------=_Part_632_4971433.1335527296974-- ------=_Part_631_7313313.1335527296974--