NEW(1mh)

πŸ“¦
version 1.8 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, meet the glow-up squad of nmh folder-checking:

  • new β€” reports on your nmh folders that have new messages ✨
  • fnext β€” sets your current nmh folder to the next folder with new messages πŸ¦‹
  • fprev β€” sets your current nmh folder to the previous folder with new messages 🌸
  • unseen β€” scans any new messages across all your nmh folders πŸ‘‘

✨ SYNOPSIS ✨

new [-help] [-version] [sequences] [-mode mode] [-folders foldersfile]

okay and like, the trio are all just new in a little costume, no cap:

fnext is equivalent to new -mode fnext
fprev is equivalent to new -mode fprev
unseen is equivalent to new -mode unseen

πŸŽ€ DESCRIPTION πŸŽ€

so in its default mode, new gives you a one-line-per-folder listing of every folder that contains messages in the sequences you specified β€” or in the sequence(s) listed in the profile entry Unseen-Sequence if you didn't specify any. it's giving very "here's your whole inbox situation at a glance" πŸ’…

each line is: the folder name, the total number of messages in the specified sequences, and a list of messages pulled from the .mh_sequence file. for example:

     foo     11.* 40-50
     bar    380.  760-772 824-828
      total    391.

the * on foo means it's the current folder 🫢 and that last line? yeah that's the total number of messages across the sequences you wanted. iconic.

new crawls the folder hierarchy recursively to find all your folders, and prints them in lexicographic order. wanna override that whole vibe? just hand it a foldersfile containing the pre-sorted list of folders new should check, one per line. easy.

in fnext and fprev modes, new changes to the next or previous matching folder, respectively. and in unseen mode, new executes scan sequences for each matching folder. periodt. πŸ’œ


πŸ—‚οΈ FILES πŸ—‚οΈ

  • $HOME/.mh_profile β€” the user profile πŸ“

🌈 PROFILE COMPONENTS 🌈

  • Path: β€” to determine the user's nmh directory.
  • Current-Folder: β€” to find the default current folder.
  • Unseen-Sequence: β€” the name of the unseen message sequence.

πŸ‘€ SEE ALSO πŸ‘€


okay bestie that's the whole page πŸ’– this was nmh-1.8, dated 2009-01-17 β€” go forth and check those folders, you got this πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from