9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acme open a directory with a more complicated name
@ 2009-12-02 18:19 Rudolf Sykora
  2009-12-02 18:42 ` Federico G. Benavento
  0 siblings, 1 reply; 6+ messages in thread
From: Rudolf Sykora @ 2009-12-02 18:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

Hello,

I am having a small but irritating trouble with acme.
I have directories whose names are like

r3_[1-5Co6-10Ni]/

When I 3-click on such a name in an acme (e.g. a directory) window, acme
doesn't open it.
What must I change in order it work?

This is the behaviour at least in plan9port.

Thanks a lot!
Ruda

[-- Attachment #2: Type: text/html, Size: 365 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] acme open a directory with a more complicated name
  2009-12-02 18:19 [9fans] acme open a directory with a more complicated name Rudolf Sykora
@ 2009-12-02 18:42 ` Federico G. Benavento
  2009-12-02 18:58   ` Rob Pike
  2009-12-02 19:00   ` Federico G. Benavento
  0 siblings, 2 replies; 6+ messages in thread
From: Federico G. Benavento @ 2009-12-02 18:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> r3_[1-5Co6-10Ni]/
>
> When I 3-click on such a name in an acme (e.g. a directory) window, acme
> doesn't open it.
> What must I change in order it work?
>

the directory name...

you could try to hack acme/addr.c:/^isaddr
but it's quite possible you'd break something

--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] acme open a directory with a more complicated name
  2009-12-02 18:42 ` Federico G. Benavento
@ 2009-12-02 18:58   ` Rob Pike
  2009-12-03  9:57     ` Rudolf Sykora
  2009-12-02 19:00   ` Federico G. Benavento
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Pike @ 2009-12-02 18:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

New will take an arbitrary file name as an argument, except even with
New spaces are taken as argument separators.

-rob

On Wed, Dec 2, 2009 at 10:42 AM, Federico G. Benavento
<benavento@gmail.com> wrote:
>> r3_[1-5Co6-10Ni]/
>>
>> When I 3-click on such a name in an acme (e.g. a directory) window, acme
>> doesn't open it.
>> What must I change in order it work?
>>
>
> the directory name...
>
> you could try to hack acme/addr.c:/^isaddr
> but it's quite possible you'd break something
>
> --
> Federico G. Benavento
>
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] acme open a directory with a more complicated name
  2009-12-02 18:42 ` Federico G. Benavento
  2009-12-02 18:58   ` Rob Pike
@ 2009-12-02 19:00   ` Federico G. Benavento
  2009-12-02 19:02     ` Federico G. Benavento
  1 sibling, 1 reply; 6+ messages in thread
From: Federico G. Benavento @ 2009-12-02 19:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> you could try to hack acme/addr.c:/^isaddr
> but it's quite possible you'd break something

ignore that, I was confused

--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] acme open a directory with a more complicated name
  2009-12-02 19:00   ` Federico G. Benavento
@ 2009-12-02 19:02     ` Federico G. Benavento
  0 siblings, 0 replies; 6+ messages in thread
From: Federico G. Benavento @ 2009-12-02 19:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

the function you should look is isfilec() in look.c

On Wed, Dec 2, 2009 at 5:00 PM, Federico G. Benavento
<benavento@gmail.com> wrote:
>> you could try to hack acme/addr.c:/^isaddr
>> but it's quite possible you'd break something
>
> ignore that, I was confused
>
> --
> Federico G. Benavento
>



--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] acme open a directory with a more complicated name
  2009-12-02 18:58   ` Rob Pike
@ 2009-12-03  9:57     ` Rudolf Sykora
  0 siblings, 0 replies; 6+ messages in thread
From: Rudolf Sykora @ 2009-12-03  9:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

2009/12/2 Rob Pike <robpike@gmail.com>

> New will take an arbitrary file name as an argument, except even with
>

Thanks, New works.
Later I will have a look at what FGB proposes...
Ruda

[-- Attachment #2: Type: text/html, Size: 448 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-03  9:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-02 18:19 [9fans] acme open a directory with a more complicated name Rudolf Sykora
2009-12-02 18:42 ` Federico G. Benavento
2009-12-02 18:58   ` Rob Pike
2009-12-03  9:57     ` Rudolf Sykora
2009-12-02 19:00   ` Federico G. Benavento
2009-12-02 19:02     ` Federico G. Benavento

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).