Re: [Haskell-cafe] Hugs for Zaurus

2005-01-25 Thread Graham Klyne
At 11:31 24/01/05 -0600, John Goerzen wrote:
On Mon, Jan 24, 2005 at 04:48:49PM +, Graham Klyne wrote:
> At 20:15 21/01/05 +, John Goerzen wrote:
> >I have built a fixed Hugs for the Zaurus PDA running the OpenZaurus
> >distribution.  Download here:
> >http://quux.org/devel/zaurus/hugs_hugs98-Nov2003-r1_arm.ipk
>
> Cool!
>
> I've often thought Haskell should be a good language for programming PDA
> functions, as a kind of super-calculator.  Now I've seen versions 
mentioned
> for two PDAs, but no Palm yet.

Out of curiosity, do you know what the other PDA is?
It was WinCE, announced hereabouts recently...
  http://www.haskell.org/pipermail/haskell/2005-January/015105.html
#g
--
I suspect the reason there's nothing for Palm is because one probably
can't just port to it in the normal sense.  For isntance, until
recently, PalmOS had no notion of a filesystem, though it does have
simplistic database functions built in and a type/creator thing similar
to older versions of MacOS.  Memory is also quite constrained on many
Palms, and I think management is different than in standard C, but I'm
not certain of that.
The port to Zaurus is easy because it is a real OS (Linux) on it.  Even
comes with a terminal emulator.  And one can run Debian or X
(www.pdaxrom.org) on it, too.  It's a good PDA for a geek :-)



Graham Klyne
For email:
http://www.ninebynine.org/#Contact
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hugs for Zaurus

2005-01-24 Thread John Goerzen
On Mon, Jan 24, 2005 at 04:48:49PM +, Graham Klyne wrote:
> At 20:15 21/01/05 +, John Goerzen wrote:
> >I have built a fixed Hugs for the Zaurus PDA running the OpenZaurus
> >distribution.  Download here:
> >http://quux.org/devel/zaurus/hugs_hugs98-Nov2003-r1_arm.ipk
> 
> Cool!
> 
> I've often thought Haskell should be a good language for programming PDA 
> functions, as a kind of super-calculator.  Now I've seen versions mentioned 
> for two PDAs, but no Palm yet.

Out of curiosity, do you know what the other PDA is?

I suspect the reason there's nothing for Palm is because one probably
can't just port to it in the normal sense.  For isntance, until
recently, PalmOS had no notion of a filesystem, though it does have
simplistic database functions built in and a type/creator thing similar
to older versions of MacOS.  Memory is also quite constrained on many
Palms, and I think management is different than in standard C, but I'm
not certain of that.

The port to Zaurus is easy because it is a real OS (Linux) on it.  Even
comes with a terminal emulator.  And one can run Debian or X
(www.pdaxrom.org) on it, too.  It's a good PDA for a geek :-)

-- John
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hugs for Zaurus

2005-01-24 Thread Graham Klyne
At 20:15 21/01/05 +, John Goerzen wrote:
Hello,
I have built a fixed Hugs for the Zaurus PDA running the OpenZaurus
distribution.  Download here:
http://quux.org/devel/zaurus/hugs_hugs98-Nov2003-r1_arm.ipk
Cool!
I've often thought Haskell should be a good language for programming PDA 
functions, as a kind of super-calculator.  Now I've seen versions mentioned 
for two PDAs, but no Palm yet.

#g

Graham Klyne
For email:
http://www.ninebynine.org/#Contact
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hugs for Zaurus

2005-01-22 Thread John Goerzen
On Sat, Jan 22, 2005 at 01:52:58PM -0800, Fritz Ruehr wrote:
> I'm curious if you know what the requirements (memory, model, etc.) for 
> running Hugs on a Zaurus might be: I am not normally a PDA sort of 
> person, but a quick search indicates that Zauruses (Zauri?) are 
> available (used) for around US $30-50 (e.g., 2MB ZR 5800 through 64 MB 
> SL-5500). I'm guessing the 2MB model wouldn't work, but even at the 
> higher prices the temptation would be great.

I can give you some idea, at least.  When started from scratch, hugs
consumes about 4MB RAM on my system.

for those of you not familiar with the Zaurus, it is a PDA from Sharp
that runs a version of the Linux kernel and the Qt-derived Qtopia
environment from the factory.  There arealso numerous projects that have
developed alternative Zaurus ROMs, such as OpenZaurus.  

In addition to the Zaurus models you mentioned, there is also the
640x480 cxx0 series (c760, c860, c700, c750/ etc).  These models were
only sold in Japan, but are widely available in the rest of the world
through ebay and sites like dynamism.com and conics.net..  I have a c760
and it has 128MB RAM IIRC.

Most Zaurii can take SD and CF cards.  Debian has been ported to the
Zaurus also, and can run from a memory card.  nhc98 works in such a
setting.  Of course, hugs already works that way.  My effort simply
makes it work outside a debian chroot.  My understanding is that ghc is
currently broken on arm, but if/when that is fixed, you could actually
run ghc itself on the zaurus in Debian.  Thouhg it sometimes uses
almost 1GB of RAM -- that won't do :-)

The OpenEmbedded folks have a cross-compilation system built up, and
packages of about 1200 well-known unix programs that build in that
environment .  This is how OpenZaurus itself gets bilt.A  They do have a
hugs package, but it was broken due to some incompatibilities with
cross-compiling.

Hope this helps.  Feel free to ask if you have any other questions.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hugs for Zaurus

2005-01-22 Thread Fritz Ruehr
Hi John,
I'm curious if you know what the requirements (memory, model, etc.) for 
running Hugs on a Zaurus might be: I am not normally a PDA sort of 
person, but a quick search indicates that Zauruses (Zauri?) are 
available (used) for around US $30-50 (e.g., 2MB ZR 5800 through 64 MB 
SL-5500). I'm guessing the 2MB model wouldn't work, but even at the 
higher prices the temptation would be great.

Anyway, thank you for your efforts, on behalf of current and future 
Zaurus users.

  --  Fritz
PS: I realize that you might not know what the exact requirements are: 
I imagine you don't have a large range of test systems available :) .

On Jan 21, 2005, at 12:15 PM, John Goerzen wrote:
Hello,
I have built a fixed Hugs for the Zaurus PDA running the OpenZaurus
distribution.  Download here:
http://quux.org/devel/zaurus/hugs_hugs98-Nov2003-r1_arm.ipk
Every module except Posix signals appears to be working.
-- John
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Hugs for Zaurus

2005-01-21 Thread John Goerzen
Hello,

I have built a fixed Hugs for the Zaurus PDA running the OpenZaurus
distribution.  Download here: 

http://quux.org/devel/zaurus/hugs_hugs98-Nov2003-r1_arm.ipk

Every module except Posix signals appears to be working.

-- John

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe