=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/mail.1,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/mail/mail.1 1998/04/25 00:19:55 1.9 +++ src/usr.bin/mail/mail.1 1998/04/25 00:41:54 1.10 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mail.1,v 1.9 1998/04/25 00:19:55 deraadt Exp $ +.\" $OpenBSD: mail.1,v 1.10 1998/04/25 00:41:54 deraadt Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -115,6 +115,23 @@ .Pp .Dl mail -f /var/mail/user .El +.Ss Startup actions +At startup time +.Nm mail +will execute commands in the system command files +.Pa /usr/share/misc/mail.rc , +.Pa /usr/local/etc/mail.rc , +and +.Pa /etc/mail.rc +in order unless explicitly told not to by using the +.Fl n +option. Next, the commands in the users personal command file +.Pa ~/.mailrc +are executed. +.Nm mail +then examines its command line options to determine whether the user +requested a new message to be sent or existing messages in a mailbox +to be examined. .Ss Sending mail To send a message to one or more people, .Nm mail