9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: hugo rivera <uair00@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] acme bug?
Date: Mon, 16 Nov 2009 15:43:41 +0100	[thread overview]
Message-ID: <138575260911160643o7862e0c9haa29e9ff9d9fccb4@mail.gmail.com> (raw)
In-Reply-To: <d5c359ac746b258cb51ab61a846b3b41@iram.fr>

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



  reply	other threads:[~2009-11-16 14:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 14:03 hugo rivera
2009-11-16 14:14 ` Mathieu Lonjaret
2009-11-16 14:43   ` hugo rivera [this message]
2009-11-16 14:26 ` Rudolf Sykora
2009-11-16 14:45   ` hugo rivera
2009-11-16 18:17 ` 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=138575260911160643o7862e0c9haa29e9ff9d9fccb4@mail.gmail.com \
    --to=uair00@gmail.com \
    --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).