### Installing PIT from the CD-ROM

The original page written by Jeff Love is now obsolete. Much of this page has been revised by NMS to handle the new approach to loading Pit and PIT images (and Tcl). It will be tested to assure that it works as intended.

*WARNING*
For some, installation of PIT may require you to modify your AUTOEXEC file so that your computer knows where to find Tcl. The AUTOEXEC file is one of two files that make your computer run properly, so it is possible to seriously adversely affect the operation of your computer while modifying this file. If you follow the steps outlined below and make only the changes listed, there should not be a problem. If you are uncomfortable making these changes yourself then it is recommended that you have someone experienced in this type of work do it for you.

There is a yellow folder called Tcl in the PIT folder that should work on most computers. If you have trouble (Tcl doesn't appear to be working), you can download the Tcl program from the Scriptics website - http://www.scriptics.com/)

The files that you will need are on the CD-ROM in two yellow folders, one marked Pit and the second marked PITimages. There is a third folder marked Pit1 - ignore this (it contains some files that are either redundant or unnecessary and this folder may later be deleted from the CD contents).

Once you have located these files on your CD-ROM you will need to follow these instructions -

1. Minimize this Tutorial page and go to your Windows Explorer program.
2. While in Explorer, create a new folder called PIT on your hard drive (if you have more than one, choose the drive with the most remaining free space).
3. Create a new folder called PIT Images on your hard drive at the same level as PIT.
4. Going back and forth between Windows Explorer and the folders you find on the CD-ROM master list, copy the contents of the CD folder labeled Pit into the chosen hard drive (we will arbitrarily say "C drive" hereafter) folder for Pit you have just made. Do the same for PITimages.
5. The strategy now is to get Pit and PITimages up and running as separate but connected programs independent of the Tutorial. But you may want to keep this Appendix B page 7 handy for further instructions, so minimize it, then go into Explorer.
6. Double Click on the C drive Pit folder. Two second level yellow folders will appear: one marked Doc and the other Programs. Click on the latter. At first, 3 more folders, Pit, Rus, and Tcl, will appear. Click on Pit at the top. A large number of individual file names and folders with various icon symbols will be displayed. Find the file named "pit.bat" (For some, depending on the file manager you use, the ".bat" extension may not be shown and the file type may be listed as an MS-DOS file; if this happens go to the top right of Windows Explorer, choose Folder Options, then View, and a screen appears that includes a line saying Hide File Extensions - if checked, uncheck it, and return to the display containing "pit.bat".
7. You are now ready to install Pit. Double click on "pit.bat". Two Windows will appear - a small 'dirlist' with a blank black field and a large "PIT" also with a black field - as will be discussed on the next page.
8. For convenience, you will likely wish to tie the "pit.bat" execution file to a screen icon. This is done in the usual manner, by using the Shortcut command and dragging to the Desktop. Specifically, click once on "pit.bat" to highlight it in blue. Then using the mouse, right click and you should see a Creat Shortcut option. Click on it and close Windows Explorer. The Icon labeled Shortcut to Pit.bat should be added to your desktop display. Clicking on it will open Pit.

The Pit program when running should automatically seek out PIT images. In addition to the now filled Pit and PITimage folders located on your C drive, there is a need to be sure that the Tcl program is working and connected. For most, the above procedure should be sufficient. It too should function automatically. But, if not it may be necessary to download it using the Internet URL near the top of this page. Here are some tips that may be needed to get Tcl to run properly:

1. Double-click on tcl804.exe to install Tcl/Tk 8.0.
2. Add the following to your system PATH (**) - c:/program files/tcl/bin. The Tcl/Tk 8.0 installation process may ask additional questions depending on how your system is configured. If you already have Tcl/Tk 8.0 (or after installing it), the file "tcl804.exe" can be deleted. This is to make it possible for PIT to find Tcl when you start the program. If you do not set this correctly then when you try to start PIT it will give you an error stating that the file "tcl80.dll" can't be found in the PATH.

The following information was contained in the original write-up by Jeff Love. The present writer (NMS) is not familiar with the implications, so I will live these next instructions as a possible aid to some.

On WinNT, to set your PATH follow these steps:

1. Right click on the "My Computer" icon and then Properties
2. Click on the Environment tab
3. Under "User Variables" click on the PATH line
4. In the Value field near the bottom of the window add the following at the end of the line - ;c:/program files/tcl/bin - make sure you separate the last entry from your new entry with a semi-colon (no spaces)
5. Click "Set"
6. Click "Apply"
7. Click "OK"
8. Run PIT

On Windows 95 follow these steps:

1. Double-click on "My Computer" and then double-click on your system drive (should be C:\ unless you have changed it)
2. Right-click on the "Autoexec" icon and then Edit
3. At the end of the PATH line add the following - C:/program files/tcl/bin - make sure you separate the last entry from your new entry with a semi-colon (no spaces)
4. Restart your computer so your new settings will take effect
5. Run PIT

Finally, there is additional documentation (instructions) on using PIT besides the next pages (B8 through B13). To access it (and perhaps putting it into a folder of its own for handy reference), use the following pathway: Go to the yellow folder labeled "Docs. Click successfully through Docs-->RacDocumentation-->Rac1-->UserManual-->Pit-->and from the long list of files choose "Pit Interpretation Tool.htm". This will bring up a skeletal version of a manual in which the individual parts (pages) are accessed by clicking on the asterisk behind each title.

Nicholas M. Short, Sr. email: nmshort@ptd.net
Jeff Love, PIT Developer (love@gst.com