X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmsgchk.man1;h=ff41dd01246ca48ddf3286b597de24799b6938bf;hp=1b9843b6c0ba16e6573f79f4cc1a68827492e8f8;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=5aaedc4256d58afe2481d667afdcb5162a914ba9 diff --git a/man/msgchk.man1 b/man/msgchk.man1 index 1b9843b..ff41dd0 100644 --- a/man/msgchk.man1 +++ b/man/msgchk.man1 @@ -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 @@ -15,17 +15,18 @@ all/mail/nomail ] all/mail/nomail ] .RI [ users \&... ] -.RB [ \-version ] +.RB [ \-Version ] .RB [ \-help ] .ad .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)