9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ruslan Khusnullin <ruslan.khusnullin@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] multiple acme instances with plan9port
Date: Thu,  8 Nov 2012 11:54:06 +0400	[thread overview]
Message-ID: <CAG6Cn5YcLvgaiseRMJBz8--rs845COLqhGDU4BNzsEi16uO9ag@mail.gmail.com> (raw)
In-Reply-To: <1698840.mdgJJuJBni@coil>

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.



  reply	other threads:[~2012-11-08  7:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 14:55 Ruslan Khusnullin
2012-11-07 15:53 ` Bence Fábián
2012-11-07 15:57   ` Sergio Perticone
2012-11-07 16:09     ` Bence Fábián
2012-11-07 16:22       ` Sergio Perticone
2012-11-07 16:45 ` Ethan Burns
2012-11-07 17:10 ` dexen deVries
2012-11-08  7:54   ` Ruslan Khusnullin [this message]
2012-11-08  9:48 ` Mark van Atten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG6Cn5YcLvgaiseRMJBz8--rs845COLqhGDU4BNzsEi16uO9ag@mail.gmail.com \
    --to=ruslan.khusnullin@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).