9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] plumbing on served fs
Date: Tue,  2 Nov 2004 09:02:25 -0500	[thread overview]
Message-ID: <ee9e417a041102060218a4cd9e@mail.gmail.com> (raw)
In-Reply-To: <ACCF003CBA3D09458207DB0CB86AD17D201497@XMAIL.asuch.cas.cz>

> Is this correct behavior? If so, why?

it happens because when you mount the
cd that happens in just the window you're
using and not anywhere else.  in particular,
it doesn't get mounted in the plumber's
name space, and so asking the plumber about
/n/cd/test.ps fails, so acme falls back to its
own defaults -- in this case just opening 
the file.

others have posted some tricks with srvfs
to work around this.  instead of those, i just tell
the plumber to do the mount too.  i type 
Local 9fs cd in an acme window and then
middle-click it (execute in acme) and right
click it (send to plumber).  with this plumb
rule:

# stupid rule to run programs
kind is text
data matches 'Local (.*)'
plumb to none
plumb start rc -c $1

russ


      reply	other threads:[~2004-11-02 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02 13:34 cej
2004-11-02 14:02 ` Russ Cox [this message]

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=ee9e417a041102060218a4cd9e@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).