9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: kokamoto@hera.eonet.ne.jp
To: 9fans@9fans.net
Subject: Re: [9fans] Octopus viewer?
Date: Thu, 10 May 2012 16:58:03 +0900	[thread overview]
Message-ID: <42c12e723c28df43768ef2250ce0442a@hera.eonet.ne.jp> (raw)
In-Reply-To: <582B999B-3893-4994-A724-166A4C0DBA6F@lsub.org>

> 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.
>
> In the worst case I can just send you my configuration files :)

It's not configuration problem, but, maybe, different version of
inferno.  I versioned up my inferno to run it on my Ubuntu 11.10.

In the funtion of viewcmd() of /usr/octopus/port/lib/view.b, the line
r := os->filename(file);
gives the r="/usr/octopus/tmp/view.2.DSCN1549.jpg",
even the file="/tmp/view.2.DSCN1549.jpg is given".
Then, I changed the lines:
"Plan9" or "PlanB" =>
	cmd=sprint("plumb %s", r);
to
"Plan9" or "PlanB" =>
	cmd=sprint("plumb %s", file);

That's all.
Now I'm viewing the jpg image by !cp DSCN1549.jpg /mnt/view

Kenji




  reply	other threads:[~2012-05-10  7:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22  7:45 kokamoto
2012-04-22  7:55 ` kokamoto
2012-04-22 13:11   ` Francisco J Ballesteros
2012-04-26 13:28   ` kokamoto
2012-04-26 13:38     ` Francisco J Ballesteros
2012-04-28  2:02       ` kokamoto
2012-04-28  8:23         ` kokamoto
2012-04-28 12:39           ` Nemo
2012-04-28 14:06             ` kokamoto
2012-04-30  1:19             ` kokamoto
2012-04-30  8:01               ` Nemo
2012-05-06  1:09                 ` kokamoto
2012-05-08  6:23                   ` kokamoto
2012-05-08  8:27                     ` Francisco J Ballesteros
2012-05-10  7:58                       ` kokamoto [this message]
2012-05-10  8:02                         ` Francisco J Ballesteros
2012-05-11  1:50                           ` kokamoto
2012-05-11  6:33                             ` Nemo
2012-05-11  9:18                               ` Charles Forsyth
2012-05-11 13:08                               ` kokamoto
2012-04-22 13:10 ` Francisco J Ballesteros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42c12e723c28df43768ef2250ce0442a@hera.eonet.ne.jp \
    --to=kokamoto@hera.eonet.ne.jp \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).