CHECKMAIL(1)

πŸ’Œ checkmail β€” bestie, your mail is ringing

okay so this is the manual for checkmail, from the General Commands Manual section 1, and it's genuinely one of those tiny little programs that does one thing and eats. it checks if you got mail. and then it plays a lil sound. that's it. that's the whole girl. πŸ’…


✨ NAME ✨

checkmail β€” plays a sound file when the user receives mail πŸŽ΅πŸ’–


✨ SYNOPSIS ✨

checkmail

no flags. no arguments. no drama. she just goes. ✨


✨ DESCRIPTION ✨

so the checkmail program checks the status of your mail drop, right? like, she peeks. πŸ‘€ and then depending on what she sees, she does one of three things, and she tells you which one by way of her exit status:

  • if new mail is waiting, checkmail runs playbucket to play a sound, and returns an exit status of 0 🎢🫢
  • if mail has been cleared, she returns an exit status of 2
  • if there has been no change, she returns an exit status of 1

fr fr, that's the entire personality. and honestly? iconic.

the way that checkmail is intended to be used is with the checkCommand resource of xbiff. so if you want xbiff to run this lil cutie for you, you go add this line to your .Xdefaults file:

xbiff*checkCommand: checkmail

and then xbiff is calling her up every time it needs a vibe check. periodt. πŸ’…


✨ FILES ✨

she touches exactly three files and you should know all of them:

  • /usr/spool/mail/$USER β€” the user's mail drop πŸ’Œ
  • $HOME/.mailstat β€” holds the previous mail drop size πŸ“
  • $HOME/.mailsound β€” audio file to play when there's new mail 🎧

✨ SEE ALSO ✨

go read these too, they're the friend group:


Copyright 1994 Network Computing Devices, Inc.


✨ AUTHOR ✨

Greg Renda, Network Computing Devices, Inc. 🫢


okay that's the whole page bestie, no cap. this was checkmail 1.9.4 from the General Commands Manual section 1, and that's the version and the whole vibe, mwah. go check your mail. πŸ’–πŸ¦‹πŸŽ€