CS/CE 218 Lab 3 12 September 1991 PUT YOUR NAME HERE TA: PUT YOUR TA's NAME HERE The report for this lab is due 13 September 1991 (tomorrow). Your report should be produced by editing this file, filling in answers to the questions below each question. When you are done, make a *printout* of your report. This lab is about using the "write" command to communicate with other people who are logged in. For example, you can write to a friend in the class who isn't answering mail and is dialed up over the phone. (See section 5.1 in Introducing Unix System V or the manual page for write.) 0. Make a copy of /home/cs218/public/homework/lab3.txt in your (home) directory. Read the file lab3.txt. Fill in your name and your TA above. 1. (1 pt) Get a partner, preferably someone sitting next to you. (If you can't find anyone else, get a TA to be your partner.) Once that person has agreed to be your partner, find out your partner's Unix login id (account name, something like cs218a??). What is your partner's login id? 2. (5 points) Use the command "write" to talk with your partner. Without talking out loud, find out from your partner his or her: a. full name b. major (e.g., computer science, computer engineering, ...) c. what town and country they are from (e.g., Royal Oak, Michigan, USA) d. their personal TA e. what they think of the class. It may be helpful to work out a system where you always know who's supposed to talk next. Try to do this without talking about it out loud or using gestures. One protocol is to use a line with only an "o" on it to mean "over to you" (i.e., your turn to say something); another protocol is to use a completely blank line to mean "I'm done." 3. (1 pt) Exit the "write" command. What did you do to exit? (Hint: it should *not* be ^Z).