9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] p9p acme will not open a directory
Date: Thu, 17 Apr 2008 08:00:32 -0400	[thread overview]
Message-ID: <df24824c08b03ddbf92d16dfde9750d3@quanstro.net> (raw)
In-Reply-To: <pan.2008.04.17.10.48.01.720349@ericsson.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 745 bytes --]

> Is it a know problem for p9p acme on Linux that it will not open (B3) a
> directory with a name like this:
> ct_run.ct@seasc0642.2008-04-15_14.10.00

it's not acme's fault.

b3 send the selected text to the plumber.  if you are using
the default rules
	$PLAN9/lib/fileaddr	p9p
	/sys/lib/plumb/fileaddr	plan9
define
	addrelem='((#?[0-9]+)|(/[A-Za-z0-9_\^]+/?)|[.$])'
	addr=:($addrelem([,;+\-]$addrelem)*)
(@ doesn't match) and then plumb/basic has this rule for files
	type is text
	data matches '([.a-zA-Z¡-￿0-9_/\-]*[a-zA-Z¡-￿0-9_/\-])('$addr')?'
	arg isfile	$1
	data set	$file
	attr add	addr=$3
	plumb to edit
	plumb client window $editor
but your file doesn't match, so it isn't plumbed as a file.

- erik



  reply	other threads:[~2008-04-17 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 10:53 Bengt Kleberg
2008-04-17 12:00 ` erik quanstrom [this message]
2008-04-17 12:05 ` Russ Cox

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=df24824c08b03ddbf92d16dfde9750d3@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).