LAB 4 Week 5 Sept 30th. 24 pts Name __________________________________ Due at the end of lab Oct 7th. Chp 5 (a little bit of chapter 11 vi) and the Online manual pages for mail. NOTE: For those of you working at Cabrillo please use peabody for E-mail. This will reduce any net traffic on the campus network. The man pages on both peabody and caosunix will be helpful. All questions are worth 1 point each unless otherwise noted. 1) Choose a partner and use the write(C) command to talk to each other. Send at least 4 lines of information. 1a. How did you signal the end of a sentence? ___________________ 1b. How did you signal the end of a conversation? _______________ 1c. What keystroke sent the message ? ___________________________ 1d. How did you exit the write(C) session ? _____________________ 2) Give two reasons why is write of limited use ? __________________________________________________________________ __________________________________________________________________ 3) Why is Electronic Mail (E-Mail) a better tool to use for sending and receiving messages than the write command? 3a. _____________________________________________________________ 3b. _____________________________________________________________ 3c. _____________________________________________________________ 4) Choose a partner and send both yourself and your partner an E-Mail message. They can be both the same or different. 4a. What piece of information do you need to know before you can send someone E-Mail? _______________________________________________________________ 4b. What information is in the mail header or top of the E-Mail message? Don't copy the header I'm looking for a description. ______________________________________________________________ ______________________________________________________________ ______________________________________________________________ ______________________________________________________________ 5) Reply to that E-Mail message. What command did you have to use (from within mail) to do this? _______________________________________________________________ Questions 6 isn't in the book. The answer is in the man pages for mail. Look at the internal variables. Set and unset will help. Remember that "echo >>" and "cat" can be used to create files. Try "mail your_username < /u/ftp/CIS190_Labs/sampleMail" to send yourself mail. Example "set VISUAL=/usr/bin/vi" Note: It's not the answer. 6) Create a .mailrc file to configure mail.(see the online man pages) 6pts To display one screen of text at a time when reading an long piece of E-Mail that is over 20 lines. What does the .mailrc file contain? _______________________________________________________________ 7) What is an E-Mail alias? _______________________________________________________________ 8) Where is your mailbox of *unread* mail located (path) on the system? _______________________________________________________________ 9) What is it's file name? From question 8 above. _______________________________________________________________ 10) If you haven't selected a secret code name to be displayed with your grades, please use E-mail and send your name ( first last) and the code name you wish to use to johng@sodapop.org.