[9fans] Two Acme questions

2014-07-23 Thread Riddler
Tried everything I could think of with that path, except that...

That's fixed it, thanks!


Re: [9fans] Two Acme questions

2014-07-22 Thread Bence Fábián
omit the first slash. as in:
9p read acme/$winid/body



2014-07-17 11:39 GMT+02:00 Riddler riddler...@gmail.com:

 Thanks for the info, I will take a look at 9fromt/p9p acme's code.

 As for the second question, I am running plumber.
 Just to check I did 9 plumber to try to start it again and am
 getting Address already in use, so it is up.
 If I do ls /tmp/ | grep ns. the directory ns.riddler.:0 is there
 and I have rw permissions.
 It contains two sockets acme, plumb and I have rw permissions on both.

 Any other ideas?

 On Wed, Jul 16, 2014 at 8:31 PM, Lee Fallat ircsurfe...@gmail.com wrote:
  On Wed, Jul 16, 2014 at 3:14 PM, Aram Hăvărneanu ara...@mgk.ro wrote:
  On Wed, Jul 16, 2014 at 7:31 PM, Lee Fallat ircsurfe...@gmail.com
 wrote:
  This has been done for 9front.
 
  Only partially. The tag expands to multiple lines, but does not accept
  newlines. Also, sl is right.
 
  Yes, I was too hasty with my response. sl is right.
 




Re: [9fans] Two Acme questions

2014-07-17 Thread Riddler
Thanks for the info, I will take a look at 9fromt/p9p acme's code.

As for the second question, I am running plumber.
Just to check I did 9 plumber to try to start it again and am
getting Address already in use, so it is up.
If I do ls /tmp/ | grep ns. the directory ns.riddler.:0 is there
and I have rw permissions.
It contains two sockets acme, plumb and I have rw permissions on both.

Any other ideas?

On Wed, Jul 16, 2014 at 8:31 PM, Lee Fallat ircsurfe...@gmail.com wrote:
 On Wed, Jul 16, 2014 at 3:14 PM, Aram Hăvărneanu ara...@mgk.ro wrote:
 On Wed, Jul 16, 2014 at 7:31 PM, Lee Fallat ircsurfe...@gmail.com wrote:
 This has been done for 9front.

 Only partially. The tag expands to multiple lines, but does not accept
 newlines. Also, sl is right.

 Yes, I was too hasty with my response. sl is right.




[9fans] Two Acme questions

2014-07-16 Thread Riddler
Hey guys,

I've been using acme as my main editor for going on two weeks now and
I'm starting to get the hang of it! I've got two questions though if
anyone can offer some input.

First, after using plan9 and plan9port I've noticed that on plan9port
(from Arch Linux's repository) the tagline seems to have the ability
to wrap onto multiple lines. I quite like it because I end up with
some (unfortunately unavoidable) long paths in them.
Plan9's acme (I'm using 9atom) doesn't seem to do this and just gets
cut off the end. Is there a way to let it wrap? I could not find any
related comments in the manual.

Secondly, I'm trying to make a little guide script for acme so I can
write Guide in the tagline and whenever I run it a +Errors window
shows a quick jump-to list for the functions in the file.
I've got a small awk script ready and working and generating output in
the right format but I can't seem to get it to plug in to acme in
plan9port.
I've attempted to do 9p read /acme/$winid/body but I keep getting
connect: /tmp/ns.riddler.:0/: Connection refused
I found a few references to this error in context with factotum but
not any fixes. Any suggestions as to what I'm missing?

Thanks,
Riddler.



Re: [9fans] Two Acme questions

2014-07-16 Thread erik quanstrom
 First, after using plan9 and plan9port I've noticed that on plan9port
 (from Arch Linux's repository) the tagline seems to have the ability
 to wrap onto multiple lines. I quite like it because I end up with
 some (unfortunately unavoidable) long paths in them.
 Plan9's acme (I'm using 9atom) doesn't seem to do this and just gets
 cut off the end. Is there a way to let it wrap? I could not find any
 related comments in the manual.

you'd need to backport p9p acme to plan 9.

 Secondly, I'm trying to make a little guide script for acme so I can
 write Guide in the tagline and whenever I run it a +Errors window
 shows a quick jump-to list for the functions in the file.
 I've got a small awk script ready and working and generating output in
 the right format but I can't seem to get it to plug in to acme in
 plan9port.
 I've attempted to do 9p read /acme/$winid/body but I keep getting
 connect: /tmp/ns.riddler.:0/: Connection refused
 I found a few references to this error in context with factotum but
 not any fixes. Any suggestions as to what I'm missing?

are you running plumber?

- erik



Re: [9fans] Two Acme questions

2014-07-16 Thread Lee Fallat
On Wed, Jul 16, 2014 at 1:28 PM, erik quanstrom quans...@quanstro.net wrote:
 First, after using plan9 and plan9port I've noticed that on plan9port
 (from Arch Linux's repository) the tagline seems to have the ability
 to wrap onto multiple lines. I quite like it because I end up with
 some (unfortunately unavoidable) long paths in them.
 Plan9's acme (I'm using 9atom) doesn't seem to do this and just gets
 cut off the end. Is there a way to let it wrap? I could not find any
 related comments in the manual.

 you'd need to backport p9p acme to plan 9.

This has been done for 9front.



Re: [9fans] Two Acme questions

2014-07-16 Thread sl
  you'd need to backport p9p acme to plan 9.
 
 This has been done for 9front.

Some additional features were implemented in 9front's copy of Plan 9
acme, but it's not accurate to say p9p acme was backported to 9front.

sl



Re: [9fans] Two Acme questions

2014-07-16 Thread Aram Hăvărneanu
On Wed, Jul 16, 2014 at 7:31 PM, Lee Fallat ircsurfe...@gmail.com wrote:
 This has been done for 9front.

Only partially. The tag expands to multiple lines, but does not accept
newlines. Also, sl is right.

-- 
Aram Hăvărneanu



Re: [9fans] Two Acme questions

2014-07-16 Thread Lee Fallat
On Wed, Jul 16, 2014 at 3:14 PM, Aram Hăvărneanu ara...@mgk.ro wrote:
 On Wed, Jul 16, 2014 at 7:31 PM, Lee Fallat ircsurfe...@gmail.com wrote:
 This has been done for 9front.

 Only partially. The tag expands to multiple lines, but does not accept
 newlines. Also, sl is right.

Yes, I was too hasty with my response. sl is right.