9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acme bug?
@ 2009-11-16 14:03 hugo rivera
  2009-11-16 14:14 ` Mathieu Lonjaret
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: hugo rivera @ 2009-11-16 14:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

% cd /sw/somedir
% 9 ls | 9 wc -l
2712
% pwd
/sw/somedir
right click on /sw/somedir, and acme's window is empty. What's going on?

--
Hugo



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

* Re: [9fans] acme bug?
  2009-11-16 14:03 [9fans] acme bug? hugo rivera
@ 2009-11-16 14:14 ` Mathieu Lonjaret
  2009-11-16 14:43   ` hugo rivera
  2009-11-16 14:26 ` Rudolf Sykora
  2009-11-16 18:17 ` Russ Cox
  2 siblings, 1 reply; 6+ messages in thread
From: Mathieu Lonjaret @ 2009-11-16 14:14 UTC (permalink / raw)
  To: 9fans

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

See awd(1)

[-- Attachment #2: Type: message/rfc822, Size: 4405 bytes --]

From: hugo rivera <uair00@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] acme bug?
Date: Mon, 16 Nov 2009 15:03:57 +0100
Message-ID: <138575260911160603n2cc58adfoa53af1377eb7c2@mail.gmail.com>

% cd /sw/somedir
% 9 ls | 9 wc -l
2712
% pwd
/sw/somedir
right click on /sw/somedir, and acme's window is empty. What's going on?

--
Hugo

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

* Re: [9fans] acme bug?
  2009-11-16 14:03 [9fans] acme bug? hugo rivera
  2009-11-16 14:14 ` Mathieu Lonjaret
@ 2009-11-16 14:26 ` Rudolf Sykora
  2009-11-16 14:45   ` hugo rivera
  2009-11-16 18:17 ` Russ Cox
  2 siblings, 1 reply; 6+ messages in thread
From: Rudolf Sykora @ 2009-11-16 14:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

> right click on /sw/somedir, and acme's window is empty. What's going on?

is the /sw/somedir directory in the namespace of acme?
R

2009/11/16 hugo rivera <uair00@gmail.com>

> % cd /sw/somedir
> % 9 ls | 9 wc -l
> 2712
> % pwd
> /sw/somedir
> right click on /sw/somedir, and acme's window is empty. What's going on?
>
>
> --
> Hugo
>
>

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

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

* Re: [9fans] acme bug?
  2009-11-16 14:14 ` Mathieu Lonjaret
@ 2009-11-16 14:43   ` hugo rivera
  0 siblings, 0 replies; 6+ messages in thread
From: hugo rivera @ 2009-11-16 14:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I am not sure where this came from:
% whatis cd
fn cd {if(builtin cd $1){if(flag i)$PLAN9^/bin/9 awd || status='';status=''}}
but I don't think awd(1) has something to do with the problem.
I think is something else, and maybe I was wrong and doesn't even has
anything to do with acme. I have no clue on what's going on:
1.- Start with acme showing all files in a directory (~3000). They all
happen to be png images. They are all correctly shown in acme's
window.
2.- Write
for(i in *){ name=`{echo $i | 9 sed 's/png/jpg/'}; convert $i $name}
somewhere in your tag and then execute it using your mouse button 2.
(That's imagemagick's convert utility)
3.- Write
rm *.png
and execute it using your mouse button 2.
4.- Execute a Get in your window. Now all files are gone (according to acme).
5.- Write 9 ls in your tag and execute it. You get all your jpg files.
6.- I am puzzled.

2009/11/16, Mathieu Lonjaret <mathieu.lonjaret@gmail.com>:
> See awd(1)
>
>
> ---------- Mensaje reenviado ----------
> From: hugo rivera <uair00@gmail.com>
> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
> Date: Mon, 16 Nov 2009 15:03:57 +0100
> Subject: [9fans] acme bug?
> % cd /sw/somedir
>  % 9 ls | 9 wc -l
>  2712
>  % pwd
>  /sw/somedir
>  right click on /sw/somedir, and acme's window is empty. What's going on?
>
>  --
>  Hugo
>
>


--
Hugo



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

* Re: [9fans] acme bug?
  2009-11-16 14:26 ` Rudolf Sykora
@ 2009-11-16 14:45   ` hugo rivera
  0 siblings, 0 replies; 6+ messages in thread
From: hugo rivera @ 2009-11-16 14:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> is the /sw/somedir directory in the namespace of acme?

yes.

--
Hugo



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

* Re: [9fans] acme bug?
  2009-11-16 14:03 [9fans] acme bug? hugo rivera
  2009-11-16 14:14 ` Mathieu Lonjaret
  2009-11-16 14:26 ` Rudolf Sykora
@ 2009-11-16 18:17 ` Russ Cox
  2 siblings, 0 replies; 6+ messages in thread
From: Russ Cox @ 2009-11-16 18:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, Nov 16, 2009 at 6:03 AM, hugo rivera <uair00@gmail.com> wrote:
> % cd /sw/somedir
> % 9 ls | 9 wc -l
> 2712
> % pwd
> /sw/somedir
> right click on /sw/somedir, and acme's window is empty. What's going on?

it's very hard to say since you've given us
so little information.  presumably there is
some reason that the acme dirread loop
doesn't work even though ls's does.
you could grep for dirread in $PLAN9/src/cmd/acme/*
to find it and then add print statements.

russ


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

end of thread, other threads:[~2009-11-16 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16 14:03 [9fans] acme bug? hugo rivera
2009-11-16 14:14 ` Mathieu Lonjaret
2009-11-16 14:43   ` hugo rivera
2009-11-16 14:26 ` Rudolf Sykora
2009-11-16 14:45   ` hugo rivera
2009-11-16 18:17 ` Russ Cox

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