Victor Wagner took David's work and more or less completed it. This port based on relatively recent CVS HEAD, support dynamic loading using DXE3 (DJGPP 2.04 required) and includes Ck text mode interface toolkit.

Victor Wagner: Really, [exec] can be made useful on MS-DOS. It doesn't support simultaneous execution of program, but many uses of exec suspends calling script until called program exit and return its output. This behavoir can be implemented on MS-DOS, but I cannot yet find time to do it.

It is quite easy to write "poor man" exec, which just calls C system function, but better job can be done, which can use all infrastructure in Tcl generic directory, and just reimplement Tclp_CreateProcess and friends.

Main idea is to create "processes" as just information structures in memory, which hold argc, argv and IO redirection info, and execute them in order (due to single-tasking nature of DOS). Process can be executed not before writing to its stdin is compleded, but not after read from its output is requested.

Thus we can support almost all functionality of [exec] except trailing & and unidirectional [open]. Pipes can be done using temporary files (as they are always done in MS-DOS), << can be implemented using temporary file too.

MSTCL is a port of Tcl 7.3, Tk 4.0, and TclX 7.3a to MS-DOS. The Tk wish executable requires Desqview/X from Quarterdeck to run. The command line executables tclsh and tcl (/w Extended Tcl) interpreters run under vanilla MS-DOS. The DJ GNU C compiler was used for the port, providing a flat 32 bit environment. Minimal support for Tcl's 'exec' is provided as a shell to MS-DOS.

KJN on 2008-01-18: alleged ports of Tcl 6.2 and 6.7 are available from ftp://ftp.sra.co.jp/pub/x11/tk/old/ ; I have not tested them, but I have included them in a collection of Tcl 6 versions available here [1].

An MS-DOS Windows DLL instance of Tcl 6.2 was generated by mailto:[email protected] (Ugo Cei). Contact him for more details.

A Windows DLL was made by mailto:[email protected] (Ekkehard Beier) by slightly modifying a DOS 6.2 Tcl port. There are still problems with the system/WinExec command. A very rudimentary Debugger User Interface using Borland's Classlib is part of the zip-file, too. The source was used also with BC3.1++/AF on MS W3.1. You can get a copy from ftp://metallica.prakinf.tu-ilmenau.de/pub/DOS/wintcl.zip via anonymous ftp. Unfortunately Ekki doesn't have time currently to finish the Windows port and user Interface.

Omar Stanford mailto:[email protected] reported in March of 1994 that he had almost completed his port of Tcl 7.3 to MS-Windows 3.1. He had incorporated extensions for networking (including NetWare), Windows Sockets, and many Windows API functions. He also was working on a facility for dynamically allocating commands to the Tcl environment. If there are other extensions that one would like to see under Windows 3.1, or if you are interested in beta testing, drop him a line.

Also, Simon Kenyon mailto:[email protected] of the Information Technology Centre, Dublin, IRELAND, mentions that they are starting to port Tk to MS-Windows. There is a mailing list (see "tcl-faq/part2") for folk who are interested.

Steve Furr mailto:[email protected] reports getting Tcl ported to QNX without a lot of trouble. He mentions that QNX users who have the beta X hould have gotten a CD-ROM update with Tcl and Tk on the CD.

OS/2

A port of Tcl 7.3, except for glob or command pipelines, to OS/2 2.x using C Set++ has been done by mailto:[email protected] (Bud Bach). As of this date, I have no leads on anyone porting Tk to any version of OS/2. There are some OS/2 X client support kits available for purchase, which might make it easier to port Tk.

Also (see "tcl-faq/part4"), the Tcl programs/packages catalog, for the latest port locations.