CS 261 Additional Materials

Schedule

Office Hours

Textbooks

Course Outline

Grading

Demonstrations

Sample Code

Assignments

Students' Work

Viewgraphs

Additional Materials

Related URLs

Archived Mail

Home

[Creating Screen Dumps on a Windows Machine]
[Creating Screen Dumps on a Mac]
[Creating Screen Dumps on a Unix Machine]
[FTP Program for a Windows Machine]
[Free Java Integrated Development Environment]
[Simplest Text Editor on Unix]
[Files Useful for Learning and Using EMACS]
[C Shell Initialization File]
[Accessing Class Files from a Mac in CS Student Laboratory]
[Creating a Symbolic Link]
[]


Creating Screen Dumps on a Windows Machine

A shareware program called ScreenCapture can be used to create screen dumps. This program is small, about 120K. By Using this program you can capture the entire screen or a window specified. It will also allow you to adjust the size of the captured image. You can capture even a window that does not fit on you desktop by adjusting the size. This is all what I heard. Try it out yourself.

It also helps to have a good picture viewer that lets you view any kind of file. The one that works best for Win 95 or NT is one called ACDSee32

After you have installed the software 'CaptureEze97' there should be a shortcut to the software on your desktop (assuming that you are using win95). When you wish to capture a screen or window, simply double click on this shortcut to opent the application. However, this simply begins the process.

After opening the application, you will be asked first to 'continue evaluation' (click on that button). The next window will inform you of your trial period status (e.g. you have x number of days left) and asks you to click on 'OK'; do that. The following window has a list of options and is titled 'What would you like to do?' Here you are offered the option of printing your screen capture immediately, saving the image to disk immediately, or editing your image before saving or printing, etc. Most of these are self-explanatory. I happen to use the first choice available on the list: edit and enhance image before printing or saving.

To avoid having to do this every time you use CaptureEze, you should consider what you will want to do in any situation. Choose the appropriate choice and then select the radio button in the lower left hand corner so that when you start CaptureEze again, it will start automatically (don't worry, you have control over when you will capture). After you have made your decisions, click on the 'Next' button.

Now you are offered the opportunity to select your capture area (e.g. the entire screen, one window, one client area). All of these options are diagramed to the left of the screen as you select your option. There are two 'sub windows' toward the bottom of this window. Ignore the one on the right labeled 'Delay and Repeat Options'. You should, however, change your capture options from the character string 'print screen' to something else, perhaps one of the function keys (I have changed mine to F4, and that seems to work well). I have also selected to hide the CaptureEze icon. After you have made all of your choices, click on the 'Activate' button. All this does is reduce the CaptureEze window to the tool bar in win95 (typically at the bottom of the screen).

You are now ready to 'capture' your screen. Simply type in the character string or hit the key you have designated when you changed the Hot Key in the Capture Options subwindow (mine is F4). If you have selected to capture the screen, just be sure that the window(s) that you want to show are visible, and hit your Hot Key; if you have selected to capture the active window, simply activate the window you wish to capture then hit your Hot Key. When you do this you should see the portion of the screen you wish to capture change colors evenly downward.

If you want to change your options at any time, simply open CaptureEze from the tool bar, and you will 'start over' from the begining. The program saves images as .bmp files that can be viewed in MS Paint, or with just about any picture viewer. Files are saved to the CaptureEze directory created during installation unless otherwise specified.

Another method for Windows 95 is to use the Alt + Print Screen keys to copy the image of the open window into the clipboard. Then you can use any graphics program to edit and print the image. The Paint program of Windows works fine. For Windows 3.1, there are shareware programs that do the same function as the Alt + PrintScreen keys, and for DOS, simply hitting the PrintScreen key will print the entire screen.

Some students used Paint Shop Pro, which is shareware. The site from which you can download the latest version of Paint Shop Pro is located at http://www.jasc.com. PSP is shareware, however, it has a protection that disallows users who download the trial version to access the program after a period of 30 days. This protection works even if you uninstall PSP, re-download the software, and re-install it on your system.




Creating Screen Dumps on a Mac

To do a screen dump on a Mac, you have to press apple + shift + 3. The file containing the screen dump is placed on the desktop. Then you must edit the picture to get the part you want, instead of the entire screen. Click on graphics and then pick Adobe Photoshop 3.0.5. The picture of the screen dump will appear, and then you can modify it to make it smaller or larger before you print it.




Creating Screen Dumps on a Unix Machine
  1. Activate the xv program by issuing Unix command xv.
  2. Press the right mouse button within the xv window displaying red fishes.
  3. Press Grab button in the new window titled xv controls.
  4. Specify the delay of 3 to 10 seconds and the AutoGrab mode in the new window titled xv grab.
  5. Move to the cursor to the window to be captured, and wait for a beep. With the beep, the captured content of the window will replace the fishes in the xv window.
  6. Press the Save button in the window titled xv controls.
  7. In the window titled xv save, select Postscript for Format and Greyscale (sic) for Colors, and provide the file name for the postscript file storing the screen dump image.
  8. You can adjust the size and location of the image to be printed with the controls displayed in the window titled xv postscript.
  9. Send the postscript file created to a printer with the Unix command lp.



FTP Program for a Windows Machine

WSFTPallows to transfer a whole file structrue from one machine to another. WSFTP is located at http://www.keyscreen.com/KeyScreen(s)2/wsftp.htm.




Free Java Integrated Development Environment

The Grinder is a wonderful Java IDE for a PC according to montviad@engr.orst.edu. It is freeware offered by Tpex. It can be obtained from: http://www.tpex.com/


Simplest Text Editor on Unix

The text editor easiest to learn on Unix is pico. It supports basic commands of emacs. If you learn how to use pico, you can later switch to emacs, which is a much more powerful text editor. To activate the pico text editor, issue the Unix command pico.


Files Useful for Learning and Using EMACS

Tutorial After saving this file, issue the Unix command
"../cs311/emacs emacs.tutorial".
Commands List of EMACS commands.
Tutorial Pandy An EMACS tutorial created by Rajev Pandy. After saving this file, issue the Unix command
"../cs311/emacs tutorial.rpandy".
Initialization File You can customize EMACS with the file .emacs stored in your home directory. The EMACS commands stored in this file are executed when you start EMACS. You may copy the instructor's .emacs file from directory ~minoura.



C Shell Initialization File
File .cshrc You can customize csh or tcsh with the file .cshrc stored in your home directory. The c-shell commands stored in this file are executed each time csh or tcsh is started. If you mess up with your .cshrc file, you can get clean copies of the dot (.) files with the Unix command getdotfiles. The files copied by this command are stored in /usr/local/lib/inits. After you get a new copy of the .cshrc file, activate another xterm window to test it.



Accessing Class Files from a Mac in CS Student Laboratory

The files located in your home directory on the ENGR machines can be accessed as follows.

  1. Go to the Chooser on a Mac and go to the "College of Engineering" zone. The Chooser is located under the Apple menu in the upper left-hand corner.
  2. Click the Appleshare icon, and then from the list of the servers that appears, double-click on the one labeled engr.
  3. Now login with your ENGR login name and password. Your ENGR home directory will then be mounted on the desktop of the Mac.



Creating a Symbolic Link

To make Web-accessible the files stored in directories that are not under public_html, create a symbolic link in directory public_html.

  1. Change the current directory to ~/public_html with the Unix command cd ~/public_html<>, and create a symbolic link to directory ~/cs261 with the Unix command "ln -s ~/cs261 .".
  2. Then your directory ~/cs261 can be accessed with the URL http://www.cs.orst.edu/~your-account-name/cs261.