From: "David Leimbach" <leimy2k@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: Re: [9fans] winclear in p9p
Date: Fri, 10 Nov 2006 05:54:31 -0800 [thread overview]
Message-ID: <3e1162e60611100554u3112ab68p92855f0c544eaf59@mail.gmail.com> (raw)
In-Reply-To: <ee9e417a0611091217i57697685gbb5c6aec008fc826@mail.gmail.com>
On 11/9/06, Russ Cox <rsc@swtch.com> wrote:
> > fn winclear {
> > echo -n Edit ,d > /dev/acme/body
> > echo -n /Edit ,d/ > /dev/acme/addr
> > echo -n 'dot=addr' > /dev/acme/ctl
> > cat /dev/acme/addr | awk '{printf("MX%s %s\n", $1, $2)}' > /dev/acme/event
> > }
>
> I finally read this part of the message.
> This is a remarkably complicated way to go about deleting the window text!
Yep and I posted it literally months ago as I was just exploring the
Acme filesystem.
>
> Here is a simpler one:
>
> echo -n , >/mnt/acme/$winid/addr
> echo -n >/mnt/acme/$winid/data
>
> (Or on Unix:
> echo -n , | 9p write acme/$winid/addr
> 9p write acme/$winid/data </dev/null
> )
>
> Russ
>
next prev parent reply other threads:[~2006-11-10 13:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 17:22 Matthias Teege
2006-10-31 18:06 ` Paul Lalonde
2006-10-31 18:56 ` Russ Cox
2006-11-09 20:17 ` Russ Cox
2006-11-10 13:54 ` David Leimbach [this message]
2006-11-10 14:17 ` David Leimbach
2006-11-11 0:35 ` Arvindh Rajesh Tamilmani
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=3e1162e60611100554u3112ab68p92855f0c544eaf59@mail.gmail.com \
--to=leimy2k@gmail.com \
--cc=9fans@cse.psu.edu \
/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).