CSCI 1300::Software Package Notes


August 2004
Contents:
Description:

This page provides programmer's tools for CSCI 1300 at the University of Colorado. All tools are free and may be used by programmers here or elsewhere. The tools include: Original sources are listed at www.cs.colorado.edu/~main/cs1300/authors.html

 


Exercises for Students:


Notes for Home Installation:

If you are working on your own machine, then download these two files to the top level of one of your hard drives (such as C:) The first of these files is large (over 20MB) and will take about four hours to download with a typical modem. If you prefer, ask your instructor about getting a CD with those two files (so you can then copy those two files from the CD to your C: drive).

Once you have the two files, go to the Start|Programs|Accessories menu. Choose the Command Prompt option, which will open an MS-DOS window. From within this window, type the following series of commands. If you copied the two files to a drive other than C:, then use that drive letter in these instructions:

C:
CD \
unzip cs1300.zip
C:\cs1300\gocs
After running the unzip command, you should have a new directory (called C:\cs1300). You may remove the large cs1300.zip file.

Now the software is installed. In the future, each time you open an MS-DOS window, you need to tell the operating system about the software by running just this one command:

C:\cs1300\gocs

 


Notes for Use in the CU Engineering Center:

If you are working on a PC in the CU Engineering Center, then you don't need to download or unzip any files. Just go to the Start|Programs|Accessories menu. Choose the Command Prompt option, which will open an MS-DOS window. From within this window, type the following command:
H:\cs1300\gocs

 


What the Installation Provides:

After the installation is complete, you can execute any of these commands from an MS-DOS command line:

 


OUT OF ENVIRONMENT SPACE: How To Fix This Problem
Running or installing DOS or Windows tools can sometimes result in the message "Out of Environment Space." This section describes three ways to usually solve the problem.

Method 1: For Microsoft Windows 95/98: You might need to modify the desktop shortcut to Emacs as follows:

  1. Right-click on the emacs shortcut on the desktop, and select Properties.
  2. You probably want to set the Close on Exit checkbox to be set. This will close the extraneous DOS prompt used each time to launch Emacs.
  3. Set the input field under the Memory tab labeled Initial Environment to be 4096.
  4. Click Ok.

Method 2: Changing the DOS Session Properties This method will work if you don't need too much extra space and you are running the tools from the MS-DOS prompt.

  1. Start the DOS session and make sure that it is a window rather than full-screen. If it is full-screen, then press Alt-Enter to change it to a window.
  2. Click on the MS-DOS icon in the top left corner of the window.
  3. Select Properties from the pop-up menu.
  4. Select the Memory tab from the command box.
  5. Click the arrow on the Initial Environment box. Move down in the box as far as possible (by clicking the downward arrow). Click on the biggest number that you see in this box.
  6. Click OK in the command box.
  7. Click OK in the MS-DOS Prompt information box.
  8. Stop the DOS Session by clicking the X in the top-right or by typing the command "exit".
  9. Restart a new DOS session and try running your commands again.

Method 3: Changing the config.sys file This method works for Windows 95. I'm not certain whether it also works for later versions of Windows.

  1. From a DOS prompt, use the edit command to open the file C:\config.sys.
  2. Find a line that begins: shell=...
  3. Within this line, find a parameter that starts /e:... and increase the size of the number after the /e:. For example, I increased mine to /e:4096.
  4. If there was no /e:... on your line, then you can add /e:4096 at the end of the line. If there was no shell= line, then you can add this one:
         shell=C:\command.com /e:4096 /p
    

 


Uninstallation Notes:
To uninstall this software package, simply delete the CS1300 directory from your hard drive.


Michael Main