Installation notes for CMPR for Windows-95 and -NT
Note that this is an early release of the software.
Report problems to Brian Toby.
1. Download the following files:
You can put these files anywhere on your computer, but make a note of the
locations for steps 2, 3 and 4, below. See the note
below before using
a different version of Tcl/Tk.
2. Run the programs
Use the file manager or Run command to succesively run, tcltk80p2+.exe,
and cmpr_win.exe (the order should not matter)
This will cause the files to be unpacked. The default
locations for installation are:
tcltk80p2+.exe
c:/tcl
cmpr_win.exe
c:/cmpr
It should be possible to load the files in other
locations.
3. Create a shortcut:
-
On a blank part of the Windows desktop, click the right mouse
button and then select NEW and then shortcut and click with the left
mouse button.
-
provide command
c:\tcl\bin\wish80.exe c:\cmpr\cmpr.tcl
(or modify, if you have located the files in different places)
-
click on NEXT with the left mouse button.
-
Enter name CMPR
-
click on FINISH with the left mouse button.
You may want to modify the shortcut by modifying the properties to
change the icon or the default properties.
4. Delete the downloaded .exe files to save space (optional)
tcltk80p2+.exe
cmpr_win.exe
More information about CMPR can be found in cmpr.html.
Questions
1. Can I use a different version of Tcl/Tk than the one here?
Yes -- but: you will need both Tcl/Tk and BLT. Tix is optional. If
you care what vintage of Tcl/Tk you are using, you are obviously a "power
user" and can read the tcl code to figure all this out. If
You get a message that the BLT package could not be loaded, then your
version of BLT is not configured properly.
3. What versions of Windows can I use?
Well, there is no certainity that this will work on any platform, but
I believe the the chances are good for Win-95 and Win-NT v4.0. I would be
very suprised to hear that this version of Tcl/Tk runs under Win32s on
Win3.1. I have no idea about Win98 or other versions of Win-NT
Acknowledgements
The version of Tcl/Tk here was compiled by Mumit
Khan. Praise to John Ousterhout
for creating Tcl/Tk and to Przemek Klosowski for convincing me to learn
Tcl/Tk.
Neither the author nor the U.S. Government makes any warranty, expressed
or implied, or assumes any liability or responsibility for the use of this
information or the software described here. Brand names cited here are used
for identification purposes and do not constitute an endorsement by NIST.
CMPR is written by Brian H. Toby
of the NIST Center for Neutron Research. Small FORTRAN
programs used in CMPR contain routines borrowed from lots of sources:
The reflection generation code traces back to the NIST AIDS*83 (C. Hubbard,
J. Stalick, A. Mighell & others), space group extinctions from NRC
symmetry codes (A. C. Larson) and peak fitting uses GPLSFTA (D. Cox, W.
Hamilton, L. Finger & many others).
Brian Toby (Brian.Toby@NIST.GOV)
9/98