ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT 
Author Message
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT

                Tcl 7.4/Tk 4.0 For Windows NT (tknt40)
             (Version 4.0, Release 1 Beta 2; May 23, 1995)

                 Gordon Chaffee and Lawrence A. Rowe
                    Computer Science Division-EECS
                 University of California at Berkeley
                       Berkeley, CA 94720-1776

This package is Tknt40, a port of Tcl 7.4b4, Tk 4.0b4, and Tcl-DP 3.2 to
Windows NT.

Tknt40 has been run under Windows NT 3.5 only.  It may work on Windows 95,
but it has not been tested there.  It does not currently run under Win32s,
no matter what later parts of this document may say.

This port is based on the 'twin' package, a port of Tcl 7.3/Tk 3.6 to Windows
by Software Research Associates, Inc of Japan.  Small parts of this
distribution were taken from the tkwin package by Ken Kubota of the
Mathematical Sciences Computing Facility at the University of Kentucky.

The package is available from

    mm-ftp.cs.berkeley.edu:/pub/multimedia/winnt/tknt40r1beta2
        tknt40r1beta2_src.tar.gz    -- Source distribution, tarred and gzipped
        tknt40r1beta2_bin.tar.gz    -- Binary distribution, tarred and gzipped
        tknt40r1beta2_implib.tar.gz -- Import libraries for DLLs, tarred and
                                        gzipped
        tcl74tk40.hlp.gz            -- Help file, gzipped.

It is also be mirrored at

    ftp.ibp.fr:/pub/tcl/winnt

To expand the gzipped version:

        gunzip -c -f <gzipped_file> | tar xvf -

To expand the gzipped help file:

        gunzip tcl73tk36.hlp.gz

RELEASE NOTES
----------------------------------------------------------------------
Changes from beta1 are minor.  A problem with TclSetupEnv was fixed.
It could crash tclsh or wish.  The missing tkntinstall.exe was added.

This is the second real beta release of Tknt40.  Because of that, don't
be surprised if you find bugs.  It does not pass all the tests in the
Tcl/Tk test suite.  For full information on what is an is not supported,
see the files TKNT_DOC and PROBLEMS.  For complete information on
changes, check the CHANGES file.

There is now a Windows help file that was generated from the Unix man
pages.  The help file is generated by the man2hlp utility found in
the source directory.

Library files for the binary distributions are now put in version
specific files.  What used to go into /usr/local/lib/tk is now in
/usr/local/lib/tk4.0.

An install program sets entries in the registry to point to TCL_LIBRARY,
TK_LIBRARY, and DP_LIBRARY for the different versions.

BACKGROUND
----------------------------------------------------------------------
Tcl stands for the Tool Command Language, a freely distributable,
embeddable scripting language package.

Tk is an freely distributable interface toolkit and widget library
implemented by a collection of new commands added to Tcl.  Information
about Tcl/Tk is available by anonymous ftp from ftp.cs.berkeley.edu:/tcl.

Tcl-DP is an extension to Tcl that allows distributed programming with
Tcl.  With it, one can make RPC calls to other Tcl-DP RPC servers.  It
makes network programming extremely easy.  It requires TCP/IP.

USING TKNT
----------------------------------------------------------------------
1. The distribution comes in two forms--source and binary.  The binary
   distribution has everything needed to run tknt under Windows NT.  If
   you want to run it under Win32s, you will need to get the Win32s
   subsystem from Microsoft.  The distribution installs into usr/local
   when you decompress and untar the distribution file.  Binaries are in
   usr/local/bin and library files are in usr/local/lib/tk4.0,
   usr/local/lib/tcl7.4, usr/local/lib/dp3.2, and usr/local/lib/blt1.7.
   After decompressing, run

      ./usr/local/bin/tkntinstall <library_path>.

   If you decompressed in c:/ , you would run

      /usr/local/bin/tkntinstall c:/usr/local/lib

   This will set entries in the registry so tclsh and wish can find the
   library files.  You can edit these values directly with regedt32.
   The default registry path is HKEY_LOCAL_MACHINE\SOFTWARE\Tknt.  If
   you do not write permission, HKEY_CURRENT_USER\SOFTWARE\Tknt is tried
   insstead.

   You should also set the HOME environment variable to your home directory.

      HOME=c:/usr/tools

   Use '/' instead of '\' as your separator.

   You should also need to add usr/local/bin to your Path environment variable,
   but this is not required.

   The source distribution creates the subdirectory tknt40r1beta2.  The
   source cannot be built without change under Win32s because not all files
   have not been shortened to use the 8.3 DOS filename limitation.  The tree
   contains:

        tknt40r1beta2/src              Tcl/Tk/Tcl-DP/BLT C source code.
        tknt40r1beta2/lib              Tcl/Tk/Tcl-DP/BLT Tcl library files.
        tknt40r1beta2/lib/tk4.0/demos  Contains the widget demo.
        tknt40r1beta2/lib/dp3.2/demos  Simple Tcl-DP examples
        tknt40r1beta2/lib/blt/demos    Some BLT demos

2. The files you will find in usr/local/bin are:

   msvcrt20.dll     If running under Windows NT 3.1, you'll need this.
                    Under Windows NT 3.5, it may come with the system.
   tcl74.dll        Tcl DLL
   tk40.dll         Tk DLL
   tk40_x.dll       Tk DLL wish X defaults--rename to tk40.dll if you do not
                      want Windows NT defaults
   dp32.dll         Tcl-DP DLL
   dp32lite.dll     Tcl-DP with minimal Tk event loop
   blt17.dll        BLT DLL
   lxlib.dll        Xlib compatability library
   tkntutil.dll     Stdio emulation for Win32s, various helper routines

   Windows NT Executables
   ----------------------------------------------------------------------
   tclsh.exe        Tcl shell--no graphics
   wish.exe         Standard wish
   dpsh.exe         Tcl-DP shell-no graphics            (Not yet in Tknt40)
   dpwish.exe       Tcl-DP wish                         (Not yet in Tknt40)
   bltwish.exe      BLT wish                            (Not yet in Tknt40)
   bldpwish.exe     Wish including Tcl-DP and the BLT toolkit
                                                        (Not yet in Tknt40)
   tclspawn.exe     Utilily needed by Tcl to create subprocesses.
   tkntinstall.exe  Sets registry entries for Tknt.

   Win32S Executables (no 'exec' or pipeline suppport, run on Windows NT also)
                                                        (Not yet in Tknt40)

   ----------------------------------------------------------------------
   wish32s.exe      Standard wish for Win32s
   dpwsh32s.exe     Tcl-DP wish for Win32s
   blt_w32s.exe     BLT wish for Win32s
   bldpw32s.exe     Wish including Tcl-DP and the BLT toolkit for Win32s

3. To run the widget demo, you can run wish with:

        wish -f /usr/local/lib/tk/demos/widget      (NT)
   or
        wish32s -f /usr/local/lib/tk/demos/widget   (Win32s)

   To add the widget demo to the ProgramManager
   Choose [File]-[New]-[ProgramItem] in ProgramManager, and set

        Description:                Tk Widget Demo
        CommandLine:                c:\usr\local\bin\wish -f widget
        WorkingDirectory:           c:\usr\local\lib\tk\demos

   (You will need to have c:\usr\local\bin in the Path environment
    variable).

   Now you can start widget demo by double clicking on the icon.

4. You can install Tknt36 and Tknt40 together.  To do this, just rename
   the Tknt36 binaries.  You will need Tknt36r6beta3 or higher for
   this to work properly.  Rename wish.exe to wish36.exe.

MORE INFO
----------------------------------------------------------------------
For information on the differences between tknt and Tk, check the TKNT_DOC
file in the distribution and at the ftp site.

COMPILING
----------------------------------------------------------------------
For compiling information, see the BUILD file.

REPORTING PROBLEMS
----------------------------------------------------------------------
To report bugs, bug fixes, and suggested improvements send email to


or post an article to the comp.lang.tcl newsgroup.

For more information on changes, see the CHANGES file in the src directory
or the TKNT_DOC file.

REPORTING PROBLEMS
----------------------------------------------------------------------
To report bugs, bug fixes, and suggested improvements send email to


or post an article to the comp.lang.tcl newsgroup.
-----------------------------------------------------------------------------

TO LEARN HOW TO USE TCL/TK:
----------------------------------------------------------------------
+) Get John Ousterhout's book on the Tcl and the Tk Toolkit available
   from any fine computer bookstore.

ACKNOWLEDGEMENTS
----------------------------------------------------------------------
This package would not have been possible without the excellent work



people who have given bug fixes and reported problems.

We gratefully thank Fujistu of America, in particular Charles
Brauer, for financial support of this project.  In addition, we
acknowledge the support of Digital Equipment, Intel, Starlight Networks,
the National Science Foundation (Grant MIP 90-14940), and the State of
California Micro Program for additional equipment and financial support.



Sun, 09 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT
:                 Tcl 7.4/Tk 4.0 For Windows NT (tknt40)
:              (Version 4.0, Release 1 Beta 2; May 23, 1995)

Terrific!  I can't rlogin to my NT system from home, but I snagged the
package ASAP to see the status of the tk image photo type.  I could
not find any caveats in the README or DOC files saying "the photo type
does NOT work" -- is this true, is the photo type now working in tknt?

I don't care if it's bulletproof, complete, etc., just some stub
functionality will be super for me.

-- Andy
________________________________________________________________________

Palo Alto, CA                               Hewlett-Packard Laboratories



Sun, 09 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT

Quote:

> Terrific!  I can't rlogin to my NT system from home, but I snagged the
> package ASAP to see the status of the tk image photo type.  I could
> not find any caveats in the README or DOC files saying "the photo type
> does NOT work" -- is this true, is the photo type now working in tknt?

The photo image type does work, but it has a limitation.  Because Tknt only
uses the basic 16 colors on an 8 bit display, the pictures are not always
pretty.  I made some weak attempts to use up to 256 colors, but I wasn't
satisfied with how I had done this.  If you have a 24 bit color display
(or maybe even 16 bit), colors should be beautiful.  Most likely, this
limitation will not change until John Ousterhout releases the official
Windows version of Tcl/Tk.  At that time, I expect his version will
supercede Tknt.

Gordon Chaffee



Sun, 09 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT

Quote:
>:                 Tcl 7.4/Tk 4.0 For Windows NT (tknt40)
>:              (Version 4.0, Release 1 Beta 2; May 23, 1995)

Is anyone else having problems with this?  I have the Win95 Pre-Release,
and the last version worked fine.  But now, it doesn't seem to see
my mouse clicks.  The demos still work, however, because I can use
the keyboard short-cuts.

Anyone?

Dewayne



Sun, 09 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT
: The photo image type does work, but it has a limitation.  Because Tknt only
: uses the basic 16 colors on an 8 bit display, the pictures are not always
: pretty.

I haven't got a build environment on my NT machine yet so I haven't
gone source hacking, but I have played with the binaries.  When I
display images with the photo, the palette colors seem to be inverted
-- i.e., red displays as cyan, black as white, etc.  This under NT
Workstation 3.5.  There was only one PPM test image in the
distribution, so I wonder if anyone really checked this out :-).

I'll probably figure this out when I finally get compiling on NT, but
since that might be awhile, if anyone has a hint please let me know.

-- Andy
________________________________________________________________________

Palo Alto, CA                               Hewlett-Packard Laboratories



Tue, 11 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT

Quote:

>: Because Tknt only uses the basic 16 colors on an 8 bit display, the
>: pictures are not always pretty.

>When I display images with the photo, the palette colors seem to be inverted
>-- i.e., red displays as cyan, black as white, etc.  This under NT
>Workstation 3.5.  There was only one PPM test image in the
>distribution, so I wonder if anyone really checked this out :-).

Well I'll be...  I guess it is always good practice to see what the image
looks like on a platform where it is known to work.  You are absolutely
right--the colors are inverted.  In XPutImage(), the colors are inverted
when copied from the XImage structure to a Windows bitmap structure.  The
opposite occurs in XGetImage().  By getting rid of the '~' operator when
copying the image, the colors look much better.  They still don't match
the Unix colors because of the 16 color limitation (I think), but at least
the dark colors are dark and the light colors are light.  I don't have a
patch to give, but its easy to find.  The fix will be in the next release.

Gordon Chaffee



Tue, 11 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT
Hi

I am glad to hear that there is a NT port of TCL/TK. But I just wonder if
there will make some extensions not working anymore. (especially expect)

Any feedbacks are gladly welcome.

Ken



Thu, 13 Nov 1997 03:00:00 GMT  
 ANNOUNCE: Tknt40r1beta2 (Tcl 7.4/Tk 4.0/Tcl-DP 3.2) for NT

Of course the only extensions that will work will be those who have been,
or are able to, be ported.  To port Expect will require pseudo ttys, etc.
--

:s In search of a new WWW home...
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.



Mon, 17 Nov 1997 03:00:00 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. Tknt40r1 (Tcl 7.4, Tk 4.0, Tcl-DP 3.3, Itcl 1.5, BLT 1.8, Tix 4.0)

2. ANNOUNCE: Tknt36r6beta4 (Tcl 7.3/Tk 3.6/Tcl-DP 3.2) for NT

3. Change from TCL/TK(7.4,4.0) to TCL/TK(7.5,4.1)

4. ANNOUNCE: New releases: Tk 4.0 and Tcl 7.4

5. ANNOUNCE: BLT 1.8, truly updated for Tcl 7.4, Tk 4.0

6. safe-tcl / Tcl 7.4 / Tk 4.0

7. Tcl DP for 7.4/4.0?

8. tcl-DP for 7.4/4.0

9. ANNOUNCE: Tcl-DP version 3.2

10. Dropdown directory / file search using TCL 7.4 / TK 4.0

11. Binding keys to buttons in Tcl/Tk 7.4/4.0

12. Binding keys to buttons in Tcl/Tk 7.4/4.0

 

 
Powered by phpBB® Forum Software