Rainer Keuchel has completed a port of Tcl/Tk 8.4a2 for WinCE using his celib.dll porting library. This version of Tcl/Tk is still a bit buggy, but many things work. ''It's also a little bit slow.'' '''Screenshot''' [http://www.rainer-keuchel.de/wince/tcltk1.jpg] '''Download''' http://www.rainer-keuchel.de/wince/dirlist.html 1. Get the tcl generic tcltk package [http://www.rainer-keuchel.de/wince/tcltk-all-platforms.tar.gz]. 2. Then get your specific processor binary: SH3 [http://www.rainer-keuchel.de/wince/tcltk-wince-sh3-hpc-wce211.tar.gz], ARM [http://www.rainer-keuchel.de/wince/tcltk-wince-arm-hpc-wce300.tar.gz], MIPS-palm [http://www.rainer-keuchel.de/wince/tcltk-wince-mips-palm-wce201.tar.gz], MIPS-hpc [http://www.rainer-keuchel.de/wince/tcltk-wince-mips-hpc-wce211.tar.gz] 3. Next get the celib package [http://www.rainer-keuchel.de/wince/celib-3.06-dll-bin-all-platforms.tar.gz]. 4. Finally get the WinCE desktop tools [http://www.rainer-keuchel.de/wince/wince-desktop-tools.tar.gz]. This will allow you to update the registry from your desktop. '''Installation''' Install the celib.dll for your processor/platform in the \Windows directory for your WinCE device. Unpack and install tcltk (I will put more info in here later) [MPJ] Get the cereg.exe file out of the WinCE desktop tools and place it in a directory with the below batch file. Then run the batch file to update your registry. REM wince_tcktk.bat ::- Basic System Configuration REM Make changes here for your system set basepath=\Storage Card\Program Files set wish=%basepath%\Tcl\bin\wish84d.exe set tclsh=%basepath%\Tcl\bin\tclsh84d.exe set libdir=%basepath%\Tcl\lib set bindir=%basepath%\Tcl\bin set tcllibdir=%libdir%\tcl8.4 set tklibdir=%libdir%\tk8.4 ::- TclTk file associations cereg -k "HKCR\.tk" -n "" -v "tclfile" cereg -k "HKCR\.tcl" -n "" -v "tclfile" cereg -k "HKCR\tclfile" -n "" -v "TclTk Script" cereg -k "HKCR\tclfile\DefaultIcon" -n "" -v "%wish%,0" cereg -k "HKCR\tclfile\Shell\Open\Command" -n "" -v """"%wish%""" ""%%1""" ::- Tcl file associations cereg -k "HKCR\.tsh" -n "" -v "tshfile" cereg -k "HKCR\tshfile" -n "" -v "Tcl Script" cereg -k "HKCR\tshfile\DefaultIcon" -n "" -v "%tclsh%,0" cereg -k "HKCR\tshfile\Shell\Open\Command" -n "" -v """"% tclsh%""" ""%%1""" ::- Environment Info cereg -k "HKLM\Environment" -n "TCL_LIBRARY" -v "%tcllibdir%" cereg -k "HKLM\Environment" -n "TK_LIBRARY" -v "%tklibdir%" REM Height of 10 is ok, 14 does almost full screen cereg -k "HKLM\Environment" -n "ROWS" -v "14" REM MAX Width for PPC is 29 Chars cereg -k "HKLM\Environment" -n "COLS" -v "29" REM Home cereg -k "HKLM\Environment" -n "HOME" -v "\\" REM Temp cereg -k "HKLM\Environment" -n "TEMP" -v "\Temp" cereg -k "HKLM\Environment" -n "TMP" -v "\Temp" cereg -k "HKLM\Environment" -n "TMPDIR" -v "\Temp" cereg -k "HKLM\Environment" -n "TEMPDIR" -v "\Temp" REM Path cereg -k "HKLM\Environment" -n "PATH" -v "%bindir%;" REM Username cereg -k "HKLM\Environment" -n "USER" -v "nobody" REM Debugging trace level (0 to 255) cereg -k "HKLM\Environment" -n "XCE_TRACE" -v "0" REM Debugging trace file output cereg -k "HKLM\Environment" -n "XCE_TRACE_FILE" -v "\xce_trace.txt" '''RUNNING''' Add notes on how to run a file here [MPJ] '''BUGS''' Please report bugs you find to Rainer Keuchel [mailto:keuchel@netwave.de] or or to wince-devel [mailto:wince-devel@yahoogroups.com]