System notes



unix-mail-lessons

Version date: Thu May 24 14:28:12 EDT 2012

Some tips for UNIX mail (ucb mail)

*- when someone sends a message that is longer than one screenfull, you
will get a message at the bottom of the screen that says -more- or
-stdin-. To see the next page of the message press the spacebar,
or to see only the next line press return.

(this assumes you have crt=23 in your .mailrc)

*- there are two ways to exit from mail. They are with "x" and with "q".
The normal way to exit is with "q" for quit. Any messages that you
have read but not deleted will go into a file named "mbox" in your
home directory. You normally want to delete the messages you have
read so they will not pile up in the mbox file.

*- The alternate way to exit is with "x". If you exit with "x", it is as
if you had not read your mail at all. The next time you read mail, all
the messages will still be there even though you may have read some of them.
Usually the only time you would do this is if you get interupted and can't
remember which ones you read, which ones you didn't, etc.

*- To delete a message, after you read it type a "d". Then when you leave
mail with the "q" command, that message will be gone forever.

To print a message you have to first save it to a file and then print the
file after you get out of mail. To save a message to a file, type "s"
followed by a space, then the name of the file you want to save it to.
For example: Suppose you get into mail and you see that you have a message
from Tom Sudkamp:

mail
1 tsudkamp Wed Sep 14 15:26 13/385 "please help"
&

you would read the message by typing the number of the message to read:

&1

then save it to some file name, say "tom"

&s tom
"tom" [new file] 86/3333

observe message that the file was created.
You can then delete the message from mail since you have it in a file.

&d

and exit

&q

and you will return to your UNIX prompt. Assuming you are on kiwi:

[kiwi]>

from here, you can send the file to a printer. The printer in the CS
office is named "ln0" (that's a zero) so to print type the name of the
printer followed by the file name:

[kiwi]>ln0 tom
Sending printout to room 303 Russ Center.




Please read The Standard Disclaimer regarding information found in these pages.

To return to the top of the Corcoran document archives Click Here

If you came here directly from a search engine, and would like to view these pages in the proper frames from the top, Start Here

Or start at the very top of Mike Corcoran's home page