From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45219fb00606150605m4d051c91i@mail.gmail.com> Date: Thu, 15 Jun 2006 15:05:39 +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: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1b4c160866ee944fde5e03d1c49a5493@quanstro.net> <200606091045.k59AjgB18605@zamenhof.cs.utwente.nl> <45219fb00606140739w22c66bd4x@mail.gmail.com> Topicbox-Message-UUID: 6ae49e88-ead1-11e9-9d60-3106f5b1d025 Oh that's nice. In fact what I did is changing the namespace for it to depend on $CLEARCASE_ROOT - it worked, but I had to start a plumber every time. I'll try your solution. Thanks! 2006/6/15, Arvindh Rajesh Tamilmani : > > > 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. > > > > This happens because plumber was started before setting > > the dynamic view. If both plumber and acme are started > > after setting the view, "B file:linenumber" will work fine. > > To avoid restarting plumber and acme everytime the view > is changed, you may replace calls to cleanname in B > `cleanname -d "$pwd" "$i"` > with > `cleanname -d "$pwd" "$i" | sed "s;^/vobs/;$CLEARCASE_ROOT&;"` > (assuming all VOB tags start with /vobs.) > > Arvindh >