From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Sergio Perticone Date: Wed, 7 Nov 2012 17:22:39 +0100 Message-ID: Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=bcaec501c59acee4e704cdea21c3 Subject: Re: [9fans] multiple acme instances with plan9port Topicbox-Message-UUID: d4a22bf0-ead7-11e9-9d60-3106f5b1d025 --bcaec501c59acee4e704cdea21c3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Nov 7, 2012 at 5:09 PM, Bence F=C3=A1bi=C3=A1n w= rote: > Yes. It's clumsy. > issuing "Local plumber" starts it. > you could try changing > > fsys.c:124: if(post9pservice(p[0], "acme", mtpt) < 0) > > to post acme.$pid instead of acme. it's fairly trivial, however might bre= ak > something. i don't have time to check it right now. > (there's a global var mainpid. i ithink it is set by the time of the post= ) > > It breaks programs that interact with acme. Something like: `echo hello | 9p write acme/$winid/body' won't work anymore. s. --bcaec501c59acee4e704cdea21c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Wed, Nov 7, 2012 at 5:09 PM, Bence F= =C3=A1bi=C3=A1n <begnoc@gmail.com> wrote:
Yes. It's clumsy.
issuing "Local plumber" starts it.
you could try changing

fsys.c:124: if(post9pservice(p[0], "acme", mtpt= ) < 0)

to post acme.$pid instead of acme. it's fairl= y trivial, however might break
something. i don't have = time to check it right now.
(there's a global var mainpid. i = ithink it is set by the time of the post)


It breaks programs that interact with acme. Something like= : `echo hello | 9p write acme/$winid/body' won't work anymore.=C2=A0

s.
--bcaec501c59acee4e704cdea21c3--