From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 12 Jul 2012 08:52:04 +0000 From: Brian Vito Message-ID: <53a1d1ec-c112-4681-ad17-8338a559bfce@s1g2000vbj.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <4a4b1281-ebfc-42e0-9e79-f80e090a5e35@f30g2000vbz.googlegroups.com> Subject: Re: [9fans] Show/edit acme snarf buffer Topicbox-Message-UUID: a14ac186-ead7-11e9-9d60-3106f5b1d025 On Jun 25, 5:24=A0am, 9f...@hamnavoe.com (Richard Miller) wrote: > > Using either/both acme under Plan 9 and/or Mac OS X via plan9port, is > > there a "file" that can be opened in acme that displays the current > > contents of the acme snarf buffer? > > /dev/snarf > > > If so, is there a way to have that > > window automatically update when the snarf buffer changes? > > Not quite automatically. You can write a program which polls /dev/snarf > using fstat(2); qid.vers will be updated when the file is written to. > > > would > > it be possible that by editing the snarf buffer window to edit the > > contents of the snarf buffer itself > > Just as with any acme window, the underlying file will only change > when you click Put. =A0Again if you're willing to do some programming, > you could monitor changes in the window using the acme event file > and do the Put automatically. Thank you -- these are useful suggestions. Is there an equivalent to / dev/snarf when using plan9port under Mac OS X? [bv]