1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
<!--
$NCDId: @(#)checkmail.man,v 1.3 1994/06/01 17:37:52 greg Exp $
-->
<!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
<!-- available at http://polyglotman.sourceforge.net/ -->
<html>
<head>
<title>CHECKMAIL(1) manual page</title>
</head>
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
<a href='#toc'>Table of Contents</a><p>
<h2><a name='sect0' href='#toc0'>Name</a></h2>
checkmail - plays a sound file when the user receives mail
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>checkmail</b>
<h2><a name='sect2' href='#toc2'>Description</a></h2>
The <i>checkmail</i> program checks the status of the user's mail drop.
If new mail is waiting, <i>checkmail</i> runs <i>playbucket</i> to play a sound and returns
an exit status of 0. If mail has been cleared, an exit status of 2 is returned.
If there has been no change, an exit status of 1 is returned.
<p> The <i>checkmail</i>
program is intended to be used with the <b>checkCommand</b> resource of <i>xbiff</i>.
To set this resource, add the following line to your <i>.Xdefaults</i> file:
<p>
<blockquote>xbiff*checkCommand: checkmail </blockquote>
<h2><a name='sect3' href='#toc3'>Files</a></h2>
<dl>
<dt>/usr/spool/mail/$USER</dt>
<dd>the user's mail
drop </dd>
<dt>$HOME/.mailstat</dt>
<dd>holds the previous mail drop size </dd>
<dt>$HOME/.mailsound</dt>
<dd>audio
file to play when there's new mail </dd>
</dl>
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='playbucket.1.html'>playbucket(1)</a>
, <a href='xbiff.1.html'>xbiff(1)</a>
, <a href='nas.1.html'>nas(1)</a>
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
Copyright 1994 Network Computing Devices, Inc.
<h2><a name='sect6' href='#toc6'>Author</a></h2>
Greg Renda,
Network Computing Devices, Inc. <p>
<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
<li><a name='toc2' href='#sect2'>Description</a></li>
<li><a name='toc3' href='#sect3'>Files</a></li>
<li><a name='toc4' href='#sect4'>See Also</a></li>
<li><a name='toc5' href='#sect5'>Copyright</a></li>
<li><a name='toc6' href='#sect6'>Author</a></li>
</ul>
</body>
</html>
|