CSC 101 CompLit, Fall 1996
Merrie Bergmann
Ileana Streinu
Dominique Thiébaut

Lab 1

Thursday, September 5, 1996

Part 1: Mac Tour

Part 2: Log on to the File Server

Part 3: Logon to Sophia and send email

Part 4: Using Netscape

Part 5: Wrapping up


This lab consists of four major parts and a wrap up. All are fairly easy and it might not take the entire two hours. You may leave whenever you are finished (for this and all subsequent labs) or start on your homeworks.

The most confusing aspect of this lab is keeping straight which parts of the campus local area network you are using. In Part 1 of the lab, you are working on a single Mac in the lab (left in drawing below). In Part 2 you connect to the file server (middle in drawing below). In Part 3 you connect from the server to the UNIX machine Sophia (right below). In Part 4, you will again connect to "cs", but this time using a program called "Netscape." We'll be explaining these network connections throughout the semester. Try to keep this picture in mind as you work through the lab.

Part 1: Mac Tour.

In this part you use the Mac as a "stand-alone machine," which is increasingly rare these days. (Usually you will connect to a server over the network.) Please do this part even if you are already familiar with Macs. Either alternate turns at the keyboard for different sections, or have the least-knowledgeable partner at the keyboard.

1.0. Power-on the Mac if it is not already turned on (triangle button in upper right corner of keyboard). Obey any directions that appear on the screen (e.g., "Select Quit from the File Menu").

1.1. Open the Macintosh HD (hard drive) by double-clicking on its icon, which is located in the upper right corner of the desktop and looks like a rectangle with a small dot in the corner. This will reveal a window with several folders.

1.2. Open the Applications folder by double-clicking on its icon. This will open another window. Double-click on the Tutorial Programs folder. Inside the new window, double-click on Learn to Use a Mac.

1.3. Launch Macintosh Basics by double clicking on its icon.

1.4. Go through the entire tour. Take your time, and feel free to ask questions if you don't understand something. In general you are responsible for learning this material on your own. I will ask some questions on it in the homework. Spend no more than an hour on it in the lab. Come back to it on your own time later if you don't finish. Make sure you alternate turns at the keyboard.

1.5. When you quit Macintosh Basics, close all the windows previously opened (by clicking on the upper-left boxes of those windows).

Part 2: Log On to the File Server.

In this part of the lab, you will log on to the Seelye server, which is one of several dozen "file servers" on campus accessible over the local area network (LAN). Once connected, one can use all the files on the server. We will just look at three, and do essentially nothing with them. This is just practice. If it will help you to remember the material from the Mac tutorial, feel free to turn on the "Balloon help" feature (under the "?" menu in the upper right of your screen); you can always turn it off again when you don't need it anymore.

2.1. Under the Apple icon (at the far left of the menu bar) select "Login Seelye."

2.2. This will bring up a "dialog box" asking for login information. Everyone in the class will use the same user name and password for the Seelye server.

2.3. For "Name," enter the class account name: CSC101 (upper or lowercase). If there is already a name present in that window, you will have to delete it first, by clicking after it to get the edit bar into the window and then hitting the "delete" key a few times. After you have entered CSC101, hit the tab key (this moves the edit cursor into the password window).

2.4. Enter our password: ******.

2.5. Click the mouse on the word "OK" (or hit return).

2.6. The login window should disappear and a window named Seelye.Mac appears. Close this window, and the Seelye server icon should appear on the right side of your screen/desktop.

This completes the login procedure. (It seems simple now but experience says that some of you will not know how to do this next week!) Successful login is indicated by the presence of the Seelye icon (which looks like a little filing cabinet) on the right side of the screen. You are now logged into the server over the network, and can therefore access the files on the server's disks, which include all the application programs (such as HyperCard and Word).

Just so you get some experience moving around on the server, do the following:

2.7. Open the server icon, open the SeelyeCourseware folder, open the Literacy folder, and find the folder called "Dropbox." You may have to scroll the window to find it. This is where you will deposit your homework for the first part of the semester.

2.8. Find the "Dinosaurs" stack icon in the same Literacy window. Launch it by double-clicking. You are now running HyperCard. Browse around in here a bit; this stack is "locked" to prevent you from accidentally making any unintentional changes, so you can experiment freely with it.

2.9. Choose File/Quit HyperCard when finished.

Part 3: Logon to Sophia and send email.

Log on to the UNIX machine Sophia.

3.0. Stay logged on to the Seelye.Mac server.

3.1. Close the windows you opened in Part 2.

3.2. Check under the "Applications" menu (pull-down from the rightmost icon on top bar) to see if you are running any applications besides the Finder. If so, select them, and choose Quit from the File menu.

3.3. Find the Telnet program in the top-level Seelye.Mac folder. Its icon looks as shown (except the current version number is 2.6).

3.4. Get Sophia accounts from me. Your username will be something like cs101a34; sorry for the impersonality of this! Both partners should get their own. You will use this throughout the semester.

3.5. Launch telnet (double-click), select File/Open Connection and log on to Sophia. This is accomplished by typing sophia in the "Session name" box; the "Window Name" field is there just to make it easier to tell several windows apart, so you can for example type the first name of the partner who's Sophia account you will be using. Clicking "Connect" should now bring up a prompt for a username. (If this does not work, try typing sophia.smith.edu for the session name.) The Telnet program is not "user-friendly"; you'll have to get used to interpreting "session name" as the machine name.

3.6. Type your username (e.g., cs101a34. Note that the UNIX operating system is "case sensitive," so for Sophia it matters whether you type upper or lower case. You will do this part separately for each account, but it does not matter which one you do first. When it prompts for a password, type your given password. (It will not echo for security.) You are now logged into Sophia. You should see a "prompt" that looks like: {sophia} %. Sophia is now awaiting UNIX commands.

3.7. There is an unfortunate problem with Telnet that we should correct now. Each program uses the special "control" characters for special tasks. Telnet uses ^C, control-C (control key down, then c) and so does the mail program. But because Telnet uses it, the mail program never sees it. So we'd like to change that. Under the menu item Session, choose Setup Keys..., and you will see ^C highlighted in a box (if not, it's already taken care of). Just hit the delete key. This erases the specialness of ^C for Telnet and so permits it to be used for the mail program. Unfortunately you will have to do this every time you use Telnet. (And many times you might forget.)

3.8. If you're working with a partner, open a new telnet connection for the other account. You do this by selecting File/Open Connection again, and following the rest of steps 3.5 through 3.7. Since telnet is already launched, you get a separate window for this second "session."

First I would like you to change your "finger" information so that your account name has your real name associated with it (if you do it right, you should only have to do this once for the entire semester):

3.9. At the %-prompt, type chfn. This will prompt you for your name. Please type in your first and last name as you like to be known to me. You will find UNIX very user-unfriendly; you will have to guess the meaning of most of its commands. "chfn" stands for "change finger". If you're working with a partner, repeat the same for the second account (in the other window).

3.10. Again at the %-prompt, type finger. Once the change you made worked, you should see your name among the list of those logged on to Sophia. Note that it may take a few minutes before the updated information will show.

Now you will send electronic mail first to yourself and then (eventually) to me. This is a bit tricky, but we will use this throughout the semester and you'll get more and more proficient at it.

3.11. We are going to use an email program named "pine." It is started by typing the word pine at the %-prompt. You will be presented with a special screenful of information for first-time use. When it asks if you "request document?", answer n for no (lowercase suffices).

3.12. Get into "Help" with ?, and scan through a few pages of help by hitting the space bar (you don't have to read this carefully). Notice that the instructions at the bottom of the screen explain your options at any point within pine. For example, Spc = NextPage, i.e., hitting the space bar gives the next screenful of information. Exit Help. Figure out how using the information at the bottom of the screen.

3.13. Initiate "Compose" with c (lowercase suffices here and throughout pine). Send it to yourself and/or your lab partner (e.g., cs101a34). To send to more than one person, separate addresses with a comma. You can leave the "Cc" and "Attachment" lines blank. The "Subject" line is for a few-word summary, used for filing by the recipient; try to choose something that will make sense to the recipient without having to read the entire message. Use the arrow keys to navigate around. Test out some of the editing commands. The pine notation ^K means "control-k": hit k (lowercase) while holding down the control key. (The cancel command ^C will only work if you have successfully executed Step 7 above.)

3.14. Send your mail when finished with ^X. You will see the message "Message sent and copied to sent-mail", which indicates success. You will be placed back at the main menu level. Your (or your lab partner's) window will also flash with a notification of mail received that will go by too quickly to read.

3.15. If your screen gets messed up at any time, you can redraw it by hitting control-L.

3.16. Back at the main menu level, quit pine. You should get the %-prompt. We are quitting pine so we can get back in and read the mail you sent yourself. (The more patient can just stay inside pine and wait for notification; this might take two minutes. If you sent mail to your lab partner, you can just start up pine in the other window.)

3.17. Restart pine (Step 3.11 above). Read your mail, starting with the Folder Index command, I. (I know it doesn't make much sense, but it might later.) Delete your mail (look at the commands at the bottom of the screen).

3.18. Exit pine again. Type logout at the %-prompt to disconnect from Sophia.

3.19. Choose File/Quit to quit Telnet.

Part 4: Use Netscape to Visit the Class Web Page.

You've probably heard about the World-Wide Web. For this part of the lab, you'll run a "browser" program named Netscape and visit a few "home pages" (Smith College's and our own class home page). Warning - we have had problems in the past with everyone in the lab starting up Netscape at the same time, so we might have to stagger access.

4.0. Stay logged on to the Seelye.Mac server.

4.1. In the Seelye.Mac folder, open the "Internet tools" folder and double-click on the "Netscape 2.0" icon.

4.2. It may take a minute for the screen to "settle down" (wait until the "meteor shower" in the upper right corner has finished). You should then have the Smith College Home Page on your screen (and the location box should say http://www.smith.edu/).

4.3. Hunt around on this page (using the scrollbar) until you figure out how to do a search for a person's phone number. Look up you and your partner.

4.4. Figure out how to find my (Ileana's) home page, going from link to link. Remember I am in the Computer Science department. Find the class home page from there, the syllabus, then the schedule, and from there a copy of the lab. When you have reached the lab 1 handout, look into the "location" box. It contains the web address of this document. Write down the address. I'll be asking you to email it to me in a short message(see below).

4.5. When you are finished with Netscape, exit by selecting the File/Quit menu item.

Part 5: Wrap Up

Send mail to me at cs101a00:

5.1. This time, before sending the message, type your own and your lab partner's (if any) email addresses separated by a comma (cs101axx,cs101ayy) on the line beginning with Cc. Cc stands for "carbon copy" and means that a copy of the message that you send to the address specified after "To" will also be sent to the address specified after "Cc".

5.2. Use "Lab 1" in the subject field. You should always make sure to use a subject that makes it easy for the recipient to get an idea of what the message is about.

5.3. In the message, tell me who you are (please do this always, using full names!), and both of your cs101axx accounts (not the passwords!).

5.4. Tell me the web address of the lab 1 document you found from the class home page, and how and whether you survived Lab 1.

5.5. Also, answer the following questions in your message:

  1. When you are running Netscape, are you using your local Mac, the Seelye server, or Sophia?
  2. (a) When sending email with pine, which machine is running the pine program? (b)What is the account you used to log on that machine?
  3. (a) When browsing the "Dinosaurs" HyperCard stack, which machine is allowing you to access the stack? (b) What was the account you used to log on that machine (if any)?
  4. (a) Did you need any account name/password to perform the MAC tour? (b) If yes, what was it? If not, why weren't any necessary?

5.6. Receipt of this mail by me indicates successful completion of the lab. If you should mistype the address or otherwise send it to the wrong place, it will be returned by the mail system. (There's no other way for you to find out if it was received.)

5.7. When you are done with pine, repeat the quit / logout / quit Telnet procedure from part 3 of this lab.

5.8. Check under the "Applications" menu (pull-down from the rightmost icon on top bar) to see if you are running any applications besides the Finder. If so, select them, and choose Quit from the File menu.

5.9. Drag the Seelye.Mac icon to the trash to disconnect from the server.

That's it. There is nothing to turn in for this lab! If I get that email message, you've completed the lab satisfactorily.


Last modified September 18, 1996.