2 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
3 <TITLE>Dos (DJGPP) port of Tcl 8.5</TITLE>
4 <META NAME="description" CONTENT="Port of Tcl to MS-DOS with Ck UI toolkit">
6 <H1>Dos port of Tcl</h1>
8 This is port of <a href="http://www.tcl.tk/">Tcl</a> programming
11 It is based on non-yet released 8.5 version of Tcl.
13 Port is almost fully-functional with one notable exception - there is no
14 support for running external programs from Tcl script - i.e. <b>exec</b>
15 command and <b>open "|</b><i>command</i><b>"</b> do not work.
17 It is possible to implement most of <b>exec</b> functionality (except
18 background execution and event-driven pipes) under DOS, but I haven't
19 yet found time to do it.
21 Port includes Waterloo TCP library, so <b>socket</b> command does work
22 if you have suitable packet driver on your system.
24 Dynamic loading <i>should work</i> because DJGPP 2.05 implements
25 <b>dlopen</b> function, but is not tested much.
27 Ck interfaces do not support mouse. It is limitation of <a
28 href="http://pdcurses.sf.net">PDCurses toolkit</a>.
29 <h2>Runtime package</h2>
31 href="http://ftp.wagner.pp.ru/pub/tcl/dos/tcldos85.zip">tcldos85.zip</a>
32 Includes two executables - tclsh.exe and cwsh.exe, neccessary script
33 libraries and manual pages. You need CWSDPMI.EXE to run executables and
34 DJGPP man program to view documentation.
35 <H2>Development package</H2>
36 (offline now) Includes libraries and header files, neccessary to build
37 custom Tcl shells and extensions using DJGPP C compiler.
38 Script libraries from runtime packages
39 are requied to run build executables.
41 Sources of DOS-specific parts of Tcl can be found on
42 <a href="http://www.sf.net/projects/tcl">Tcl sourceforge CVS
43 repository</A> in the contrib/djgpp directory.
45 Sources of Ck toolkit are <a href="ck.html">available</a> on this site.