9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, ebo@sandien.com
Subject: [9fans] tinycore 9vx .tce on sources
Date: Sat,  3 Apr 2010 22:52:34 +0000	[thread overview]
Message-ID: <j2x13426df11004031552q41a1d172pd118e896b9ae9fbc@mail.gmail.com> (raw)

--rw-r--r-- M 26 rminnich sys    8805 Apr  3 17:41
/n/sources/contrib/rminnich/9vx.tce

Note this is only the following:
-rwxr-xr-x root/root        61 2009-10-13 22:11:07 usr/local/bin/9vx
-rwxr-xr-x tc/staff        20 2009-10-14 03:38:18 usr/local/tce.flwm/9vx
-rw-r--r-- tc/staff      8580 2009-10-14 03:29:01 usr/local/tce.icons/9ball.png
-rw-r--r-- tc/staff        48 2009-10-14 03:39:49 usr/local/tce.icons/9vx
-rw-r--r-- tc/staff        49 2009-10-14 03:31:19 usr/local/tce.menu/9vx

If you drop this into the tce directory on tinycore, it will give you
the 9ball in the menu at the bottom and the flwm menu items on boot.

The files look like this:

tc@box:~$ cat usr/local/tce.menu/9vx
<JWM>
<Program label="9vx">9vxr</Program>
</JWM>

tc@box:~$ cat usr/local/bin/9vx
#!/bin/sh
cd `cat /opt/.tce_dir`/../tc/plan9/9vx*
exec ./9vx

tc@box:~$ ls -l usr/local/tce.flwm/9vx
-rwxr-xr-x    1 tc       staff          20 Oct 14 03:38 usr/local/tce.flwm/9vx

tc@box:~$ cat  usr/local/tce.flwm/9vx
#!/bin/sh
exec 9vxr
tc@box:~$

What's the 9vxr reference? Actually, I don't know. I have to go look!

The 9ball.png is too small to look nice. However, we have a .svg
version of this now, see: http://swtch.com/~rsc/9ball.svg

so you can make a bigger version.

Obviously, this is incomplete. You need the root file system from 9vx.
The scripts are written so that if you put the 9vx-0.what into

/tc/plan9/9vx-0.12

on the stick, all will work. You can use the tinycore scripts to build
a usb stick and then put these directories into place on it.

Questions? Let me know.

Thanks

ron



             reply	other threads:[~2010-04-03 22:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03 22:52 ron minnich [this message]
2010-04-03 23:21 ` EBo
2010-04-03 23:39 ` Jack Johnson

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=j2x13426df11004031552q41a1d172pd118e896b9ae9fbc@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@9fans.net \
    --cc=ebo@sandien.com \
    /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).