]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/tcl/tcldos.html
Changed all links to 45.free.net to wagner.pp.ru
[sites/home_page.git] / software / tcl / tcldos.html
1 <HTML><HEAD>
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">
5 </HEAD><BODY>
6 <H1>Dos port of Tcl</h1>
7
8 This is port of <a href="http://www.tcl.tk/">Tcl</a> programming
9 language for DOS. 
10 <p>
11 It is based on non-yet released 8.5 version of Tcl. 
12 <p>
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.
16 <p>
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.
20 <p>
21 Port includes Waterloo TCP library, so <b>socket</b> command does work
22 if you have suitable packet driver on your system.
23 <p>
24 Dynamic loading <i>should work</i> because DJGPP 2.05 implements
25 <b>dlopen</b> function, but is not tested much.
26 <p>
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>
30 <A
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.
40 <h2>Sources</h2>
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.
44 <p>
45 Sources of Ck toolkit are <a href="ck.html">available</a> on this site.
46 </BODY>
47 </HTML>