From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Francisco J Ballesteros In-Reply-To: <42c12e723c28df43768ef2250ce0442a@hera.eonet.ne.jp> Date: Thu, 10 May 2012 10:02:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0D8F4819-99A2-48B0-8DAD-6E39FFEF1796@lsub.org> References: <42c12e723c28df43768ef2250ce0442a@hera.eonet.ne.jp> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Octopus viewer? Topicbox-Message-UUID: 875ba114-ead7-11e9-9d60-3106f5b1d025 Oh! Good catch! Sorry I couldn't be of more help. On May 10, 2012, at 9:58 AM, kokamoto@hera.eonet.ne.jp wrote: >> For what you say I think that your plumber might not be configured or >> that something happen with the configuration file after view tried to = plumb it. >>=20 >> In the worst case I can just send you my configuration files :) >=20 > It's not configuration problem, but, maybe, different version of > inferno. I versioned up my inferno to run it on my Ubuntu 11.10. >=20 > In the funtion of viewcmd() of /usr/octopus/port/lib/view.b, the line > r :=3D os->filename(file); > gives the r=3D"/usr/octopus/tmp/view.2.DSCN1549.jpg", > even the file=3D"/tmp/view.2.DSCN1549.jpg is given". > Then, I changed the lines: > "Plan9" or "PlanB" =3D> > cmd=3Dsprint("plumb %s", r); > to > "Plan9" or "PlanB" =3D> > cmd=3Dsprint("plumb %s", file); >=20 > That's all. > Now I'm viewing the jpg image by !cp DSCN1549.jpg /mnt/view >=20 > Kenji >=20