9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Can't start multiple copies of acme
@ 2013-12-13 17:18 Blake McBride
  2013-12-13 17:31 ` User &
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Blake McBride @ 2013-12-13 17:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Greetings,

I am using p9p on a Mac.

I am able to start any number of copies of sam as expected.  Acme runs well
too, but I can only start a single copy.  If I try to start a second copy I
get:

9pserve: announce unix!/tmp/ns.blake._tmp_launch-nvfpC3_org.x:0/acme:
Address already in use
acme: can't post service: 9pserve failed


I understand that acme can display multiple files and that, perhaps, only
one copy is needed.  I am, however, experiencing two cases where starting
up an additional copy is advantageous, and not being able to start more
than one copy is a problem.

I have been able to create a Mac application out of sam & acme.  With that,
I am able to associate a file extension (txt, etc.) with an application
such that when I click on the file a copy of sam or acme is started up so
the clicked-on file can be edited.  This works perfectly with sam, but only
work for the first file with acme because of not being able to start
multiple copies.

A second issue is I am sometimes editing multiple files in acme.  Someone
calls and I have to make a quick edit to another file.  Rather than mess up
the multi-window setup I have for my current project, I'd rather start up
an additional copy of acme to edit that one file and then go back to my
untouched development environment.  (I know about dump/load.  That is very
useful, and I use it.  But I don't want to go through all those extra steps
in a quick edit situation.)

Thanks.

Blake McBride

[-- Attachment #2: Type: text/html, Size: 3099 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [9fans] Can't start multiple copies of acme
@ 2013-12-14 14:54 Uvelichitel
  0 siblings, 0 replies; 12+ messages in thread
From: Uvelichitel @ 2013-12-14 14:54 UTC (permalink / raw)
  To: 9fans

 Neither canonical, nor idiomatic solution but quick and dirty would be
just "sudo acme" in acme Win. That way I usually get acme with full
permission in second window. Surely, what Aram say is the correct way
to do things.
Ilya.



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

end of thread, other threads:[~2013-12-16 10:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-13 17:18 [9fans] Can't start multiple copies of acme Blake McBride
2013-12-13 17:31 ` User &
2013-12-15 15:22   ` Blake McBride
2013-12-15 16:00     ` erik quanstrom
2013-12-15 16:33       ` Bence Fábián
2013-12-15 16:36       ` Blake McBride
2013-12-15 16:44         ` Bence Fábián
2013-12-15 17:13           ` Blake McBride
2013-12-13 17:37 ` Bence Fábián
2013-12-13 17:57   ` Aram Hăvărneanu
2013-12-16 10:15 ` dexen deVries
2013-12-14 14:54 Uvelichitel

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