AC_MSG_CHECKING(where to put the documentation)
AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to put the documentation]),
[mutt_cv_docdir=$withval],
- [mutt_cv_docdir="${prefix}/doc/muttng"])
+ [mutt_cv_docdir="${prefix}/doc/madmutt"])
AC_MSG_RESULT($mutt_cv_docdir)
docdir=$mutt_cv_docdir
instdoc.sh.in \
patch-notes.txt \
smime-notes.txt \
- muttng-manual.xsl \
- muttng-tex.xsl \
- muttng.sty \
+ madmutt-manual.xsl \
+ madmutt-tex.xsl \
+ madmutt.sty \
html.xsl chunk.xsl
BUILT_DISTFILES = stamp-doc-xml stamp-doc-man stamp-doc-chunked \
all: ../makedoc$(EXEEXT)
$(MAKE) makedoc-all
-makedoc-all: muttng.1 muttrc.man manual.html stamp-doc-chunked manual.txt
+makedoc-all: madmutt.1 muttrc.man manual.html stamp-doc-chunked manual.txt
install: all instdoc
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man5
- ./instdoc muttng.1 $(DESTDIR)$(mandir)/man1/muttng.1
- ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/muttng-flea.1
- echo ".so $(mandir)/man1/muttng-flea.1" > $(DESTDIR)$(mandir)/man1/muttngbug.1
- echo ".so $(mandir)/man1/muttng-flea.1" > $(DESTDIR)$(mandir)/man1/fleang.1
+ ./instdoc madmutt.1 $(DESTDIR)$(mandir)/man1/madmutt.1
+ ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/madmutt-flea.1
+ echo ".so $(mandir)/man1/madmutt-flea.1" > $(DESTDIR)$(mandir)/man1/madmuttbug.1
+ echo ".so $(mandir)/man1/madmutt-flea.1" > $(DESTDIR)$(mandir)/man1/fleang.1
./instdoc $(srcdir)/dotlock.man \
- $(DESTDIR)$(mandir)/man1/muttng_dotlock.1
- ./instdoc muttrc.man $(DESTDIR)$(mandir)/man5/muttngrc.5
- ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/muttng-mbox.5
+ $(DESTDIR)$(mandir)/man1/madmutt_dotlock.1
+ ./instdoc muttrc.man $(DESTDIR)$(mandir)/man5/madmuttrc.5
+ ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/madmutt-mbox.5
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
for f in $(topsrcdir_DOCFILES) ; do \
$(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
-cd html; for file in *.html ; do \
$(INSTALL) -m 644 $$file $(DESTDIR)$(docdir)/html/ || true ;\
done
- -$(INSTALL) -m 644 muttng.css $(DESTDIR)$(docdir)/html || true
+ -$(INSTALL) -m 644 madmutt.css $(DESTDIR)$(docdir)/html || true
uninstall:
- for f in muttng.1 mutt_dotlock.1 fleang.1 muttng-flea.1 muttngbug.1 ; do \
+ for f in madmutt.1 mutt_dotlock.1 fleang.1 madmutt-flea.1 madmuttbug.1 ; do \
rm -f $(DESTDIR)$(mandir)/man1/$$f ; \
done
- for f in muttngrc.5 muttng-mbox.5 ; do \
+ for f in madmuttrc.5 madmutt-mbox.5 ; do \
rm -f $(DESTDIR)$(mandir)/man5/$$f ; \
done
-rm -rf $(DESTDIR)$(docdir)/*
@HTML2TXT_CMD@
manual.html: $(srcdir)/html.xsl manual.xml
- -xsltproc --nonet --stringparam html.stylesheet muttng.css -o $@ $^
+ -xsltproc --nonet --stringparam html.stylesheet madmutt.css -o $@ $^
@HTMLCLEAN_CMD@ $@ || true
manual-chunked stamp-doc-chunked: $(srcdir)/chunk.xsl manual.xml
test -d html || mkdir html
- -xsltproc --nonet --stringparam html.stylesheet muttng.css -o html/ $^
+ -xsltproc --nonet --stringparam html.stylesheet madmutt.css -o html/ $^
touch stamp-doc-chunked
cd html; for file in *.html ; do \
@HTMLCLEAN_CMD@ $$file || true ; \
fi
touch stamp-doc-tex
-manual-ng.tex: manual.xml muttng-tex.xsl
- xsltproc -o manual-ng.tex $(srcdir)/muttng-tex.xsl manual-pre.xml
+manual-ng.tex: manual.xml madmutt-tex.xsl
+ xsltproc -o manual-ng.tex $(srcdir)/madmutt-tex.xsl manual-pre.xml
-manual-ng.pdf: manual-ng.tex muttng.sty
+manual-ng.pdf: manual-ng.tex madmutt.sty
(BD=`pwd`; cd $(srcdir); pdflatex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
(BD=`pwd`; cd $(srcdir); pdflatex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
touch manual-ng.idx
- makeindex -s $(srcdir)/muttng.ist -o manual-ng.ind manual-ng.idx
+ makeindex -s $(srcdir)/madmutt.ist -o manual-ng.ind manual-ng.idx
(BD=`pwd`; cd $(srcdir); pdflatex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
-manual-ng.ps: manual-ng.tex muttng.sty
+manual-ng.ps: manual-ng.tex madmutt.sty
(BD=`pwd`; cd $(srcdir); latex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
(BD=`pwd`; cd $(srcdir); latex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
touch manual-ng.idx
- makeindex -s $(srcdir)/muttng.ist -o manual-ng.ind manual-ng.idx
+ makeindex -s $(srcdir)/madmutt.ist -o manual-ng.ind manual-ng.idx
(BD=`pwd`; cd $(srcdir); latex -file-line-error -output-directory $$BD $(builddir)/manual-ng.tex)
dvips -o manual-ng.ps manual-ng.dvi
-e 's,@bindir\@,$(bindir),g' \
-e 's,@docdir\@,$(docdir),g'
-muttng.1: $(srcdir)/mutt.man
+madmutt.1: $(srcdir)/mutt.man
$(EDIT) $(srcdir)/mutt.man > $@
muttrc.man stamp-doc-man: ../makedoc$(EXEEXT) $(top_srcdir)/init.h muttrc.man.head muttrc.man.tail
> muttrc.man
touch stamp-doc-man
-manual.xml stamp-doc-xml: ../makedoc$(EXEEXT) $(top_srcdir)/init.h muttng-manual.xsl manual.xml.head manual.xml.tail $(top_srcdir)/VERSION.in
+manual.xml stamp-doc-xml: ../makedoc$(EXEEXT) $(top_srcdir)/init.h madmutt-manual.xsl manual.xml.head manual.xml.tail $(top_srcdir)/VERSION.in
( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION.in`-rgit/" $(srcdir)/manual.xml.head ;\
$(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ) | \
cat - $(srcdir)/manual.xml.tail > manual-pre.xml
- -xsltproc --novalid --nonet $(srcdir)/muttng-manual.xsl manual-pre.xml > manual.xml
+ -xsltproc --novalid --nonet $(srcdir)/madmutt-manual.xsl manual-pre.xml > manual.xml
touch stamp-doc-xml
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:muttng-doc="http://mutt-ng.berlios.de/doc/#NS"
+ xmlns:madmutt-doc="http://mutt-ng.berlios.de/doc/#NS"
>
<xsl:output
</xsl:copy>
</xsl:template>
- <xsl:template match="muttng-doc:man">
+ <xsl:template match="madmutt-doc:man">
<literal>
<xsl:choose>
<xsl:when test="@sect">
</literal>
</xsl:template>
- <xsl:template match="muttng-doc:envvar">
+ <xsl:template match="madmutt-doc:envvar">
<literal><xsl:value-of select="concat('$', @name)"/></literal>
<indexterm>
<primary sortas="{@name}"><literal>$<xsl:value-of select="@name"/></literal></primary>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:hook">
+ <xsl:template match="madmutt-doc:hook">
<literal><link linkend="{concat(@name, '-hook')}"><xsl:value-of select="concat(@name, '-hook')"/></link></literal>
<indexterm>
<primary sortas="{@name}-hook"><literal><xsl:value-of select="concat(@name, '-hook')"/></literal></primary>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:cmddef">
+ <xsl:template match="madmutt-doc:cmddef">
<xsl:choose>
<xsl:when test="@noanchor='1'"/>
<xsl:otherwise>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:cmdref">
+ <xsl:template match="madmutt-doc:cmdref">
<link linkend="command-{translate(@name,'_','-')}"><literal><xsl:value-of select="@name"/></literal></link>
<indexterm>
<primary sortas="{@name}"><literal><xsl:value-of select="@name"/></literal></primary>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:pattern">
+ <xsl:template match="madmutt-doc:pattern">
<literal>~<xsl:value-of select="@name"/></literal>
<xsl:if test="@full='1'">/<literal>=<xsl:value-of select="@name"/></literal></xsl:if>
<indexterm>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:funcdef">
+ <xsl:template match="madmutt-doc:funcdef">
<literal><<xsl:value-of select="@name"/>></literal> (default: <xsl:apply-templates/>)
<anchor id="func-{@name}"/>
<indexterm>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:funcref">
+ <xsl:template match="madmutt-doc:funcref">
<!-- currently b0rken as not all defined via :funcdef yet ;-((
<link linkend="func-{@name}">
-->
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:vardef">
+ <xsl:template match="madmutt-doc:vardef">
<sect1 id="{translate(@name,'_','-')}">
<title><xsl:value-of select="concat('$',@name)"/></title>
<indexterm>
</sect1>
</xsl:template>
- <xsl:template match="muttng-doc:varref">
+ <xsl:template match="madmutt-doc:varref">
<link linkend="{@name}"><literal><xsl:value-of select="concat('$',translate(@name,'-','_'))"/></literal></link><indexterm>
<primary sortas="{@name}"><literal>$<xsl:value-of select="translate(@name,'-','_')"/></literal></primary>
</indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:web">
+ <xsl:template match="madmutt-doc:web">
<ulink url="{@url}"><literal><<xsl:value-of select="@url"/>></literal></ulink>
</xsl:template>
- <xsl:template match="muttng-doc:rfc">
+ <xsl:template match="madmutt-doc:rfc">
<ulink url="{concat('http://www.faqs.org/rfcs/rfc', @num, '.html')}">RfC <xsl:value-of select="@num"/></ulink>
<indexterm><primary>RfC</primary><secondary><xsl:value-of select="@num"/></secondary></indexterm>
</xsl:template>
- <xsl:template match="muttng-doc:lstconf">
+ <xsl:template match="madmutt-doc:lstconf">
<screen>
<xsl:apply-templates/>
</screen>
</xsl:template>
- <xsl:template match="muttng-doc:lstmail">
+ <xsl:template match="madmutt-doc:lstmail">
<screen>
<xsl:apply-templates/>
</screen>
</xsl:template>
- <xsl:template match="muttng-doc:lstshell">
+ <xsl:template match="madmutt-doc:lstshell">
<screen>
<xsl:apply-templates/>
</screen>
</xsl:template>
- <xsl:template match="muttng-doc:key">
+ <xsl:template match="madmutt-doc:key">
<literal>
<xsl:if test="@mod">
<xsl:value-of select="concat(@mod,'-')"/>
</literal>
</xsl:template>
- <xsl:template match="muttng-doc:special">
+ <xsl:template match="madmutt-doc:special">
<xsl:value-of select="@docbook"/>
</xsl:template>
<!-- it contains just enough to convert the -->
<!-- mutt-ng manual with some special tags into -->
<!-- valid LaTeX code; most of the work is done -->
-<!-- muttng.sty anyways... -->
+<!-- madmutt.sty anyways... -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:muttng-doc="http://mutt-ng.berlios.de/doc/#NS">
+ xmlns:madmutt-doc="http://mutt-ng.berlios.de/doc/#NS">
<xsl:output method="text" indent="no" output-encoding="utf-8"/>
<xsl:template match="book">
<xsl:text>
\documentclass[a4paper]{scrbook}
- \usepackage{muttng}
+ \usepackage{madmutt}
</xsl:text>
<xsl:apply-templates select="bookinfo"/>
<xsl:apply-templates select="chapter"/>
<!--}}}-->
- <!--{{{ muttng-doc namespace -->
+ <!--{{{ madmutt-doc namespace -->
- <xsl:template match="muttng-doc:man">
+ <xsl:template match="madmutt-doc:man">
<xsl:text>\man</xsl:text>
<xsl:if test="@sect">
<xsl:text>[</xsl:text><xsl:value-of
<xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:web">
+ <xsl:template match="madmutt-doc:web">
<xsl:text>\web{</xsl:text><xsl:value-of
select="@url"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:envvar">
+ <xsl:template match="madmutt-doc:envvar">
<xsl:text>\envvar{</xsl:text><xsl:value-of select="@name"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:hook">
+ <xsl:template match="madmutt-doc:hook">
<xsl:text>\hook{</xsl:text><xsl:value-of select="@name"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:cmddef">
+ <xsl:template match="madmutt-doc:cmddef">
<xsl:text>\cmddef{</xsl:text><xsl:value-of select="@name"/><xsl:text>}{</xsl:text>
<xsl:apply-templates/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:cmdref">
+ <xsl:template match="madmutt-doc:cmdref">
<xsl:text>\cmdref{</xsl:text><xsl:value-of select="@name"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:funcref">
+ <xsl:template match="madmutt-doc:funcref">
<xsl:text>\funcref{</xsl:text><xsl:value-of select="@name"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:funcdef">
+ <xsl:template match="madmutt-doc:funcdef">
<xsl:text>\funcdef{</xsl:text><xsl:value-of select="@name"/>
<xsl:text>}{</xsl:text>
- <xsl:apply-templates select="muttng-doc:key"/><xsl:text>}</xsl:text>
+ <xsl:apply-templates select="madmutt-doc:key"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:varref">
+ <xsl:template match="madmutt-doc:varref">
<xsl:text>\varref{</xsl:text><xsl:value-of select="translate(@name,'-','_')"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:vardef">
+ <xsl:template match="madmutt-doc:vardef">
<xsl:text>\vardef{</xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>}
<xsl:apply-templates/>
</xsl:template>
- <xsl:template match="muttng-doc:rfc">
+ <xsl:template match="madmutt-doc:rfc">
<xsl:text>\rfc{</xsl:text><xsl:value-of select="@num"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:lstconf">
+ <xsl:template match="madmutt-doc:lstconf">
<xsl:text>\begin{verbatim}</xsl:text>
<xsl:value-of select="text()"/><xsl:text>\end{verbatim}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:lstmail">
+ <xsl:template match="madmutt-doc:lstmail">
<xsl:text>\begin{verbatim}</xsl:text>
<xsl:value-of select="text()"/><xsl:text>\end{verbatim}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:lstshell">
+ <xsl:template match="madmutt-doc:lstshell">
<xsl:text>\begin{verbatim}</xsl:text>
<xsl:value-of select="text()"/><xsl:text>\end{verbatim}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:pattern">
+ <xsl:template match="madmutt-doc:pattern">
<xsl:text>\pat</xsl:text>
<xsl:if test="@full='1'">
<xsl:text>[1]</xsl:text>
select="@name"/><xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:key">
+ <xsl:template match="madmutt-doc:key">
<xsl:text>\key{</xsl:text>
<xsl:if test="@mod">
<xsl:value-of select="@mod"/><xsl:text>-</xsl:text>
<xsl:text>}</xsl:text>
</xsl:template>
- <xsl:template match="muttng-doc:special">
+ <xsl:template match="madmutt-doc:special">
<xsl:value-of select="@latex"/>
</xsl:template>
char *val = NULL, *t = NULL;
int clean = 0;
- /* get some $muttng_ values dynamically */
- if (ascii_strcmp ("muttng_pwd", option->option) == 0) {
+ /* get some $madmutt_ values dynamically */
+ if (ascii_strcmp ("madmutt_pwd", option->option) == 0) {
val = p_new(char, _POSIX_PATH_MAX);
val = getcwd (val, _POSIX_PATH_MAX-1);
clean = 1;
- } else if (ascii_strcmp ("muttng_folder_path", option->option) == 0 &&
+ } else if (ascii_strcmp ("madmutt_folder_path", option->option) == 0 &&
CurrentFolder && *CurrentFolder) {
val = CurrentFolder;
- } else if (ascii_strcmp ("muttng_folder_name", option->option) == 0 &&
+ } else if (ascii_strcmp ("madmutt_folder_name", option->option) == 0 &&
CurrentFolder && *CurrentFolder) {
ssize_t Maildirlength = m_strlen(Maildir);
break;
}
- /* the $muttng_ variables are read-only */
+ /* the $madmutt_ variables are read-only */
if (!FuncTable[DTYPE (option->type)].opt_from_string) {
snprintf (err->data, err->dsize, _("$%s is read-only"),
option->option);
if (!Muttrc) {
#if 0
- snprintf (buffer, sizeof(buffer), "%s/.muttngrc-%s", NONULL (Homedir),
+ snprintf (buffer, sizeof(buffer), "%s/.madmuttrc-%s", NONULL (Homedir),
MUTT_VERSION);
if (access (buffer, F_OK) == -1)
#endif
- snprintf (buffer, sizeof(buffer), "%s/.muttngrc", NONULL (Homedir));
+ snprintf (buffer, sizeof(buffer), "%s/.madmuttrc", NONULL (Homedir));
if (access (buffer, F_OK) == -1)
#if 0
- snprintf (buffer, sizeof(buffer), "%s/.muttng/muttngrc-%s",
+ snprintf (buffer, sizeof(buffer), "%s/.madmutt/madmuttrc-%s",
NONULL (Homedir), MUTT_VERSION);
if (access (buffer, F_OK) == -1)
#endif
- snprintf (buffer, sizeof(buffer), "%s/.muttng/muttngrc",
+ snprintf (buffer, sizeof(buffer), "%s/.madmutt/madmuttrc",
NONULL (Homedir));
default_rc = 1;
#define DT_SYN 9 /* synonym for another variable */
#define DT_ADDR 10 /* e-mail address */
#define DT_USER 11 /* user defined via $user_ */
-#define DT_SYS 12 /* pre-defined via $muttng_ */
+#define DT_SYS 12 /* pre-defined via $madmutt_ */
#define DTYPE(x) ((x) & DT_MASK)
** check only happens after the \fIfirst\fP edit of the file). When set
** to \fIno\fP, composition will never be aborted.
*/
- {"alias_file", DT_PATH, R_NONE, UL &AliasFile, "~/.muttngrc"},
+ {"alias_file", DT_PATH, R_NONE, UL &AliasFile, "~/.madmuttrc"},
/*
** .pp
** The default file in which to save aliases created by the
{"attach_remind_regexp", DT_RX, R_NONE, UL &AttachRemindRegexp, "attach"},
/*
** .pp
- ** If this variable is non-empty, muttng will scan a message's contents
+ ** If this variable is non-empty, madmutt will scan a message's contents
** before sending for this regular expression. If it is found, it will
** ask for what to do depending on the setting of $$abort_noattach.
** .pp
** If it is \fIset\fP and Mutt-ng was build with gpgme support, the gpgme code for
** S/MIME and PGP will be used instead of the classic code.
** .pp
- ** \fBNote\fP: You need to use this option in your \fT.muttngrc\fP configuration
+ ** \fBNote\fP: You need to use this option in your \fT.madmuttrc\fP configuration
** file as it won't have any effect when used interactively.
*/
** \fT-d\fP command line option.
**
** .pp
- ** Currently, this number must be >= 0 and <= 5 and muttng
+ ** Currently, this number must be >= 0 and <= 5 and madmutt
** must be started with \fT-d\fP to enable debugging at all;
** enabling at runtime is not possible.
*/
** filtered message is read from the standard output.
*/
#if defined(USE_DOTLOCK)
- {"dotlock_program", DT_PATH, R_NONE, UL &MuttDotlock, "$muttng_bindir/muttng_dotlock"},
+ {"dotlock_program", DT_PATH, R_NONE, UL &MuttDotlock, "$madmutt_bindir/muttng_dotlock"},
/*
** .pp
** Availability: Dotlock
**
** .pp
- ** Contains the path of the \fTmuttng_dotlock(1)\fP binary to be used by
+ ** Contains the path of the \fTmadmutt_dotlock(1)\fP binary to be used by
** Mutt-ng.
*/
#endif
** mailing list when this option is set, use the \fIlist-reply\fP
** function; \fIgroup-reply\fP will reply to both the sender and the
** list.
- ** Remember: This option works only for mailing lists which are explicitly set in your muttngrc
+ ** Remember: This option works only for mailing lists which are explicitly set in your madmuttrc
** configuration file.
*/
{"imap_authenticators", DT_STR, R_NONE, UL &ImapAuthenticators, "" },
** This specifies the folder into which read mail in your ``$$spoolfile''
** folder will be appended.
*/
- {"muttng_version", DT_SYS, R_NONE, 0, VERSION },
+ {"madmutt_version", DT_SYS, R_NONE, 0, VERSION },
/*
** .pp
- ** \fIThis is a read-only system property and specifies muttng's
+ ** \fIThis is a read-only system property and specifies madmutt's
** version string.\fP
*/
- {"muttng_revision", DT_SYS, R_NONE, 0, MUTT_REVISION },
+ {"madmutt_revision", DT_SYS, R_NONE, 0, MUTT_REVISION },
/*
** .pp
- ** \fIThis is a read-only system property and specifies muttng's
+ ** \fIThis is a read-only system property and specifies madmutt's
** subversion revision string.\fP
*/
- {"muttng_sysconfdir", DT_SYS, R_NONE, 0, SYSCONFDIR },
+ {"madmutt_sysconfdir", DT_SYS, R_NONE, 0, SYSCONFDIR },
/*
** .pp
** \fIThis is a read-only system property and specifies the
- ** directory containing the muttng system-wide configuration.\fP
+ ** directory containing the madmutt system-wide configuration.\fP
*/
- {"muttng_bindir", DT_SYS, R_NONE, 0, BINDIR },
+ {"madmutt_bindir", DT_SYS, R_NONE, 0, BINDIR },
/*
** .pp
** \fIThis is a read-only system property and specifies the
- ** directory containing the muttng binary.\fP
+ ** directory containing the madmutt binary.\fP
*/
- {"muttng_docdir", DT_SYS, R_NONE, 0, PKGDOCDIR },
+ {"madmutt_docdir", DT_SYS, R_NONE, 0, PKGDOCDIR },
/*
** .pp
** \fIThis is a read-only system property and specifies the
- ** directory containing the muttng documentation.\fP
+ ** directory containing the madmutt documentation.\fP
*/
#ifdef USE_HCACHE
#if HAVE_QDBM
- {"muttng_hcache_backend", DT_SYS, R_NONE, 0, "qdbm" },
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "qdbm" },
#elif HAVE_GDBM
- {"muttng_hcache_backend", DT_SYS, R_NONE, 0, "gdbm" },
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "gdbm" },
#elif HAVE_DB4
- {"muttng_hcache_backend", DT_SYS, R_NONE, 0, "db4" },
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "db4" },
#else
- {"muttng_hcache_backend", DT_SYS, R_NONE, 0, "unknown" },
+ {"madmutt_hcache_backend", DT_SYS, R_NONE, 0, "unknown" },
#endif
/*
** .pp
** header chaching's database backend.\fP
*/
#endif
- {"muttng_folder_path", DT_SYS, R_NONE, 0, "" },
+ {"madmutt_folder_path", DT_SYS, R_NONE, 0, "" },
/*
** .pp
** \fIThis is a read-only system property and, at runtime,
** specifies the full path or URI of the folder currently
** open (if any).\fP
*/
- {"muttng_folder_name", DT_SYS, R_NONE, 0, "" },
+ {"madmutt_folder_name", DT_SYS, R_NONE, 0, "" },
/*
** .pp
** \fIThis is a read-only system property and, at runtime,
** For detection, $$$folder is first taken into account
** and simply stripped to form the result when a match is found. For
** example, with $$$folder being \fTimap://host\fP and the folder is
- ** \fTimap://host/INBOX/foo\fP, $$$muttng_folder_name will be just
+ ** \fTimap://host/INBOX/foo\fP, $$$madmutt_folder_name will be just
** \fTINBOX/foo\fP.)
** .pp
** Second, if the initial portion of a name is not $$$folder,
** Third and last, the result will be just the name if neither
** $$$folder nor a ``/'' were found in the name.
*/
- {"muttng_pwd", DT_SYS, R_NONE, 0, "" },
+ {"madmutt_pwd", DT_SYS, R_NONE, 0, "" },
/*
** .pp
** \fIThis is a read-only system property and, at runtime,
- ** specifies the current working directory of the muttng
+ ** specifies the current working directory of the madmutt
** binary.\fP
*/
{"operating_system", DT_STR, R_NONE, UL &OperatingSystem, "" },
** deeper threads to fit on the screen.
*/
#ifdef USE_NNTP
- {"nntp_cache_dir", DT_PATH, R_NONE, UL &NewsCacheDir, "~/.muttng"},
+ {"nntp_cache_dir", DT_PATH, R_NONE, UL &NewsCacheDir, "~/.madmutt"},
/*
** .pp
** Availability: NNTP
** certificate that is signed with one of these CA certificates are
** also automatically accepted.
** .pp
- ** Example: \fTset certificate_file=~/.muttng/certificates\fP
+ ** Example: \fTset certificate_file=~/.madmutt/certificates\fP
*/
# if defined(_MAKEDOC) || !defined (USE_GNUTLS)
{"ssl_usesystemcerts", DT_BOOL, R_NONE, OPTSSLSYSTEMCERTS, "yes" },
** .pp
** When \fIunset\fP, Mutt-ng won't stop when the user presses the terminal's
** \fIsusp\fP key, usually \fTCTRL+Z\fP. This is useful if you run Mutt-ng
- ** inside an xterm using a command like ``\fTxterm -e muttng\fP.''
+ ** inside an xterm using a command like ``\fTxterm -e madmutt\fP.''
*/
{"text_flowed", DT_BOOL, R_NONE, OPTTEXTFLOWED, "no" },
/*
return;
/* rotate the old debug logs */
for (i = 3; i >= 0; i--) {
- snprintf (buf, sizeof (buf), "%s/.muttngdebug%d", NONULL (basedir), i);
- snprintf (buf2, sizeof (buf2), "%s/.muttngdebug%d", NONULL (basedir), i + 1);
+ snprintf (buf, sizeof (buf), "%s/.madmuttdebug%d", NONULL (basedir), i);
+ snprintf (buf2, sizeof (buf2), "%s/.madmuttdebug%d", NONULL (basedir), i + 1);
rename (buf, buf2);
}
if ((DebugFile = safe_fopen (buf, "w")) != NULL) {
static const char *Notice = N_("\
Copyright (C) 1996-2002 Michael R. Elkins and others.\n\
-Mutt-ng comes with ABSOLUTELY NO WARRANTY; for details type `muttng -vv'.\n\
+Mutt-ng comes with ABSOLUTELY NO WARRANTY; for details type `madmutt -vv'.\n\
Mutt is free software, and you are welcome to redistribute it\n\
-under certain conditions; type `muttng -vv' for details.\n");
+under certain conditions; type `madmutt -vv' for details.\n");
static const char *Copyright_Mutt = N_("\
Copyright (C) 1996-2004 Michael R. Elkins <me@mutt.org>\n\
puts (mutt_make_version (1));
puts
- _("usage: muttng [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
- muttng [ -nR ] [ -e <cmd> ] [ -F <file> ] -Q <query> [ -Q <query> ] [...]\n\
- muttng [ -nR ] [ -e <cmd> ] [ -F <file> ] -A <alias> [ -A <alias> ] [...]\n\
- muttng [ -nR ] [ -e <cmd> ] [ -F <file> ] -t");
+ _("usage: madmutt [ -nRyzZ ] [ -e <cmd> ] [ -F <file> ] [ -m <type> ] [ -f <file> ]\n\
+ madmutt [ -nR ] [ -e <cmd> ] [ -F <file> ] -Q <query> [ -Q <query> ] [...]\n\
+ madmutt [ -nR ] [ -e <cmd> ] [ -F <file> ] -A <alias> [ -A <alias> ] [...]\n\
+ madmutt [ -nR ] [ -e <cmd> ] [ -F <file> ] -t");
puts
_("\
- muttng [ -nR ] [ -e <cmd> ] [ -F <file> ] -T\n\
- muttng [ -nx ] [ -e <cmd> ] [ -a <file> ] [ -F <file> ] [ -H <file> ] [ -i <file> ] [ -s <subj> ] [ -b <addr> ] [ -c <addr> ] <addr> [ ... ]\n\
- muttng [ -n ] [ -e <cmd> ] [ -F <file> ] -p\n\
- muttng -v[v]\n\
+ madmutt [ -nR ] [ -e <cmd> ] [ -F <file> ] -T\n\
+ madmutt [ -nx ] [ -e <cmd> ] [ -a <file> ] [ -F <file> ] [ -H <file> ] [ -i <file> ] [ -s <subj> ] [ -b <addr> ] [ -c <addr> ] <addr> [ ... ]\n\
+ madmutt [ -n ] [ -e <cmd> ] [ -F <file> ] -p\n\
+ madmutt -v[v]\n\
\n\
options:\n\
-A <alias>\texpand the given alias\n\
-b <address>\tspecify a blind carbon-copy (BCC) address\n\
-c <address>\tspecify a carbon-copy (CC) address");
#if DEBUG
- puts _(" -d <level>\tlog debugging output to ~/.muttngdebug0");
+ puts _(" -d <level>\tlog debugging output to ~/.madmuttdebug0");
#endif
puts _("\
-e <command>\tspecify a command to be executed after initialization\n\
/* SGML based manual */
case F_SGML:
{
- add_s ("\n<muttng-doc:vardef name=\"");
+ add_s ("\n<madmutt-doc:vardef name=\"");
sgml_fputs (varname);
add_s ("\">\n<para>Type: <literal>");
add_s (type2human (type));
}
case SP_END_SECT:
{
- add_s ("</muttng-doc:vardef>\n");
+ add_s ("</madmutt-doc:vardef>\n");
break;
}
case SP_STR:
void _mutt_mktemp (char *s, const char *src, int line)
{
- snprintf (s, _POSIX_PATH_MAX, "%s/muttng-%s-%d-%d-%d-%x%x", NONULL (Tempdir),
+ snprintf (s, _POSIX_PATH_MAX, "%s/madmutt-%s-%d-%d-%d-%x%x", NONULL (Tempdir),
NONULL (Hostname), (int) getuid (), (int) getpid (), Counter++,
(unsigned int) rand(), (unsigned int) rand());
debug_print (1, ("%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
snprintf (buf, sizeof (buf), "%s/.mime.types", NONULL (Homedir));
break;
case 1:
- m_strcpy(buf, sizeof(buf), SYSCONFDIR "/muttng-mime.types");
+ m_strcpy(buf, sizeof(buf), SYSCONFDIR "/madmutt-mime.types");
break;
case 2:
m_strcpy(buf, sizeof(buf), PKGDATADIR "/mime.types");