From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 6 Mar 2010 13:41:10 -0500 Message-ID: From: Eoghan Sherry To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme(4) and addr=dot Topicbox-Message-UUID: e183b1ce-ead5-11e9-9d60-3106f5b1d025 > % {echo 'addr=dot'; 9p read acme/70/addr >[1=2]} | 9p write acme/70/ctl > 0 0 % > > No help. Am I doing something wrong? Addr is reset to 0,0 once opened. So, you need to perform these operations in order: open addr; write ctl; then read addr. There's a nice way to do this if you can give rc access to the acme files (try 9pfuse(4) with FUSE). ;9pfuse unix!`{namespace}^/acme mnt ;>mnt/1/ctl; cat; } 93 234 ; By the way, your question motivated me to give 9pfuse a try. Also, it lead to my realization that, in rc, you can put the redirections in front of the command. Hooray! Eoghan