mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 41474c2e685b3b36c6298b1e7493924afa9cea06
parent 60f4618e2be0229e966a2c8e9bf5ca4f5cd70944
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Mon,  1 Aug 2016 19:36:23 +0200

rename .santoku to .mblaze

Diffstat:
README | 4++--
contrib/mmairix | 2+-
man/mblaze.7 | 4++--
man/mcomp.1 | 2+-
man/mgenmid.1 | 4++--
man/mseq.1 | 4++--
man/mshow.1 | 2+-
mcomp | 8++++----
mgenmid.c | 4++--
mscan.c | 2+-
mseq.c | 2+-
mshow.c | 2+-
seq.c | 6+++---
13 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/README b/README @@ -87,8 +87,8 @@ EXAMPLES CONCEPTS mblaze deals with messages (which are files), folders (which are Maildir folders), sequences (which are newline-separated lists of messages, - possibly persisted on disk in ~/.santoku/seq), and the current message - (kept as a symlink in ~/.santoku/cur). + possibly persisted on disk in ~/.mblaze/seq), and the current message + (kept as a symlink in ~/.mblaze/cur). Messages in the persisted sequence can be referred to using special syntax as explained in mmsg(7). diff --git a/contrib/mmairix b/contrib/mmairix @@ -1,4 +1,4 @@ #!/bin/sh -# mmairix QUERY - santoku wrapper around mairix +# mmairix QUERY - mblaze wrapper around mairix mairix -r "$@" | sed 's,//*,/,g' | mless diff --git a/man/mblaze.7 b/man/mblaze.7 @@ -140,9 +140,9 @@ As usual with pipes, the sky is the limit. deals with messages (which are files), folders (which are Maildir folders), sequences (which are newline-separated lists of messages, possibly persisted on disk in -.Pa ~/.santoku/seq ) , +.Pa ~/.mblaze/seq ) , and the current message (kept as a symlink in -.Pa ~/.santoku/cur ) . +.Pa ~/.mblaze/cur ) . .Pp Messages in the persisted sequence can be referred to using special syntax as explained in diff --git a/man/mcomp.1 b/man/mcomp.1 @@ -50,7 +50,7 @@ Editor used to compose mail. .Bl -tag -width Ds .It Pa snd.* Draft messages (kept in current directory) -.It Pa ~/.santoku/headers +.It Pa ~/.mblaze/headers Default headers for each mail. (Put your .Sq Li From\&: diff --git a/man/mgenmid.1 b/man/mgenmid.1 @@ -19,7 +19,7 @@ The fully qualified domain name is computed by: Using .Sq Li "FQDN:" from -.Pa "~/.santoku/profile" +.Pa "~/.mblaze/profile" (if set). .It Resolving the current hostname. @@ -27,7 +27,7 @@ Resolving the current hostname. Using the host part of the address in .Sq Li "Local-Mailbox:" from -.Pa "~/.santoku/profile" +.Pa "~/.mblaze/profile" (if set). .El .Pp diff --git a/man/mseq.1 b/man/mseq.1 @@ -67,11 +67,11 @@ and exit. .It Ev MAILSEQ File were the sequence is stored. (Default: -.Pa ~/.santoku/seq ) +.Pa ~/.mblaze/seq ) .It Ev MAILCUR Symbolic link referring to the current message. (Default: -.Pa ~/.santoku/cur ) +.Pa ~/.mblaze/cur ) .El .Sh EXIT STATUS .Ex -std diff --git a/man/mshow.1 b/man/mshow.1 @@ -94,7 +94,7 @@ parts, and re-encodes them into UTF-8 if necessary. .Pp Other filters can be specified in the file -.Pa ~/.santoku/filter +.Pa ~/.mblaze/filter in the format .D1 Ar type/subtype Ns Li \&: Ar command or diff --git a/mcomp b/mcomp @@ -13,7 +13,7 @@ msgid() { mgenmid 2>/dev/null | sed 's/.*/Message-Id: &/' } -outbox=$(mhdr -h outbox ~/.santoku/profile) +outbox=$(mhdr -h outbox ~/.mblaze/profile) if [ -z "$outbox" ]; then i=0 while [ -f "snd.$i" ]; do @@ -42,9 +42,9 @@ fi echo "Cc: " echo "Bcc: " echo "Subject: " - from=$(mhdr -h local-mailbox ~/.santoku/profile) + from=$(mhdr -h local-mailbox ~/.mblaze/profile) [ "$from" ] && echo "From: $from" - cat ~/.santoku/headers 2>/dev/null + cat ~/.mblaze/headers 2>/dev/null msgid echo echo @@ -66,7 +66,7 @@ fi s=${s#[Ff][Ww][Dd]:} done echo "Subject: Re: $s" - cat ~/.santoku/headers 2>/dev/null + cat ~/.mblaze/headers 2>/dev/null echo -n "References:" { mhdr -h references "$1" diff --git a/mgenmid.c b/mgenmid.c @@ -31,7 +31,7 @@ int main() char hostbuf[1024]; char *host = 0; - char *f = blaze822_home_file(".santoku/profile"); + char *f = blaze822_home_file(".mblaze/profile"); struct message *config = blaze822(f); if (config) // try FQDN: first @@ -74,7 +74,7 @@ int main() if (!host) { fprintf(stderr, "mgenmid: failed to find a FQDN for the Message-ID.\n" - " Define 'FQDN:' or 'Local-Mailbox:' in ~/.santoku/profile\n" + " Define 'FQDN:' or 'Local-Mailbox:' in ~/.mblaze/profile\n" " or add a FQDN to /etc/hosts.\n"); exit(1); } diff --git a/mscan.c b/mscan.c @@ -275,7 +275,7 @@ main(int argc, char *argv[]) if (cols <= 40) cols = 80; - char *f = blaze822_home_file(".santoku/profile"); + char *f = blaze822_home_file(".mblaze/profile"); struct message *config = blaze822(f); if (config) { diff --git a/mseq.c b/mseq.c @@ -185,7 +185,7 @@ stdinmode() // XXX locking? seqfile = getenv("MAILSEQ"); if (!seqfile) - seqfile = blaze822_home_file(".santoku/seq"); + seqfile = blaze822_home_file(".mblaze/seq"); snprintf(tmpfile, sizeof tmpfile, "%s-", seqfile); snprintf(oldfile, sizeof oldfile, "%s.old", seqfile); outfile = fopen(tmpfile, "w+"); diff --git a/mshow.c b/mshow.c @@ -757,7 +757,7 @@ main(int argc, char *argv[]) if (!(qflag || rflag)) { char *f = getenv("MAILFILTER"); if (!f) - f = blaze822_home_file(".santoku/filter"); + f = blaze822_home_file(".mblaze/filter"); if (f) filters = blaze822(f); } diff --git a/seq.c b/seq.c @@ -42,7 +42,7 @@ blaze822_seq_open(char *file) if (!file) file = getenv("MAILSEQ"); if (!file) - file = blaze822_home_file(".santoku/seq"); + file = blaze822_home_file(".mblaze/seq"); fd = open(file, O_RDONLY); if (!fd) return 0; @@ -127,7 +127,7 @@ blaze822_seq_cur() char *curlink = getenv("MAILCUR"); if (!curlink) - curlink = blaze822_home_file(".santoku/cur"); + curlink = blaze822_home_file(".mblaze/cur"); int r = readlink(curlink, b, sizeof b - 1); if (r < 0) @@ -142,7 +142,7 @@ blaze822_seq_setcur(char *s) char curtmplink[PATH_MAX]; char *curlink = getenv("MAILCUR"); if (!curlink) - curlink = blaze822_home_file(".santoku/cur"); + curlink = blaze822_home_file(".mblaze/cur"); if (snprintf(curtmplink, sizeof curtmplink, "%s-", curlink) >= PATH_MAX) return -1; // truncation