PREV(1mh)

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

πŸ’– PREV πŸ’–

okay bestie, so this is prev from the nmh manual, section 1mh β€” and it's literally the cutest little time-travel button for your mail. let's get into it πŸ¦‹


✨ NAME ✨

prev β€” show the previous nmh message 🌸


πŸŽ€ SYNOPSIS πŸŽ€

prev [-help] [-version] [+folder] [-showproc program] [-showmimeproc
     program] [-header | -noheader] [-checkmime | -nocheckmime]
     [switches for showproc or showmimeproc]

πŸ’… DESCRIPTION πŸ’…

so prev does a show on the previous message in whatever folder you specified (or the current folder, if you didn't specify one). iconic behavior honestly.

and like show, it just passes any switches you throw at it straight on to the program named by showproc or showmimeproc β€” that's the program that actually gets called to list the message. it's not doing the heavy lifting, it's the manager. main character energy, delegating. πŸ‘‘

this command is almost exactly the same as typing show prev. like, practically twins. so if you want all the details, go read the manual entry for show(1), bestie. that's where the lore lives. πŸ“–


πŸ—‚οΈ 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
  • showproc: β€” program to show non-MIME messages
  • showmimeproc: β€” program to show MIME messages

πŸ‘€ SEE ALSO πŸ‘€


🌈 DEFAULTS 🌈

  • +folder defaults to the current folder
  • -checkmime
  • -header

🫢 CONTEXT 🫢

if you specify a folder, that folder becomes the current folder. and the message that gets shown β€” aka the previous message in the sequence β€” becomes the current message. so it moves you backward and plants its flag there. no takebacks. πŸ’€


😭 BUGS 😭

okay so here's the tea, and it's a little messy:

prev is really just a link to the show program. like, literally a symlink situation. which means β€” and this is the annoying part β€” if you make a link to prev and that link isn't called prev, your link will act like show instead. πŸ™ˆ rude.

to get around this, add a profile-entry for the link to your nmh profile and add the argument prev to the entry. that's the fix. that's it. slay. ✨

fr fr do NOT forget this one if you're out here making custom links, or you'll be so confused why your prev is acting brand new. πŸ’…

and that's the whole page, bestie!! this was prev from nmh-1.8, dated 1999-04-30, section 1mh πŸŽ€ go show some previous messages and have the best day, mwah πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from