X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmsgchk.man1;fp=man%2Fmsgchk.man1;h=1b9843b6c0ba16e6573f79f4cc1a68827492e8f8;hp=0000000000000000000000000000000000000000;hb=5aaedc4256d58afe2481d667afdcb5162a914ba9;hpb=2676fdf95667cfa0fec45372dbb956c8645c1119 diff --git a/man/msgchk.man1 b/man/msgchk.man1 new file mode 100644 index 0000000..1b9843b --- /dev/null +++ b/man/msgchk.man1 @@ -0,0 +1,99 @@ +.\" +.\" %nmhwarning% +.\" +.TH MSGCHK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%] +.SH NAME +msgchk \- check for messages +.SH SYNOPSIS +.HP 5 +.na +.B msgchk +.RB [ \-date " | " \-nodate ] +.RB [ \-notify +all/mail/nomail ] +.RB [ \-nonotify +all/mail/nomail ] +.RI [ users +\&... ] +.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, +.B msgchk +will +indicate if it believes that you have seen the mail in question before. +.PP +The +.B \-notify +.I type +switch indicates under what circumstances +.B msgchk +should produce a message. The default is +.B \-notify +.I all +which says that +.B msgchk +should always report the status of the +users maildrop. Other values for `type' include `mail' which says that +.B msgchk +should report the status of waiting mail; and, `nomail' +which says that +.B msgchk +should report the status of empty maildrops. +The +.B \-nonotify +.I type +switch has the inverted sense, so +.B \-nonotify +.I all +directs +.B msgchk +to never report the status of +maildrops. This is useful if the user wishes to check +.BR msgchk 's +exit status. A non\-zero exit status indicates that mail was +.B not +waiting for at least one of the indicated users. +.PP +If +.B msgchk +produces output, then the +.B \-date +switch directs +.B msgchk +to print out the last date mail was read, if this can +be determined. + +.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 + +.SH "PROFILE COMPONENTS" +.fc ^ ~ +.nf +.ta 2.4i +.ta \w'ExtraBigProfileName 'u +None +.fi + +.SH "SEE ALSO" +inc(1) + +.SH DEFAULTS +.nf +.RB ` user "' defaults to the current user" +.RB ` \-date ' +.RB ` "\-notify\ all" ' +.fi + +.SH CONTEXT +None