From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45219fb00606140739w22c66bd4x@mail.gmail.com> Date: Wed, 14 Jun 2006 16:39:52 +0200 From: "=?ISO-8859-1?Q?Llu=EDs_Batlle?=" 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: <200606091045.k59AjgB18605@zamenhof.cs.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1b4c160866ee944fde5e03d1c49a5493@quanstro.net> <200606091045.k59AjgB18605@zamenhof.cs.utwente.nl> Topicbox-Message-UUID: 6a8d4278-ead1-11e9-9d60-3106f5b1d025 I don't know how I didn't notice before, but it seems using "B" with linenumber addressing doesn't work accessing files of a ClearCase view (that is, a special filesystem in Linux). It opens a filename, as the filename had the ":linenumber" within. If I right click the title of the new void window created, it opens a new window with the correct file, and the cursor at the specified line number. Does anybody know if that wrong behaviour could be related to acme/B? Of course I can open those files with gvim or some other editors without problem - but in acme, not with B. Ah, if I don't add a line number, the file is correctly opened in any case (B or right click). Any clue? 2006/6/9, Axel Belinfante : > 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 combinat= ion. > > > > - 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. Wha= t I > > > am doing wrong? > > > > > > Thanks, > > > Llu=EDs. >