CS 205 Xterm Lab Intruction and Use of MATLAB
Jan. 27, 1998

Dr. Kris Stewart (stewart@rohan.sdsu.edu)
Put cs205 as first phase in mail header
San Diego State Univeristy

Task Zero (logon to the Xterm)

When in the Xterm Lab (BA113 or BA110 or other Xterm labs) see an entry on the upper left hand corner of the screen called NCD User Services: Console . Use the mouse to move the cursor to the Login entry and press and hold the left mouse button to allow you to select Login New X Session . Release the mouse button and give the terminal a little time to "do things" and you should then have a window open labelled NCD User Services: Login Chooser . Use the mouse to move the cursor to the entry

rohan

and "double click" with the left mouse button. The screen will clear and a new window will open that will prompt for your Login: and Password: . The accounts for this class have been customized by me to open several windows (xterm windows) for you right away.

Your class account is set up with an "Xterm" window, a minimized "Xterm" windows, and two clocks. The Xterm window has the prompt rohan.mascXXXX, where mascXXXX is your class account. The minimized Xterm window can be activated by double clicking (with the left mouse button) on its Icon.

Task One (a little UNIX) Perform this task in an Xterm Window

Change your password:
In an Xterm Window at the UNIX prompt, type
passwd
You will be asked for your current password and then asked for the new one. It should be at least 6 characters long and include at least onek upper case letter (A-Z), digit (0-9) or punctuation character (such as . , or -). It should not be a word easily found in the dictionary.
Change your finger:
In an Xterm Window at the UNIX prmopot, type
chfn
and change your identity to the system from being "Generic Account" to be your name.

Task Two using Netscape Navigator

In an Xterm window, at the UNIX prompt type
netscape&
  1. Set the home page to be rohan (Options/Preferences/Window and Link Styles - fill in http://rohan.sdsu.edu
  2. Open the location for this courses notes (File/Open Location) http://www.stewart.cs.sdsu.edu/cs205/
  3. Save this link as a bookmark (see toolbar for Bookmarks)

    (updated) Task Three [using pine] - start in an Xterm window


    Task Four- Using MATLAB


    1. In a Xwindow, start up MATLAB by typing

      matlab

      at the UNIX prompt. You should have both the Netscape Navigator and MATLAB running at the same time in two different windows. Experiment with dragging the mouse across your screen and seeing how the colors change.

    2. Within MATLAB, type

      demo205

      at the MATLAB prompt >>

    This will be our introduction to the "language" of MATLAB.

    Task Five - Explore UNIX

    You might find the following document useful: