9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: 6o205zd02@sneakemail.com
To: 9fans@9fans.net
Subject: [9fans] Plumber problems in P9P
Date: Wed,  1 Apr 2009 22:34:23 -0700	[thread overview]
Message-ID: <15811-42710@sneakemail.com> (raw)

I'm using P9P on debian/testing linux system, primarily to run acme.  As
part of my script to start acme in my preferred configuration
(autoindent, 3 columns, specific fonts), I run the following
"ensure_plumber" script:

#!/bin/sh
if 9p stat plumb > /dev/null 2>&1
then
        exit
else
        plumber
fi

to ensure that the plumber is running.  If the plumber isn't running
when I start acme, it gets started and right-clicking on a URL in acme
opens the URL in my web browser.  If I quit acme and start it again
(with the plumber still running), it doesn't start a new plumber, and
again right-clicking on a URL in acme still works.

However, if I log out of linux, and log back it, I can see the that the
plumber is still running.  When I start acme, it correctly does not
start a new plumber, but when I right-click on a URL, nothing happens.
At this point if I manually kill and restart the plumber (without
restarting acme), right-clicking on the URL works again.

I expect that arranging for the plumber to get killed when I log out
would solve my practical problem, but I don't understand what is
actually going wrong.  Can anyone provide any insight?

	thanks,
	Peter Canning





                 reply	other threads:[~2009-04-02  5:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=15811-42710@sneakemail.com \
    --to=6o205zd02@sneakemail.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).