PREV(1)
π PREV(1) β the prev girlies' manual π
okay so bestie, welcome to the General Commands Manual entry for prev(1) β yes that's the manual name, and yes it's iconic, sit down, we're doing this πΈ
β¨ 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 literally just performs a show on the previous message in the folder you picked (or the current one if you didn't pick, no pressure π«Ά).
like show, it hands off any switches you pass to the program named by showproc or showmimeproc β that's the program that actually gets called to list the message for you. slay, delegation π
and fr fr, this command is almost exactly equivalent to show prev. that's it. that's the whole thing. so if you want all the details, go read the manual entry for show(1) β it's the main character here, prev is just its cute little sister π
β¨ FILES β¨
$HOME/.mh_profileβ the user profile π
β¨ PROFILE COMPONENTS β¨
these are the profile bits prev peeks at, no cap:
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 β¨
(the little sibling duo + the big one, we love a family π)
β¨ DEFAULTS β¨
here's what happens when you just... don't specify anything, bestie:
+folderdefaults to the current folder-checkmime-header
β¨ CONTEXT β¨
okay so context matters, literally:
- if you specify a folder, that folder becomes the current folder π
- and the message that gets shown β aka the previous message in sequence β becomes the current message β
so it's a whole vibe shift for your session, noted.
β¨ BUGS β¨
π okay so here's the tea and you need to hear it:
prev is really a link to the show program. that's it, that's the whole trick.
which means β and this is the important part β if you make a link to prev and that link is not called prev, your link will act like show instead. not prev. just show. the whole previous-message thing? gone. poof. π
to circumvent 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 the whole fix, go do it π
β¨ THE CUTE SIGN-OFF β¨
this page came to you from nmh-1.8, dated 1999-04-30 β yes she's a vintage queen and she still ate, no notes ππ
stay previous-message-pilled, bestie, and go read show(1) fr fr πΈπ¦π
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms