p9p acme will not open a directory - Plan9

This is a discussion on p9p acme will not open a directory - Plan9 ; Greetings, 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 I can get around the problem by opening a win and cd into the directory ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: p9p acme will not open a directory

  1. p9p acme will not open a directory

    Greetings,

    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

    I can get around the problem by opening a win and cd into the directory
    so it is not a great problem.


    bengt
    --
    Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."

  2. Re: [9fans] p9p acme will not open a directory

    > 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



  3. Re: [9fans] p9p acme will not open a directory

    > ct_run.ct@seasc0642.2008-04-15_14.10.00

    You can open it with New or B.

    By default, right-clicking a string like that tries
    to send an email. The rules are in $HOME/lib/plumbing
    (or /usr/local/plan9/plumb/initial.plumbing if that
    doesn't exist) if you want to customize them.

    It's not trivial to fix the plumbing rules, because
    opening directories in acme depends on directories
    not matching *any* plumbing rules.

    Russ



+ Reply to Thread