Rest of the MMDF-style mail drop support removal.
[mmh] / man / msgchk.man1
index 1b9843b..1b58ee5 100644 (file)
@@ -3,7 +3,7 @@
 .\"
 .TH MSGCHK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
-msgchk \- check for messages
+msgchk \- check system mail drop for messages
 .SH SYNOPSIS
 .HP 5
 .na
@@ -21,11 +21,12 @@ all/mail/nomail ]
 .SH DESCRIPTION
 The
 .B msgchk
-program checks all known mail drops for mail waiting
-for you.  For those drops which have mail for you,
+program checks your system mail drop for mail waiting
+for you, or the given users.
+If the requested users have mail,
 .B msgchk
 will
-indicate if it believes that you have seen the mail in question before.
+indicate if it believes that they have seen the mail in question before.
 .PP
 The
 .B \-notify
@@ -67,13 +68,26 @@ switch directs
 .B msgchk
 to print out the last date mail was read, if this can
 be determined.
+.PP
+If
+.I users
+are given, then
+.B msgchk
+will only check the default system mail drops.
+Otherwise,
+.B msgchk
+will evaluate the environment variable
+.I MAILDROP
+and profile component
+.I MailDrop
+(in this order) first and, if they are set and non-empty,
+checks that mail drop instead of the system default mail drop.
 
 .SH FILES
 .fc ^ ~
 .nf
 .ta \w'%etcdir%/ExtraBigFileName  'u
 ^$HOME/.mmh/profile~^The user profile
-^%etcdir%/mts.conf~^nmh mts configuration file
 ^%mailspool%/$USER~^Location of mail drop
 .fi
 
@@ -81,10 +95,18 @@ be determined.
 .fc ^ ~
 .nf
 .ta 2.4i
-.ta \w'ExtraBigProfileName  'u
-None
+.ta \w'ExtraBigName  'u
+^MailDrop~^Supersedes the default mail drop location
 .fi
 
+.SH ENVIRONMENT
+.fc ^ ~
+.nf
+.ta \w'ExtraBigName  'u
+^MAILDROP~^Highest priority alternative mail drop location
+.fi
+
+
 .SH "SEE ALSO"
 inc(1)