From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1698840.mdgJJuJBni@coil> References: <1698840.mdgJJuJBni@coil> From: Ruslan Khusnullin Date: Thu, 8 Nov 2012 11:54:06 +0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] multiple acme instances with plan9port Topicbox-Message-UUID: d4d4be62-ead7-11e9-9d60-3106f5b1d025 Thank you all, I've ended up with this wrapper: ; cat $home/bin/acme; echo EOF #!/usr/bin/rc NAMESPACE = `{mktemp -d} plumber >/dev/null >[2=1] #font = $PLAN9/font/lucm/unicode.9.font font = '/mnt/font/Droid Sans Mono/11a/font' exec $PLAN9/bin/acme -ab -f $font -F $font $* EOF it works fine now letting me use as many acmes as I wish. Though I lost my "-l $home/acme.dump" option in "exec acme" string because it will certainly bring problems. I tried writing a test for an acme running and skipping -l option if there is but it looked so ugly that I dropped the idea, I write and click Load command when I need it instead. Also I don't use any programs interacting with acme so still not having problems with isolated namespaces.