9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] winclear in p9p
@ 2006-10-31 17:22 Matthias Teege
  2006-10-31 18:06 ` Paul Lalonde
  2006-11-09 20:17 ` Russ Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Matthias Teege @ 2006-10-31 17:22 UTC (permalink / raw)
  To: 9fans

Moin,

I've found

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
}

in the wiki but how do I clear a win in Plan 9 ports? To be accurate I
need to replace some text in the middle of the body and it would be
nice, if I can avoid a tempfile.

Many thanks
Matthias


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

end of thread, other threads:[~2006-11-11  0:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-31 17:22 [9fans] winclear in p9p 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
2006-11-10 14:17   ` David Leimbach
2006-11-11  0:35     ` Arvindh Rajesh Tamilmani

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