From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 9 Jun 2006 17:06:12 +0530 From: "Arvindh Rajesh Tamilmani" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] plan9port's acme - open a file to a desired line number. In-Reply-To: <45219fb00606090211s4c5ed526o@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45219fb00606090211s4c5ed526o@mail.gmail.com> Topicbox-Message-UUID: 636861a8-ead1-11e9-9d60-3106f5b1d025 > (echo name file; echo get; echo dot=10) | 9p write acme/new/ctl > > But it doesn't work - it says the "dot=" command is ill-formed. What I > am doing wrong? The address (10) has to be written to addr and not to ctl file. To accomplish "B file:10" using acme control files: ; . $PLAN9/lib/acme.rc ; newwindow ; winname /path/to/file ; winctl get ; echo -n 10 | winwrite addr ; winctl 'dot=addr' Arvindh