aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-01 19:36:23 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-01 19:36:23 +0200
commit41474c2e685b3b36c6298b1e7493924afa9cea06 (patch)
treeee3a87a1d54a2067c6757e5a8d9ee6cb3b8ace87
parent60f4618e2be0229e966a2c8e9bf5ca4f5cd70944 (diff)
downloadmblaze-41474c2e685b3b36c6298b1e7493924afa9cea06.tar.gz
rename .santoku to .mblaze
-rw-r--r--README4
-rwxr-xr-xcontrib/mmairix2
-rw-r--r--man/mblaze.74
-rw-r--r--man/mcomp.12
-rw-r--r--man/mgenmid.14
-rw-r--r--man/mseq.14
-rw-r--r--man/mshow.12
-rwxr-xr-xmcomp8
-rw-r--r--mgenmid.c4
-rw-r--r--mscan.c2
-rw-r--r--mseq.c2
-rw-r--r--mshow.c2
-rw-r--r--seq.c6
13 files changed, 23 insertions, 23 deletions
diff --git a/README b/README
index 6ef30da..412ef2d 100644
--- 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
index 8251c53..9ce8744 100755
--- 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
index 16dd325..64f51d5 100644
--- 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
index b467e50..3eb129b 100644
--- 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
index 8cf2d96..6f70fee 100644
--- 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
index 5f6d417..83076de 100644
--- 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
index 60456b9..f079217 100644
--- 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
index 92f4919..1917ec6 100755
--- 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
index 6122519..1e57210 100644
--- 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
index 0b10dd7..6bc7d4c 100644
--- 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
index f68e573..7e4c539 100644
--- 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
index 5435938..b13f218 100644
--- 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
index c5e9e45..c71a666 100644
--- 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