Solutions for Working on CSc352 Homeworks At Home


  1. You have a Windows machine at home
    1. You want to work on lectura
      1. Text-based Terminal Environment
        Download a copy of the UofA licensed SSH Shell from https://sitelicense.arizona.edu/ssh/ssh.shtml and install it on your Windows machine.
        Connect to host lectura.cs.arizona.edu with your CS login name and password.
      2. X-Win GUI Environment
        Download a copy of the UofA licensed eXcursion (X Server) from https://sitelicense.arizona.edu/excursion/excursn.shtml and install it on your Windows machine.
        Start the eXcursion.
        Start your SSH Shell and following the instruction to configure your SSH tunneling for X Window.
        Login onto lectura.cs.arizona.edu and then you can run any X application (e.g. xemacs).
        But this might be very slow. (VNC might be faster. If interested, you can try it. Take some time and read the manual on VNC website to install and use it.)
    2. You want to work on your own machine
      Option 1:
      Develop your program in your favorite IDE (Visual Studio, C++ Builder, etc.)
      Option 2:
      Download a copy of the open source Cygwin at http://www.cygwin.com/ and install it on your Windows machine (besure to install the Program Development packages, such as gcc, emacs, etc.).
      Start Cygwin shell by clicking on the Cygwin icon or shortcut.
      Then you are in a Linux-like system on Windows. You could even install FreeX86 server to get X-window environment.
      Please refer to the Cygwin documents for more details.
  2. You have a Linux Machine at home
    1. You want to work on lectura
      Just type "ssh -X lectura.cs.arizona.edu" in a terminal to login onto lectura with your CS login ID and password. "-X" option will ask the SSH to setup the X11 tunneling (forwarding) automatically. You should not set DISPLAY or authorizations any more.
    2. You want to work on your own machine
      No special things needs to be done.

PS:

Please be noticed that if you work on any other environment other than lectura.cs.arizona.edu, please test it on lectura one or two days (or even more) before you turnin to make sure your program works the way you expect on lectura. This is because different UNIX enviroment may has different release of program development packages (gcc, C standard library, etc.), and thus the program developed is not necessarily compatible with lectura. Please remember that all gradings are done on lectura, unless specified explicitly. Even your program works perfect on your own machine, if it doesn't produce the expected answer on lectura you will get points off! So port your program developed on your own machine to lectura and make sure it works correctly on lecutura before turning in.


CSc 352 Spring04
08/28/03: Created by Stanley Yao
01/04/04: Modified by Stanley Yao