9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.6k stars 318 forks source link

acme: allow multiple instances #616

Open kv-o opened 1 year ago

kv-o commented 1 year ago

acme provides a very efficient way to organise a workspace but on the rare occasion, there is not enough space to comfortably fit everything onto a single acme window. On Plan 9, it is possible to run multiple instances of acme, but attempting to run a second instance on Linux yields the following error:

9pserve: announce unix!/tmp/ns.kvo.:0/acme: Address in use
acme: can't post service: 9pserve failed

It would be nice if different instances of the p9p acme used different Unix sockets so that several instances of acme can exist side by side.

markvanatten commented 1 year ago

see the mailinglist

musvaage commented 1 year ago

https://github.com/9wm/wily [running autoreconf to generate configure script]

unaware of your specific requirements one might consider to run also an instance of wily

kv-o commented 1 year ago

Yes, wily is an alternative that I could consider.

However, the issue is that the current p9p acme functionality requires an additional workaround to allow multiple instances to run simultaneously. There are a number of workarounds listed on the mailing list, but it seems there are no patches that can be merged into upstream plan9port.

I think it would be nicer to support multiple instances of acme (and certain other ported programs which suffer from the same problem) directly in plan9port. I could try writing a diff and opening a pull request, but I don't expect to properly get around to writing one in the near future (I am rather busy at the moment).