MSCAN(1)
π MSCAN(1) β the manual page, but make it a group chat π
okay bestie, sit down, hydrate, because we're about to talk about mscan, the icon, the moment, the little one-liner machine that lives in your General Commands Manual and makes your mailbox look cute. β¨
π NAME π
mscan β bestie's job is literally generating one-line message summaries. that's it. that's the whole personality. π
πΈ SYNOPSIS πΈ
mscan [-I] [-n] [-v] [-f format] msgs ...
yes she takes flags, yes she takes msgs ..., and no you don't get to skip the msgs conversation (unless you do, see below π«Ά).
π¦ DESCRIPTION π¦
so mscan prints one line per message. a little summary. a lil snack. one line, every message. no cap. (and if you're sitting there like "wait what even is the message argument syntax", that's a whole other page β go read mmsg(7), it's right there in SEE ALSO, i gotchu.)
If you don't hand her any msgs at all? She's not gonna sulk. She'll read filenames from the standard input instead β OR, if you're using her interactively, she'll scan the mails in the current sequence. main character energy honestly.
By default, when used interactively, mscan will spawn a pager on its output. yes, a whole pager, because she wants you to actually READ the thing. how do you control that behaviour? scroll down to ENVIRONMENT bestie, i promise it's there. π
The default format is this lil string right here:
%c%u%r %-3n %10d %17f %t %2i%s
which is giving, and which means: for each message, mscan prints the relevant flags, the sequence number (if that applies to you), the date, the originator, and the subject of the message β possibly indented, because we're fancy like that. π
and!! you can set a default mscan format in your very own mblaze-profile(5). personalized. iconic.
The options are as follows (buckle up, there's a list and i respect every single entry):
-Iβ Force ISO date output, even for%d. yes, even then. no exceptions. periodt.-nβ Only print message numbers. (or filenames, if the message isn't in the current sequence β she's not gonna pretend she knows the number, okay?)-vβ Print how many messages were scanned, to standard error. verbose queen. π-f formatβ Format according to the string format, inspired byprintf(3). this is the big one.
β¨ the format codes (the -f format menu, aka the good stuff) β¨
heads up: wd overrides the default width. that's the rule. π
\nβ Newline. a whole line break, we love her.\tβ Tab. for the spacing girlies.%%β A plain%. she said escape me.%[wd]bβ Human-readable size of the message, in kilobytes.%cβ A>on the current message, otherwise a blank.%[wd]dβ Adaptive date of the message. and here's the tea: whenwdis greater or equal to 19, the timestamp is shown in dottime format (https://dotti.me/).%[wd]Dβ ISO date of the message (year, month, day). whenwdis greater or equal to 16, the hour-minute timestamp also shows up. whenwdis greater or equal to 19, seconds join the party too. β°%[wd]fβ TheFrom:β orTo:, if the message is from us. mutuals only.%[wd]Fβ The maildir folder the message resides in. she knows where she lives. π%[wd]iβwdspaces per indentation depth in the thread tree. (wddefault: 1.) the tree must be visually correct or we riot.%[wd]Iβ TheMessage-ID:of the message. the real name, the legal name.%Mβ The raw maildir flags of the message. no wd here, just raw.%[wd]nβ The number of the message in the current sequence.%rβ A-on a replied-to message, or a:on a forwarded message, or a blank. history.%[wd]Rβ The filename of the message.%[wd]sβ The subject of the message (defaults to remaining width). we take up space, respectfully.%[wd]Sβ The subject of the message (defaults to remaining width), with leadingRe:,Fwd:etc. stripped. clean. fresh. π%tβ A>if you are inTo:, a+if you are inCc:, a:if you are inResent-To:, or a blank.%uβ An*on a flagged message, a.on an unseen message, anxon a trashed message, or a blank.
π·οΈ MESSAGE FLAGS π·οΈ
the whole vibe check, decoded:
>β The current message.β An unseen messagexβ A trashed message*β A flagged message-β A replied-to message
π¬ SUBJECT FLAGS π¬
you, personally, in the header:
>β You are inTo:+β You are inCc::β You are inResent-To:
π ENVIRONMENT π
MBLAZE_PAGERβ Any non-empty value of the environment variableMBLAZE_PAGERis used instead of the standard pagination program, specified inPAGER. and when it's empty, or set tocat? no pager is spawned. she just dumps it. no filter, no drama. π
π EXIT STATUS π
The mscan utility exits 0 on success, and >0 if an error occurs. that's the whole story. if it's not 0, something went wrong and she's telling you about it. fr fr.
π SEE ALSO π
go read them. iykyk. π
π AUTHORS π
Leah Neukirchen <leah@vuxu.org> β the legend. we stan. π«Ά
π LICENSE π
mscan is in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
http://creativecommons.org/publicdomain/zero/1.0/
and that's the page bestie!! this lil slice of Debian energy is dated January 2, 2020, and that's the whole manual from top to bottom. go forth and summarize your mail. mwah. πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: mblaze-doc 1.4-r0 Β· CC0-1.0
- debian bookworm: mblaze 1.1-1 Β· CC0-1.0
- debian trixie: mblaze 1.1-1 Β· CC0-1.0
- nixos 26.05: mblaze 1.4
- nixpkgs unstable: mblaze 1.4
- ubuntu jammy: mblaze 1.1-1 Β· CC0-1.0
- ubuntu noble: mblaze 1.1-1 Β· CC0-1.0
- ubuntu resolute: mblaze 1.1-1build1 Β· CC0-1.0
- ubuntu stonking: mblaze 1.1-1build1 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms