Hi,

I talked to matz about this a few weeks ago and he invited me to ruby-
core to delve into it since he has no experience with porting stuff.
I was thinking of starting a similar project, but I have to finish some 
stuff on the zaurus that is related to mysql (I'm learning QT programming 
at the same time, so the task is quite slow). I have a packaged mysql 
running on my zaurus, a 5500 model with a 128MB CF card an a 64MB SD card.

I'll help you out in case you need it, since we have similar goals on 
having ruby run on the zaurus (Alhtough my other goal was to really learn 
Ruby anywhere, and anytime I want to. I actually had the Ruby books on 
html on a CF card!) Python and Perl already works so why not Ruby? :)

Finally, if the port does work fine, we'll probably have to package it so 
others can try it out. A sourceforge project seems to be in order when 
things go rolling.

Jerome G.

-----Original Message-----
From: Ian Macdonald <ian / caliban.org>
To: ruby-talk / ruby-lang.org (ruby-talk ML)
Date: Sat, 3 Aug 2002 11:48:33 +0900
Subject: Ruby on the Sharp Zaurus PDA

> Hi,
> 
> The Sharp Zaurus is a really cool StrongArm powered PDA that comes
> with Embedix Linux. I picked one up from Amazon earlier this week and
> am very impressed with it thus far.
> 
> Searching back through ruby-talk, I found a couple of postings asking
> whether the Zaurus could be made to run Ruby. That shouldn't be too
> hard, I thought to myself.
> 
> Well, it's Friday, it's a warm lazy day here in California, and I had
> an hour to kill before going home from work to the fianc?e for pizza,
> so I thought I'd have a stab at it.
> 
> Here are the results:
> 
> ~# uname -a
> Linux zaurus 2.4.6-rmk1-np2-embedix #1 Tue Jul 30 08:38:25 PDT 2002
> armv4l unknown
> ~# ruby --version
> ruby 1.6.7 (2002-03-19) [arm-linux]
> ~# ruby -e '(1..10).each {|i| puts i}'
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> ~# ruby -rnet/http -e 'h=Net::HTTP::new("www.ruby-lang.org");
> r,d=h.get("/en/index.html"); print d' | head
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <html>
> <head>
> <title>Ruby Home Page</title>
> <meta http-equiv="Content-Type" content="text/html">
> </head>
> 
> <body bgcolor="#FFFFFF">
> <table border="0" width="100%" cellpadding="0" cellspacing="0"
> bgcolor="#990000">
>   <tr><td><img src="/image/title.gif" width="130" height="130"
> alt=""></td>
> 
> 
> Hey, hey, it seems to work!
> 
> Now I can carry not only Linux, but also Ruby around in my pocket and
> try out those brainwave code snippets wherever I happen to be.
> 
> I still need to make a few tweaks here and there and then get irb
> running, but after I've done that, I'll put up the tar file for anyone
> who's interested in using this.
> 
> Ian
> -- 
> Ian Macdonald               | Bus error -- driver executed. 
> ian / caliban.org             | 
>                             | 
>                             | 
>                             |