Discussion:
[9fans] Showing an image on an o/live window
(too old to reply)
k***@hera.eonet.ne.jp
2012-05-19 04:59:51 UTC
Permalink
forgot one more thing.

I did the command
;page octopus.img
on the directory panel of /usr/okamoto on the terminal.

I got the octopus image on my PC (octopus server) side,
but not the terminal side.
My ubuntu has plan9port, and 'page' command can be
seen.

It' not easy to me to understand this behaviour...

Kenji
Nemo
2012-05-19 10:21:59 UTC
Permalink
(1) !mkdir /mnt/ui/appl/image:logo
(2) !cp /usr/okamoto/octopus.img /mnt/ui/appl/image:logo/data
(3) !echo copyto /main/row:stats > /mnt/ui/appl/image:logo/ctl
1 and 2 create the widget and update it. but it's not shown anywhere.
3 links that widget to a tree shown by the "main" screen.
Apps can create their hierarchies and then decide which widgets to replicate
and where (to show them).
did the command
;page octopus.img
on the directory panel of /usr/okamoto on the terminal.
I got the octopus image on my PC (octopus server) side,
but not the terminal side.
because you are not expected to use the PC for graphics. You asked
the PC to run page and it did that. Note that the rio you are likely to
run on the PC is not part of the octopus.

hth
k***@hera.eonet.ne.jp
2012-05-22 03:22:01 UTC
Permalink
Post by Nemo
Post by k***@hera.eonet.ne.jp
did the command
;page octopus.img
on the directory panel of /usr/okamoto on the terminal.
I got the octopus image on my PC (octopus server) side,
but not the terminal side.
because you are not expected to use the PC for graphics. You asked
the PC to run page and it did that. Note that the rio you are likely to
run on the PC is not part of the octopus.
I'm still confusing.

The PC file tree is exported in the inferno environment, styx, so
the exported PC's (this case Ubuntu) root is /usr/octopus, but not
/ of the ubuntu machine.

I issued the ';page' command from 9front terminal, where ';' indicates
the native OS's command. What is 'native' here?

Actually, when I issue '!' command on the same terminal,
olive try to find the comand under the _local_ /usr/octopus/dis
directory. I this this is reasonable, but the ';' case is not.
How do you think?

Kenji
k***@hera.eonet.ne.jp
2012-05-22 12:29:07 UTC
Permalink
Post by k***@hera.eonet.ne.jp
I issued the ';page' command from 9front terminal, where ';' indicates
the native OS's command. What is 'native' here?
This may also be from the different version of inferno, too.
The $OCTOPUS/usr/octopus/port/lib/os.b file shows the
line of
system(xctx, cmd);
and the cmd= "os -d <dir> rc -c <cmd>" here.

According to my inferno man page, "os" command of the
inferno sh has -m mountpoint option, which we dont't use.
If that option is not used, the defdault is at /cmd directory
which would be linked to _local_ bin...

Too much complicated to me for now.

Kenji
k***@hera.eonet.ne.jp
2012-05-22 12:34:08 UTC
Permalink
Oups!
Post by k***@hera.eonet.ne.jp
The $OCTOPUS/usr/octopus/port/lib/os.b
$OCTOPUS/usr/octopus/port/x/xex.b

sorry

Kenji
Nemo
2012-05-22 12:49:10 UTC
Permalink
native there means in the host os of
the pc and the namespace you had there.
Post by k***@hera.eonet.ne.jp
Post by k***@hera.eonet.ne.jp
I issued the ';page' command from 9front terminal, where ';' indicates
the native OS's command. What is 'native' here?
This may also be from the different version of inferno, too.
The $OCTOPUS/usr/octopus/port/lib/os.b file shows the
line of
system(xctx, cmd);
and the cmd= "os -d <dir> rc -c <cmd>" here.
According to my inferno man page, "os" command of the
inferno sh has -m mountpoint option, which we dont't use.
If that option is not used, the defdault is at /cmd directory
which would be linked to _local_ bin...
Too much complicated to me for now.
Kenji
k***@hera.eonet.ne.jp
2012-05-23 02:18:45 UTC
Permalink
By the way, have you tried to write, say, canvas panel?

Kenji

Continue reading on narkive:
Loading...