From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200606091045.k59AjgB18605@zamenhof.cs.utwente.nl> 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: Your message of "Fri, 09 Jun 2006 05:27:58 -0500." <1b4c160866ee944fde5e03d1c49a5493@quanstro.net> References: <1b4c160866ee944fde5e03d1c49a5493@quanstro.net> From: Axel Belinfante MIME-Version: 1.0 Content-Type: text/plain; charset="x-unknown" Content-ID: <18603.1149849942.1@zamenhof.cs.utwente.nl.cs.utwente.nl> Content-Transfer-Encoding: quoted-printable Date: Fri, 9 Jun 2006 12:45:42 +0200 Topicbox-Message-UUID: 635be3a6-ead1-11e9-9d60-3106f5b1d025 the B command also opens a file in acme from the command prompt: ; B file:10 Axel. > try this: > = > ; plumb file:10 > = > or use the 9term plumb menu. you've got to either run awd manually > for this to work or redefine cd to > = > fn cd { if(flag i)cd $* && awd } > = > better yet, run win(1) within acme and use b3 on the file:line combinati= on. > = > - erik > = > On Fri Jun 9 04:13:15 CDT 2006, viriketo@gmail.com wrote: > > Hi... I'd like to open a file in acme at line, let's say, 10. > > = > > acme file:10 # doesn't work > > = > > if I already started acme, I tried this way: > > = > > (echo name file; echo get; echo dot=3D10) | 9p write acme/new/ctl > > = > > But it doesn't work - it says the "dot=3D" command is ill-formed. What= I > > am doing wrong? > > = > > Thanks, > > Llu=C3=ADs.