2016-07-22 19:36:46 +00:00
|
|
|
.Dd July 22, 2016
|
|
|
|
.Dt MSEQ 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mseq
|
2018-02-04 21:58:00 +00:00
|
|
|
.Nd manipulate message sequences
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2016-07-31 17:46:43 +00:00
|
|
|
.Op Fl fr
|
2016-08-09 17:10:12 +00:00
|
|
|
.Op Fl c Ar msg
|
2016-07-22 19:36:46 +00:00
|
|
|
.Ar msgs\ ...
|
2016-07-26 14:34:39 +00:00
|
|
|
.Nm
|
2016-07-26 15:14:28 +00:00
|
|
|
.Fl S
|
|
|
|
.Op Fl fr
|
|
|
|
<
|
|
|
|
.Ar sequence
|
|
|
|
.Nm
|
|
|
|
.Fl A
|
|
|
|
.Op Fl fr
|
2016-07-26 14:34:39 +00:00
|
|
|
<
|
|
|
|
.Ar sequence
|
2016-07-26 15:14:28 +00:00
|
|
|
.Nm
|
|
|
|
.Fl C Ar msg
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2018-02-04 21:58:00 +00:00
|
|
|
prints, fixes and sets the message sequence.
|
|
|
|
.Po
|
2016-07-22 19:36:46 +00:00
|
|
|
See
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
for the message argument syntax.
|
2018-02-04 21:58:00 +00:00
|
|
|
.Pc
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
|
|
|
If no
|
|
|
|
.Ar msgs
|
|
|
|
are passed and
|
|
|
|
.Nm
|
|
|
|
is used interactively,
|
|
|
|
.Nm
|
|
|
|
prints all messages in the sequence.
|
|
|
|
.Pp
|
2016-07-26 14:34:39 +00:00
|
|
|
With
|
|
|
|
.Fl S
|
|
|
|
or
|
|
|
|
.Fl A ,
|
|
|
|
.Nm
|
2018-02-04 21:58:00 +00:00
|
|
|
will replace
|
|
|
|
.Pq resp. append
|
|
|
|
the default sequence.
|
|
|
|
If the standard output is not a terminal,
|
|
|
|
the new sequence is also printed.
|
2016-07-26 14:34:39 +00:00
|
|
|
.Pp
|
2016-07-22 19:36:46 +00:00
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
2016-08-09 17:10:12 +00:00
|
|
|
.It Fl c Ar msg
|
2016-08-09 17:03:59 +00:00
|
|
|
Behave as if
|
2016-08-09 17:10:12 +00:00
|
|
|
.Ar msg
|
2016-08-09 17:03:59 +00:00
|
|
|
was the current message.
|
2016-07-26 14:34:39 +00:00
|
|
|
.It Fl f
|
|
|
|
Fix non-existing filenames by searching for a message with the same
|
2018-02-04 21:58:00 +00:00
|
|
|
maildir id
|
|
|
|
.Pq but different flags .
|
2016-07-22 19:36:46 +00:00
|
|
|
.It Fl r
|
2017-07-02 16:22:51 +00:00
|
|
|
Remove leading indentation from the filenames.
|
2016-07-26 14:34:39 +00:00
|
|
|
.It Fl S
|
2018-02-04 21:58:00 +00:00
|
|
|
Set the message sequence to the filenames passed on standard input.
|
2016-07-26 14:34:39 +00:00
|
|
|
.It Fl A
|
|
|
|
Like
|
|
|
|
.Fl S ,
|
2018-02-04 21:58:00 +00:00
|
|
|
but append to the message sequence instead of replacing it.
|
2016-07-26 15:14:28 +00:00
|
|
|
.It Fl C Ar msg
|
|
|
|
Set the current message to
|
|
|
|
.Ar msg
|
|
|
|
and exit.
|
2016-07-26 14:34:39 +00:00
|
|
|
.El
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width Ds
|
2016-09-01 23:50:20 +00:00
|
|
|
.It Ev MBLAZE
|
|
|
|
Directory containing mblaze configuration.
|
2018-02-04 21:58:00 +00:00
|
|
|
.Po
|
|
|
|
Default:
|
|
|
|
.Pa $HOME/.mblaze
|
|
|
|
.Pc
|
2016-07-26 15:14:28 +00:00
|
|
|
.It Ev MAILCUR
|
|
|
|
Symbolic link referring to the current message.
|
2018-02-04 21:58:00 +00:00
|
|
|
.Po
|
|
|
|
Default:
|
|
|
|
.Pa ${MBLAZE:-$HOME/.mblaze}/cur
|
|
|
|
.Pc
|
2016-08-09 17:03:59 +00:00
|
|
|
.It Ev MAILDOT
|
2017-07-02 16:22:51 +00:00
|
|
|
When set to a filename, overrides the current message.
|
2018-02-04 21:58:00 +00:00
|
|
|
.Po
|
|
|
|
Prefer using
|
2016-08-09 17:03:59 +00:00
|
|
|
.Fl c
|
2018-02-04 21:58:00 +00:00
|
|
|
instead.
|
|
|
|
.Pc
|
2016-08-09 17:03:59 +00:00
|
|
|
.It Ev MAILSEQ
|
|
|
|
File were the sequence is stored.
|
2018-02-04 21:58:00 +00:00
|
|
|
.Po
|
|
|
|
Default:
|
|
|
|
.Pa ${MBLAZE:-$HOME/.mblaze}/seq
|
|
|
|
.Pc
|
2016-07-22 19:36:46 +00:00
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh LICENSE
|
|
|
|
.Nm
|
|
|
|
is in the public domain.
|
|
|
|
.Pp
|
|
|
|
To the extent possible under law,
|
|
|
|
the creator of this work
|
|
|
|
has waived all copyright and related or
|
|
|
|
neighboring rights to this work.
|
|
|
|
.Pp
|
|
|
|
.Lk http://creativecommons.org/publicdomain/zero/1.0/
|