..
114 K n770wiki.jpg 2005-11-23
1.12 Mb tk.gz 2005-11-23
1.02 Mb tklite.gz 2005-11-23
582 K tsh.gz 2005-11-23
578 K tsh770.gz 2005-11-23
477 K tshlite.gz 2005-11-23
471 K tshlite770.gz 2005-11-23

NOTE: There is a Tcl/Tk 8.5a4 binary now, so the information below is obsolete.
      It's listed in the Tclkit download matrix under Linux / Nokia 770.
_______________________________________________________________________________



These builds are based on Tcl/Tk 8.4.11, built for ARM Linux.
Might or might not work on some PDA's.

Both tk* (wish-like, includes Tk and Itcl) and tksh (tclsh-like).
The lite variants have no C++ dependencies (and cannot write MK files).

$ ldd tk
        libX11.so.6 => /usr/lib/libX11.so.6 (0x41500000)
        libdl.so.2 => /lib/libdl.so.2 (0x411f0000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x41fb0000)
        libm.so.6 => /lib/libm.so.6 (0x412b0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41148000)
        libc.so.6 => /lib/libc.so.6 (0x41020000)
        libXau.so.0 => /usr/lib/libXau.so.0 (0x415e0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)
$ ldd tshlite 
        libdl.so.2 => /lib/libdl.so.2 (0x411f0000)
        libm.so.6 => /lib/libm.so.6 (0x412b0000)
        libc.so.6 => /lib/libc.so.6 (0x41020000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)
$
_______________________________________________________________________________

More news - tsh770 and tshlite770 seem to work fine on the Nokia 770:

$ ./tsh770
% parray tcl_platform
tcl_platform(byteOrder) = littleEndian
tcl_platform(machine)   = armv5tejl
tcl_platform(os)        = Linux
tcl_platform(osVersion) = 2.6.12.3-omap1
tcl_platform(platform)  = unix
tcl_platform(user)      = user
tcl_platform(wordSize)  = 4
% info loaded
{{} zlib} {{} vfs} {{} rechan} {{} pwb} {{} Mk4tcl}
% package req ?
can't find package ?
% lsort [package names]
Itcl Mk4tcl Tcl http mk4vfs msgcat opt pwb rechan scripdoc starkit
tcltest vfs vfs::mk4 vfs::mkcl vfs::zip vfslib zipvfs zlib
% ^D
$ ./tshlite770 sdx.kit 
Specify one of the following commands:
 addtoc    eval      fetch     ftpd      httpd     httpdist  ls        lsk
 md5sum    mkinfo    mkpack    mkshow    mksplit   qwrap     ratarx    rexecd
 starsync  sync      tgz2kit   treetime  unwrap    update    version   wrap
 For more information, type:  sdx.kit help ?command?
$ ./tsh770 wikit.kit -httpd 8000
Wed, 23 Nov 2005 21:05:08 GMT: notice Now listening: 0.0.0.0 0.0.0.0 8000
Wed, 23 Nov 2005 21:05:26 GMT: [10.0.1.100] GET /
Wed, 23 Nov 2005 21:05:26 GMT: [10.0.1.100] GET /favicon.ico
Wed, 23 Nov 2005 21:06:55 GMT: [10.0.1.100] GET /edit/0@
Wed, 23 Nov 2005 21:06:55 GMT: [10.0.1.100] GET /favicon.ico
Wed, 23 Nov 2005 21:07:09 GMT: [10.0.1.100] POST /0
Wed, 23 Nov 2005 21:07:09 GMT: [10.0.1.100] GET /favicon.ico
[...]

As you can see, Tcl + Metakit + SDX + Wikit all work out of the box.
This is probably the first wiki running on a Nokia 770 Internet Tablet!

Another test confirms that the 32 Mb Tcler's Wiki fits on it just fine, serving
pages to the local built-in browser, for example.  With memory-mapped files!

  Mem: 59512K used, 2316K free, 0K shrd, 20K buff, 16864K cached
  Load average: 0.64, 0.76, 0.42    (State: S=sleeping R=running, W=waiting)

    PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
    826 user     S       6952   733  0.0 11.2 tsh770

These were built with the Maemo SDK.  The above output comes from the N770.