Next: , Previous: Disposing of Messages, Up: Reading Mail


Saving Messages

save [[msglist] file]
s [[msglist] file]
Takes a message list and a file name and appends each message in turn to the end of the file. The name of file and number of characters appended to it is echoed on the terminal. Each saved message is marked for deletion as if with delete command, unless the variable keepsave is set.
Save [msglist]
S [msglist]
Like save, but the file to append messages to is named after the sender of the first message in msglist. For example:
          

& from 14 15 U 14 smith@noldor.org Fri Jun 30 18:11 14/358 The Save c U 15 gray@noldor.org Fri Jun 30 18:30 8/245 Re: The Sa & Save 14 15 "smith" 22/603

i.e., 22 lines (603 characters) have been appended to the file “smith”. If the file does not exist, it is created.

write [[msglist] file]
w [[msglist] file]
Similar to save, except that only message body (without the header) is saved.
Write [msglist]
W [msglist]
Similar to Save, except that only message body (without the header) is saved.
mbox [msglist]
mb [msglist]
touch [msglist]
tou [msglist]
Mark list of messages to be saved in the user's mailbox ($HOME/mbox) upon exiting via quit command. This is the default action for all read messages, unless you have variable hold set.
copy [[msglist] file]
c [[msglist] file]
Similar to save, except that saved messages are not marked for deletion.
Copy [msglist]
C [msglist]
Similar to Save, except that saved messages are not marked for deletion.