ITEC 1011 A, B
Week 3 Lab Instructions
Sept 28, 29 2000


Objectives:

  1. Learn effective use of Netscape.
  2. Learn how to search for information on the World Wide Web.
  3. Learn how to download a file
  4. Familiarize yourself with the Windows environment (Desktop, File Structure, Applications)
  5. Learn how to use PINE (an E-Mail application)

Tasks:

  1. Finish up unfinished business from last week.

    If you have not done Labs 1 and 2 yet, Do it right now! In particular, you should send an e-mail to the TA's and subscribe to the mailing list. If you haven't done so, go here and finish it up.
     
  2. More detailed use of Netscape

    1. Log on and click on the Netscape icon. Check that the bookmarks you were asked to save last week are still there. If they are not, return to Lab 1 and make sure that you have Set MAYA Login ID to User name.

    2. Searching the Internet on a Subject

      1. Click on the "Search" Button


      2.  
      3. Inside the text box, enter whatever you wish to search for. For this lab, we will be interested in learning about The Simpsons. Enter "simpsons" in the text box.

      4.  
      5. After you press return (or the Go Get it! button), Netscape will display the results of your search.
      6. Click on one of the displayed sites to visit it.

    3. Making a bookmark.

      1. To "bookmark" this site, click on the "Bookmark" Icon, and then click "Add Bookmark"


      2.  
      3. If you click on "Bookmarks" again, you will see the description of the page you were just on.


      4.  
      5. Now, click on the "Home" button to take you to the Gauss Lab Web Page.
      6. If you now click on "Bookmarks", and then click on the description for the page you were just at, you will go back there. This is useful because you don't have to remember, and re-type, long URL's such as: http://www.math.yorku.ca/~mack/ITEC1011-W00/
      7. Don't waste too much time doing Simpsons stuff.


      After you log off your workstation in the Gauss Lab, anything you save on the workstation would normally be removed. This is why it is critically important that you log on properly initially. When you Log off your various bookmarks and preferences, referred to as your "Profile" will be saved to your permanent disk space on the YORKARTS server.

  3. File System Organization:

    As you should already be aware, anything that gets stored on a computer goes into a file. This includes things like documents, pictures, programs (i.e.: Netscape, MSWord etc.), and the computer operating system itself. Files can be stored in different devices such as on a hard disk, a floppy disk, or on the network (really, just a hard drive attached to a remote computer). The "Explorer" program lets you view files, move them around on a storage device, rename them and delete them.
     
    1. Learn how to use Explorer. Note that the screen captures included with this lab differ slightly in detail from what you will see in the Gauss Lab.

      1. Click on the START Button.
      2. Put the cursor on "Programs"
      3. Put the cursor on "Windows Explorer" (Close to the top) and double click.

      4. The left half of the window contains a "directory tree" or the computer. This displays all of the storage devices (Hard drives, Floppy drives, CD-ROMs, network drives, etc.) which are attached to the computer.

      5. Click on (C:) in the left half of the window. This will display all the files contained on that device in the right half of the window.
      6. Click on (F:) in the left half of the window. This is your personal directory on the YORKARTS server where you may store up to 10 megabytes of files.


      7. Each storage device is, by convention, assigned a letter followed by a colon":". This is just a naming scheme that allows you do differentiate between storage devices. There are conventions as to which drive is assigned which letter.

        A: always refers to the 3 1/2" floppy drive on the local machine. (i.e. the machine in front of you, not the server)
        B: usually refers to the 5 1/4" floppy drive on the local machine (if there is one.) Otherwise it may refer to a second 3 1/2" drive.
        C: always refers to the hard drive of the local machine.
        D: or E usually refers to a CD-ROM, if one is attached to the machine.
        F: (and later letters) sometimes refer to network drives.

        These are storage devices accessible over the network such as the YORKARTS server. On the YORKARTS server, F: refers to your personal directory.

    2. File dates, type, sizes, etc.,

      1. Click on (C:) in the left (directory) side of the window. The right side now displays all the files on the computer's hard disk.
      2. Click on "View" in the menu bar.
      3. Put the cursor on "Details" and then click. The right side (file side) of the window will now show more information about the files on the (C:) device. It displays the size, the file type, and the date it was last modified.

      4. The right hand window will now show file sizes (in kilobytes or megabytes), the date the file was last modified, and the file type (is this file a Word document?, a picture?, a text file?, etc.). Windows decides file types based on the filename. Microsoft Word documents always end in ".doc". Notepad (plain text) files end in ".txt". Executable files (Programs and Applications) always end in ".exe" or ".com". If you store a file with the filename "myfile.txt" and then click on its icon, Windows will open it using Notepad.

    3. Understanding Folder Hierarchy.

      The average computer contains about 8000 different files. Rather than having one big list of files to search through, it would be convenient to group according to some convenient method. Windows allows us to create directories. These are the little file folders you see in the Explorer window. They allow us to group various files according to function. For example, I have a directory called "1011_Labs", where I store all the Web Pages while I am working on them. I also maintain a directory for every course that I take. This allows me to find stuff quickly without getting confused by all the system files that really don't concern me as a user. (These system files are files that Windows, and other applications need to run. There are the executables and various initialization files for every application on the computer.)
      Now, we will create a directory called "ITEC1011" in your personal directory (F:).

      1. Click on (C:) to make the file window display all the files and folders on the computer's hard disk.
      2. Click on the "Program Files" directory icon in the left half of the window. The right half of the window will display the contents of that directory. This particular directory contains all the programs which have been installed on the computer.


      3.  
      4. In the Explorer window, click on (F:) to make the file window display the files in your personal directory.
      5. Click on "File" in the menu bar.
      6. Put the cursor on "New" and then click on "Folder"


      7.  
      8. Type "ITEC1011" and press return to change "New Folder" to "Itec1011".


      9.  
      10. There will now be a folder called "ITEC1011" in your personal directory.
      11. If you double click on this directory, either in the directory (left) window, or in the file (right) window, the file window will display the contents of the directory. (This will be empty because you have just created it.)
      12. To go back to the directory you were just in, click it on the directory tree in the left window.

       
    4. Understanding the Desktop

      The "desktop" refers to the icons you see on the green background when every window is minimized. Those icons are actually files in a directory on the hard disk. This directory is usually called C:/windows/desktop (At least in Windows 95/98). If you store a file there, or create a folder there, it will appear on the desktop. It is also the root directory in Explorer. Why are there two desktops? There really aren't two. They both refer to the same directory on the hard disk and are, in fact, the same directory. Let's create a directory on the desktop.
      1. Click on the Desktop Icon at the top of the directory tree in Explorer.


      2.  
      3. You should see everything that is on the desktop in the file window.


      4.  
      5. Create a directory called "MyStuff" using the same procedure as above.
      6. Minimize Explorer by clicking on the "_" icon in the upper right corner.

          You will now see a folder called "MyStuff" on the desktop. If you don't see it, you probably have more windows open. Minimize them all. You can restore any window by clicking on its icon on the "Task Bar" along the bottom of the screen.

       
  4. Download a file using Netscape.

    Some of the web pages you may come across will contain links to files that you will want to keep on your own machine. These might be pictures, documents, Powerpoint files (such as the lecture notes from last Spring), Games, or anything else. Anything you see on the Internet is actually a file on a computer somewhere. Even Web pages themselves are ".html" files which Netscape downloads automatically and displays. What we need is a way of transferring a file to our local machine. This is done through a process called "Downloading". Here is a link to a plain text file called "example.txt". We will download this file into our personal directory on (F:).

    1. Click on the link above using the LEFT mouse button.
    2. Once the page is opened, select Edit, then click on "Select all"
    3. Now select "Edit", "Copy"
    4. Click on the Start button.
    5. Move the mouse pointer to programs
    6. Click on Accessories then Notepad
    7. In the Notepad window, click "Edit"
    8. Now click Paste
    9. The text has now been pasted into Notepad
    10. Click on File then Save As to save in (F:) with filename "example.txt".

    11.  
  5. Copy a file.

    We will copy the file "example.txt" into the "Desktop Directory" on the Desktop.
    1. In the Explorer window, go to your personal directory by clicking (F:).
    2. Select the file "example.txt" in the file window by clicking on it once with the mouse.
    3. Click "Edit" on the menu bar and then select "Copy". You can also do this by right clicking on the selected icon and clicking copy. This is known as a shortcut menu.


    4.  
    5. Now use Explorer to go to the Desktop.
    6. Click Edit on the menu bar and then select "Paste", The file window will now show that file as being in the Desktop.
    7. Minimize all windows and double click on the "Desktop". You should see a file, "example.txt" in the directory.

    8.  
  6. More Detailed Use of Notepad

    1. Opening Notepad

      The Notepad program is a "text editor". This means that it only recognizes standard ASCII text (i.e. No Bold, Italics etc.) It allows you to edit plain text files. Windows automatically thinks that any file which ends in ".txt" is a "text file" and tries to open it with Notepad (provided it is not too large) when you double click on its icon or name.

    2.  
      1. Click on the "Start" button.
      2. Put the cursor on "Programs" and then on "Accessories".
      3. Click on the "Notepad" icon.


      4.  

    3. Learn the file menu. (new, open save as, print, page set-up)

      "Open" tells Notepad which file to edit. We will open the file "example.txt" in your personal directory.
       
      1. Click on "File" and then click on "Open". A window will open, similar to the Explorer window, to let you tell Notepad which file to open.


      2.  

      3. Click on "Look in" (actually, the little arrow to the right of the box).
      4. A directory tree will open up for you to select which directory where the relevant file may be found. Select (F:)


      5.  

      6. You will now see all the ".txt" files in your personal directory. To see other file types, click on the arrow beside the "Files of type:" text box. (This is not important now but file the information for future reference)


      7.  

      8. Double click on "example.txt". The file will then open in your Notepad window.


      9.  

      10. Now that the file is opened, make a small change to it. Type "Blah Blah" or some other text.
      11. To save this modification, click on "File" in the menu bar and then "Save". You will not be prompted to input anything but the file will now have the modification saved on disk. Before you clicked "Save", the modifications you made were not saved. If you quit the program without saving, any modifications would be lost. Thus, save your work frequently. If the system crashes while you are working (and it will) you will lose everything. I recommend saving work every 10 to 15 minutes or after any crucial edit.
      12. To save the current Notepad document under another filename, we use the "Save As" option. Click "File" on the menu bar and then "Save As". You will be prompted to enter a filename.


      13.  

      14. Enter the filename "example2.txt" and press [Return] or click "Save". There will now be another file in your personal directory called "example2.txt". From now on, Notepad thinks it is modifying the file "example2.txt", not "example.txt". If you now just click "Save" to save modifications, they will be saved as "example2.txt".
      15. Use Explorer to verify that both files are actually there.
      16. If you wanted to print this text file, you would click on "File", and then "Print" in the menu bar. You can retrieve your printouts from the print station by following the instructions there. You will need a Copy Card from any campus Library to do it.

      17. It is not necessary to print anything for this lab!

    4. Learn the Edit Menu. (Cut, Copy, Paste, Delete)

      The Edit Menu contains tools for moving around text or deleting text: we will practice this.
       
      1. Text may be highlighted by clicking on it. Then, while holding the mouse button down, move the cursor over the text and release the mouse button. It is best to think of this as a movement FROM a point on the page, TO another point. Anything between these two points will be selected. Do this to the header lines of "example.txt" as shown below.


      2.  

      3. Click "Edit" and then "Delete". The selected text has been deleted.
      4. Now, we want to move around the order in which the three "Title sequence" items are arranged. We want "couch" to be first. Select the sentence beginning with "couch" as above.


      5.  

      6. Click "Cut" from the "Edit" menu. The text will disappear. It is not gone, but stored.
      7. Put the cursor in the notepad. (not the mouse pointer, but the little line '|' where the text comes out) on the line after "Title sequence".
      8. Click "Paste" in the "Edit" Menu.
      9. The text which was "Cut" before will appear where the cursor is.


      10.  

      11. "Copy" is just like "Cut" except that the text will not disappear. Select "Did you notice..." with the mouse and click on "Copy" in the edit menu.
      12. Put the cursor somewhere else in the document and then click "Paste". The text you copied will be inserted. You can "Paste" this text many times if you like.

    5. Learn to use the Search menu. (Find and Find Next)

      The search menu allows you to find any occurrences of a word or sentence in the text. To learn this, we will search for the word "homer" in the text.
       
      1. Click on "Search"
      2. Click on "Find". A new window will appear.


      3.  

      4. Type the word "homer" into the "Find what:" text box and press return.


      5.  

      6. Notepad jumps to the first occurrence of the word "homer"
      7. Click on "Find next". Notepad then jumps to the second occurrence of the word "homer"


      8.  

      9. Click "Cancel" on the "Find" window.
      10. Click on "Find Next in the in the "Search" menu.
      11. Notepad still remembers what you last searched for and jumps to the next occurrence of the word "homer"

      12.  



    Now you know enough to do the assigned task for today. This is intended to demonstrate how to copy from one application to another, and, to ensure that you can follow instructions. Pay particular attention to step viii!

    1. Open both a web browser (Netscape) and an e-mail application (Pine).
    2. Go to the www.ttc.ca, the Toronto Transit Commission Web site.
    3. MOve the mouse over "Service" then "Routes and Schedules" the click on "Bus".
    4. There is a text box there that says "Select a Route and Click Go!". Select "106 York University S" and click "Go"
    5. Click on the line below the box that says "Common Area Local Stop"
    6. The schedule for this stop will appear. Copy the text from and including "Monday Through Friday" to, but not including, "Saturday" (This is done the same way we did it in Notepad.)
    7. Paste this into an e-mail that you will send to ta1011a@mathstat.yorku.ca or to ta1011b@mathstat.yorku.ca depending upon whether you are registered in Section A or Section B.
    8. The subject of this message MUST be exactly in this format:

    9. sept31: lastname studentnumber
      Note that this is all lower case, and there is one (and only one) space after the colon and one space after the lastname. Where you see "lastname" above, Substitute YOUR last name. Where you see "studentnumber" above substitute YOUR student number. Make certain that the mail is sent prior to midnight on Sunday, September 30.
    10. It is very important that you submit all lab work with the subject line exactly as indicated. It allows the ta's to sort the e-mails, and mark them more quickly. If the TA's are kept happy, they are more inclined to generosity.



  7. More Detailed use of PINE

    Do this section on your own time. There is nothing further to hand in but you will find that working through these exercises make e-mail use easier and more enjoyable.
    1. Create an Alias

      Pine has a feature which allows you to store an address book of all your important e-mail addresses. This has the added feature that each entry can be referred to by a nickname. We will create an entry for the "ITEC 1011 TA's", who share the e-mail address "ta1011m@pascal.math.yorku.ca" with the nickname "1011ta".
      1. Click the "E-mail" icon on the desktop.
      2. Enter your yu###### number at the "login:" prompt.
      3. Enter your e-mail password. (I hope you did Lab 1 and remember the Password).
      4. At the "Term (vt100):" prompt, just press enter.
      5. Type "pine" to launch the e-mail program.


      6.  

      7. To enter the address book, press "a".


      8.  

      9. The address book should be empty unless you have already used it. To add an entry, press "@"


      10.  
      11. Type "1011ta" in the "Nickname:" field and press return.
      12. Type "ITEC 1011 M TA's" in the "Fullname:" field and press return.
      13. Leave "FCC:" field blank. (Press Return)
      14. Type "Some really great guys" in the "Comment:" field and press return.
      15. In the "Addresses:" field, type "ta1011m@pascal.math.yorku.ca"
      16. Press Control - X to save this entry. Note that Control - X is abbreviated in the menu at the bottom of the screen as ^X
      17. Press M to go back to the main menu.
      18. Press C to compose a new letter.
      19. In the "To:" field, just type "1011ta" and press return. Pine will automatically insert the full name and e-mail address.

      20. Do not send us this e-mail!!!
      21. The "Cc:" field is used to send a copy of the e-mail to another person.
      22. In the "Cc:" field, enter "mack@yorku.ca".
      23. More than one address can be entered in both the "To:" and "Cc:" fields if you separate each address with a comma.
      24. Normally, you would carry on typing the rest of the message. But, since You are not going to send us this message, Press ^C (Control - C) to cancel.


      You can also make an address entry in which there are multiple e-mail addresses separated by comma's:

      Now, if you type "itec" in the "To:" field, all three addresses will appear.


       

    2. Folders

      After you receive an e-mail, Pine gives you the option of saving it in a "folder" to look at later. By default, there are three folders: "inbox" contains new e-mail messages, "sent-mail" contains messages you have sent to others, and "saved-messages" contains anything you have saved previously. You can view the contents of any of these folders:
       
      1. Go to the main menu of Pine (M)
      2. Press "L" for "List Folders"


      3.  

      4. Select "sent-mail" using the cursor keys and press return.


      5.  

      6. This shows you all the messages in this folder.
      7. Go back to the folder list by pressing "L"
      8. Press "A" to add a folder.
      9. Enter the name "itec" and press return.
      10. A new folder called "itec" appears in the list. We will now save a message in it. Press "L" to go back to the folder list again.
      11. Select "inbox" using the cursor keys and press return.
      12. Select any message and press "S" for save.
      13. Type in the name "itec" as the folder in which you wish to save the message.


      14.  

      15. Go back to the "itec" folder and see that the message is now there.


      16.  

    3. Setup Options

      Pine has many useful options which can be configured through the setup menu.

      The signature is a text file which will be appended to any e-mail you send. You can edit this as follows:

      1. Go to the main menu in Pine.
      2. Press "S" for Setup.
      3. Press "S" again for "Signature"
      4. Type in your signature file.


      5.  

      6. Press ^X to save it and exit.
      7. Press "C" for compose message.
      8. Note that the signature file automatically appears at the end.


      9.  

      Pine also allows you to change how your name appears to people who receive e-mail from you. By default, Dan's name appears as "Daniel Beamish". He doesn't like that because only his mother calls him "Daniel". (Try it, see what he does to you.) Here's how to change it.
      1. Go to the setup menu in Pine
      2. Press "C" for config(ure). A menu will appear showing you options to change.


      3.  

      4. Select "personal name" with the cursor.
      5. Press enter and change the name to whatever you want.
      6. Press enter to save and select "yes" again to commit the changes.
      7. Press "E" to exit setup and select "yes" again to commit the changes.
      8. E-mails from you will now appear From: [Whatever you entered]
      9. Do not change anything unless you understand what it is!!!!

    See you next week!


Disclaimer: Students are responsible for the content of their WWW pages.