PREV(1mh)
π 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 directoryCurrent-Folder:β to find the default current foldershowproc:β program to show non-MIME messagesshowmimeproc:β program to show MIME messages
π SEE ALSO π
π DEFAULTS π
+folderdefaults 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
- debian trixie: nmh 1.8-3
- ubuntu noble: nmh 1.8-1build4
- ubuntu questing: nmh 1.8-3
- ubuntu resolute: nmh 1.8-4
- ubuntu stonking: nmh 1.8-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms