From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3c3f8f30b703722a4288c485916573ea@hamnavoe.com> To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Mon, 25 Jun 2012 11:24:35 +0100 In-Reply-To: <4a4b1281-ebfc-42e0-9e79-f80e090a5e35@f30g2000vbz.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Show/edit acme snarf buffer Topicbox-Message-UUID: 9f6bd6ac-ead7-11e9-9d60-3106f5b1d025 > 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. Again 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.