Nico Golde:
authornion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 28 Feb 2005 20:09:51 +0000 (20:09 +0000)
committernion <nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 28 Feb 2005 20:09:51 +0000 (20:09 +0000)
make muttbug work better with our needs
many name changes

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@117 e385b8ad-14ed-0310-8656-cc95a2468c6d

INSTALL
TODO.mutt-ng
compose.c
curs_main.c
muttbug.sh.in
muttngbug

diff --git a/INSTALL b/INSTALL
index 6558cc3..e6a85dc 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
 Supported platforms
 ===================
 
 Supported platforms
 ===================
 
-Mutt has been reported to compile and run under the following Unix operating
+Mutt-ng has been reported to compile and run under the following Unix operating
 systems:
 
        AIX
 systems:
 
        AIX
@@ -36,7 +36,7 @@ systems:
 
        S-Lang, ftp://space.mit.edu/pub/davis/slang/
 
 
        S-Lang, ftp://space.mit.edu/pub/davis/slang/
 
-- Mutt needs an implementation of the iconv API for character set
+- Mutt-ng needs an implementation of the iconv API for character set
   conversions.  A free one can be found under the following URL:
 
        http://www.gnu.org/software/libiconv/
   conversions.  A free one can be found under the following URL:
 
        http://www.gnu.org/software/libiconv/
@@ -46,11 +46,11 @@ systems:
 Installation
 ============
 
 Installation
 ============
 
-Installing Mutt is rather painless through the use of the GNU
-autoconf package.  Simply untar the Mutt distribution, and run the
+Installing Mutt-ng is rather painless through the use of the GNU
+autoconf package.  Simply untar the Mutt-ng distribution, and run the
 ``configure'' script.  If you have obtained the distribution from
 the CVS repository, run the ``prepare'' script with the same command
 ``configure'' script.  If you have obtained the distribution from
 the CVS repository, run the ``prepare'' script with the same command
-line parameters you would pass to configure.  It will set up mutt's
+line parameters you would pass to configure.  It will set up Mutt-ng's
 build environment and add the files which are present in the tar
 balls, but not in the CVS repository.
 
 build environment and add the files which are present in the tar
 balls, but not in the CVS repository.
 
@@ -59,7 +59,7 @@ needs to know in order to compile.  However, there are a few options
 to ``configure'' to help it out, or change the default behavior:
 
 --prefix=DIR
 to ``configure'' to help it out, or change the default behavior:
 
 --prefix=DIR
-       install Mutt in DIR instead of /usr/local
+       install Mutt-ng in DIR instead of /usr/local
 
 --with-curses=DIR
        use the curses lib in DIR/lib.  If you have ncurses, ``configure''
 
 --with-curses=DIR
        use the curses lib in DIR/lib.  If you have ncurses, ``configure''
@@ -70,7 +70,7 @@ to ``configure'' to help it out, or change the default behavior:
        use the S-Lang library instead of ncurses.  This library seems to
        work better for some people because it is less picky about proper
        termcap entries than ncurses.  It is recommended that you use at
        use the S-Lang library instead of ncurses.  This library seems to
        work better for some people because it is less picky about proper
        termcap entries than ncurses.  It is recommended that you use at
-       *least* version 0.99-38 with Mutt.
+       *least* version 0.99-38 with Mutt-ng.
 
 --with-mailpath=DIR
        specify where the spool mailboxes are located on your system
 
 --with-mailpath=DIR
        specify where the spool mailboxes are located on your system
@@ -106,17 +106,17 @@ to ``configure'' to help it out, or change the default behavior:
        Use the Cyrus SASL library for IMAP or POP authentication. This
        library provides generic support for several authentication methods,
        and more may be added by the system administrator without recompiling
        Use the Cyrus SASL library for IMAP or POP authentication. This
        library provides generic support for several authentication methods,
        and more may be added by the system administrator without recompiling
-       mutt. SASL may also be able to encrypt your mail session even if
+       Mutt-ng. SASL may also be able to encrypt your mail session even if
        SSL is not available.
 
 --disable-nls
        SSL is not available.
 
 --disable-nls
-       This switch disables mutt's native language support.
+       This switch disables Mutt-ng's native language support.
 
 --with-included-gettext 
 
 --with-included-gettext 
-       Mutt will be built using the GNU gettext library included in
+       Mutt-ng will be built using the GNU gettext library included in
        the intl/ sub-directory.  You may need to use this switch if
        your machine has something which looks like gettext to the
        the intl/ sub-directory.  You may need to use this switch if
        your machine has something which looks like gettext to the
-       configure script, but isn't able to cope with mutt's catalog
+       configure script, but isn't able to cope with Mutt-ng's catalog
        files.
 
 --with-regex
        files.
 
 --with-regex
@@ -128,13 +128,13 @@ to ``configure'' to help it out, or change the default behavior:
        use flock() to lock files.  
 
 --disable-fcntl
        use flock() to lock files.  
 
 --disable-fcntl
-       by default, Mutt uses fcntl() to lock files.  Over NFS this can
+       by default, Mutt-ng uses fcntl() to lock files.  Over NFS this can
        result in poor performance on read/write.  Note that using this
        option could be dangerous if dotlocking is also disabled.
        
 --enable-nfs-fix
        some implementations of NFS do not always write the
        result in poor performance on read/write.  Note that using this
        option could be dangerous if dotlocking is also disabled.
        
 --enable-nfs-fix
        some implementations of NFS do not always write the
-       atime/mtime of small files.  This means that Mutt's ``mailboxes''
+       atime/mtime of small files.  This means that Mutt-ng's ``mailboxes''
        feature does not always work properly, as it uses these
        attributes to work out whether the file has new mail.  This
        option enables a workaround to this bug.
        feature does not always work properly, as it uses these
        attributes to work out whether the file has new mail.  This
        option enables a workaround to this bug.
@@ -142,9 +142,9 @@ to ``configure'' to help it out, or change the default behavior:
 --enable-locales-fix
        on some systems, the result of isprint() can't be used reliably
        to decide which characters are printable, even if you set the
 --enable-locales-fix
        on some systems, the result of isprint() can't be used reliably
        to decide which characters are printable, even if you set the
-       LANG environment variable.  If you set this option, Mutt will
+       LANG environment variable.  If you set this option, Mutt-ng will
        assume all characters in the ISO-8859-* range are printable.  If
        assume all characters in the ISO-8859-* range are printable.  If
-       you leave it unset, Mutt will attempt to use isprint() if either
+       you leave it unset, Mutt-ng will attempt to use isprint() if either
        of the environment variables LANG, LC_ALL or LC_CTYPE is set,
        and will revert to the ISO-8859-* range if they aren't.
        If you need --enable-locales-fix then you will probably need
        of the environment variables LANG, LC_ALL or LC_CTYPE is set,
        and will revert to the ISO-8859-* range if they aren't.
        If you need --enable-locales-fix then you will probably need
@@ -153,38 +153,38 @@ to ``configure'' to help it out, or change the default behavior:
        LC_ALL or LC_CTYPE instead).
 
 --without-wc-funcs
        LC_ALL or LC_CTYPE instead).
 
 --without-wc-funcs
-       by default Mutt uses the functions mbrtowc(), wctomb() and
+       by default Mutt-ng uses the functions mbrtowc(), wctomb() and
        wcwidth() provided by the system, when they are available.
        wcwidth() provided by the system, when they are available.
-       With this option Mutt will use its own version of those
+       With this option Mutt-ng will use its own version of those
        functions, which should work with 8-bit display charsets, UTF-8,
        euc-jp or shift_jis, even if the system doesn't normally support
        those multibyte charsets.
 
        functions, which should work with 8-bit display charsets, UTF-8,
        euc-jp or shift_jis, even if the system doesn't normally support
        those multibyte charsets.
 
-       If you find Mutt is displaying non-ascii characters as octal
+       If you find Mutt-ng is displaying non-ascii characters as octal
        escape sequences (e.g. \243), even though you have set LANG and
        LC_CTYPE correctly, then you might find you can solve the problem
        with either or both of --enable-locales-fix and --without-wc-funcs.
 
 --with-exec-shell=SHELL
        on some versions of unix, /bin/sh has a bug that makes using emacs
        escape sequences (e.g. \243), even though you have set LANG and
        LC_CTYPE correctly, then you might find you can solve the problem
        with either or both of --enable-locales-fix and --without-wc-funcs.
 
 --with-exec-shell=SHELL
        on some versions of unix, /bin/sh has a bug that makes using emacs
-       with mutt very difficult.  If you have the problem that whenever
-       you press control-G in emacs, mutt and emacs become very confused,
+       with Mutt-ng very difficult.  If you have the problem that whenever
+       you press control-G in emacs, Mutt-ng and emacs become very confused,
        you may want to try using a Bourne-derived shell other than
        /bin/sh here.  Some shells that may work are bash, zsh, and ksh.
        C shells such as csh and tcsh will amost certainly not work right.
        you may want to try using a Bourne-derived shell other than
        /bin/sh here.  Some shells that may work are bash, zsh, and ksh.
        C shells such as csh and tcsh will amost certainly not work right.
-       Note that this option is unrelated to what shell mutt gives you
+       Note that this option is unrelated to what shell Mutt-ng gives you
        when you press '!'.  Only use this option to solve the above problem,
        and only specify one of the above shells as its argument.
 
        (If you encounter this problem with your platform's native
        when you press '!'.  Only use this option to solve the above problem,
        and only specify one of the above shells as its argument.
 
        (If you encounter this problem with your platform's native
-       Bourne shell, please send a short report to mutt-dev@mutt.org,
+       Bourne shell, please send a short report to mutt-ng-devel@lists.berlios.de, 
        so a short note on this topic can be added to the Platform notes
        section below.)
 
 --enable-exact-address
        so a short note on this topic can be added to the Platform notes
        section below.)
 
 --enable-exact-address
-       By default, Mutt will rewrite all addresses in the form
+       By default, Mutt-ng will rewrite all addresses in the form
                Personal Name <user@host.domain>
                Personal Name <user@host.domain>
-       regardless of the input.  By enabling this option, Mutt will write
+       regardless of the input.  By enabling this option, Mutt-ng will write
        addresses in the same form they are parsed.  NOTE: this requires
        significantly more memory.
 
        addresses in the same form they are parsed.  NOTE: this requires
        significantly more memory.
 
@@ -193,8 +193,8 @@ to ``configure'' to help it out, or change the default behavior:
 
 Once ``configure'' has completed, simply type ``make install.''
 
 
 Once ``configure'' has completed, simply type ``make install.''
 
-Mutt should compile cleanly (without errors) and you should end up with a
-binary called ``mutt.''  If you get errors about undefined symbols like
+Mutt-ng should compile cleanly (without errors) and you should end up with a
+binary called ``muttng.''  If you get errors about undefined symbols like
 A_NORMAL or KEY_MIN, then you probably don't have a SysV compliant curses
 library.  You should install either ncurses or S-Lang (see above), and then
 run the ``configure'' script again.
 A_NORMAL or KEY_MIN, then you probably don't have a SysV compliant curses
 library.  You should install either ncurses or S-Lang (see above), and then
 run the ``configure'' script again.
@@ -206,10 +206,10 @@ Please note that "VPATH" builds currently do _not_ work.
 Character set support
 =====================
 
 Character set support
 =====================
 
-Mutt no longer contains functions for doing character set conversion.
+Mutt-ng no longer contains functions for doing character set conversion.
 Instead, it expects the iconv functions (iconv_open, iconv,
 iconv_close) to be provided. Most up-to-date systems provide these
 Instead, it expects the iconv functions (iconv_open, iconv,
 iconv_close) to be provided. Most up-to-date systems provide these
-functions, often as part of the C library. If you are installing Mutt
+functions, often as part of the C library. If you are installing Mutt-ng
 on a system which does not have them, it is recommended that you
 install Bruno Haible's portable libiconv library, which you can obtain
 from:
 on a system which does not have them, it is recommended that you
 install Bruno Haible's portable libiconv library, which you can obtain
 from:
@@ -222,22 +222,22 @@ version of iconv.
 
 
 If you decide to use your system's iconv implementation, you may
 
 
 If you decide to use your system's iconv implementation, you may
-need to tell mutt about implementation-defined names for some
+need to tell Mutt-ng about implementation-defined names for some
 character sets.  Sample configuration files for various systems can
 be found in the directory contrib/iconv/ in this source
 distribution, and will be installed in the samples/iconv directory
 character sets.  Sample configuration files for various systems can
 be found in the directory contrib/iconv/ in this source
 distribution, and will be installed in the samples/iconv directory
-as part of mutt's documentation.
+as part of Mutt-ng's documentation.
 
 In order to use these sample configuration files, just put a line
 like
 
 
 In order to use these sample configuration files, just put a line
 like
 
-     source /usr/local/doc/mutt/samples/iconv/iconv.osf1-4.0d.rc
+     source /usr/local/doc/muttng/samples/iconv/iconv.osf1-4.0d.rc
 
 into your system's global Muttrc, which normally resides in /etc or
 /usr/local/etc.
 
 
 
 into your system's global Muttrc, which normally resides in /etc or
 /usr/local/etc.
 
 
-If you really want to, you can configure Mutt --disable-iconv, but
+If you really want to, you can configure Mutt-ng --disable-iconv, but
 there will then be no character set conversion.
 
 
 there will then be no character set conversion.
 
 
@@ -247,9 +247,9 @@ Platform Notes
 All platforms
 
        There is a bug in most (if not all) S-Lang versions which
 All platforms
 
        There is a bug in most (if not all) S-Lang versions which
-       prevents the Meta key from working with mutt.  A patch can
+       prevents the Meta key from working with Mutt-ng.  A patch can
        be found in the file contrib/patch.slang-1.2.2.keypad.1 in
        be found in the file contrib/patch.slang-1.2.2.keypad.1 in
-       this mutt distribution.
+       this Mutt-ng distribution.
 
 
 Solaris 2.4
 
 
 Solaris 2.4
@@ -257,10 +257,10 @@ Solaris 2.4
        The system regcomp() and regexec() routines are very badly
        broken.  This should be automatically detected by the
        configure script.  If not, use the --with-regex switch when
        The system regcomp() and regexec() routines are very badly
        broken.  This should be automatically detected by the
        configure script.  If not, use the --with-regex switch when
-       configuring mutt.
+       configuring Mutt-ng.
 
        We are also hearing reports that Solaris 2.4's NLS libraries
 
        We are also hearing reports that Solaris 2.4's NLS libraries
-       dump core with mutt when using a locale different from "C".
+       dump core with Mutt-ng when using a locale different from "C".
        Use the --with-included-gettext configuration switch if you
        experience this problem.
 
        Use the --with-included-gettext configuration switch if you
        experience this problem.
 
@@ -270,7 +270,7 @@ Solaris 2.4
 
 Solaris 2.6
 
 
 Solaris 2.6
 
-       There are reports that mutt behaves strangely when linked with
+       There are reports that Mutt-ng behaves strangely when linked with
        the system regexp library.  Please use the --with-regex switch
        when configuring on this platform.
 
        the system regexp library.  Please use the --with-regex switch
        when configuring on this platform.
 
@@ -288,7 +288,7 @@ Linux
 Sparc Linux
 
        Redhat 4.2 Sparc users reported problems with some system
 Sparc Linux
 
        Redhat 4.2 Sparc users reported problems with some system
-       include files when building mutt.  Configuring mutt with the
+       include files when building Mutt-ng.  Configuring Mutt-ng with the
        --disable-warnings switch is said to help against this problem.
 
 
        --disable-warnings switch is said to help against this problem.
 
 
index 18b78ff..86e717a 100644 (file)
@@ -1,6 +1,7 @@
 Here's a list of all mutt-ng specific TODOs (not in priority order):
 
 Here's a list of all mutt-ng specific TODOs (not in priority order):
 
-muttngbug must call fleang, not flea
+Check why sidebar-next-new doesn't switch to mailboxes if they don't fit in the
+sidebar and you have to scroll down.
 
 Really make sure that there're no more files installed with conflicting
 paths between mutt <-> mutt-ng. Update documentation to state that
 
 Really make sure that there're no more files installed with conflicting
 paths between mutt <-> mutt-ng. Update documentation to state that
index a4d5ec9..e8ef1ad 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -508,7 +508,7 @@ compose_format_str (char *buf, size_t buflen, char op, const char *src,
       break;
 
     case 'v':
       break;
 
     case 'v':
-      snprintf (fmt, sizeof (fmt), "Mutt %%s");
+      snprintf (fmt, sizeof (fmt), "Mutt-ng %%s");
       snprintf (buf, buflen, fmt, MUTT_VERSION);
       break;
 
       snprintf (buf, buflen, fmt, MUTT_VERSION);
       break;
 
index 0fc4e0b..882ba35 100644 (file)
@@ -592,6 +592,7 @@ int mutt_index_menu (void)
         if (menu->redraw & REDRAW_INDEX)
         {
           menu_redraw_index (menu);
         if (menu->redraw & REDRAW_INDEX)
         {
           menu_redraw_index (menu);
+          draw_slidebar(menu);
           menu->redraw |= REDRAW_STATUS;
         }
         else if (menu->redraw & (REDRAW_MOTION_RESYNCH | REDRAW_MOTION))
           menu->redraw |= REDRAW_STATUS;
         }
         else if (menu->redraw & (REDRAW_MOTION_RESYNCH | REDRAW_MOTION))
@@ -1400,7 +1401,7 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE);
 
         if ((menu->menu == MENU_MAIN)
             && (query_quadoption (OPT_QUIT, 
 
         if ((menu->menu == MENU_MAIN)
             && (query_quadoption (OPT_QUIT, 
-                                  _("Exit Mutt without saving?")) == M_YES))
+                                  _("Exit Mutt-ng without saving?")) == M_YES))
         {
           if (Context)
           {
         {
           if (Context)
           {
index 23d587b..14a429f 100644 (file)
@@ -27,7 +27,7 @@
 #     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 #
 
 #     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 #
 
-SUBMIT="submit@bugs.guug.de"
+SUBMIT="mutt-ng-devel@lists.berlios.de"
 DEBIAN_SUBMIT="submit@bugs.debian.org"
 
 prefix=@prefix@
 DEBIAN_SUBMIT="submit@bugs.debian.org"
 
 prefix=@prefix@
@@ -149,7 +149,7 @@ esac
 
 if test -x $DEBUGGER ; then
        test -f core && CORE=core
 
 if test -x $DEBUGGER ; then
        test -f core && CORE=core
-       echo "If mutt has crashed, it may have saved some program state in"
+       echo "If Mutt-ng has crashed, it may have saved some program state in"
        echo "a file named core.  We can include this information with the bug"
        echo "report if you wish so."
        echo "Do you want to include information gathered from a core file?"
        echo "a file named core.  We can include this information with the bug"
        echo "report if you wish so."
        echo "Do you want to include information gathered from a core file?"
@@ -159,14 +159,14 @@ if test -x $DEBUGGER ; then
        test "$_CORE" && CORE="$_CORE"
 fi
 
        test "$_CORE" && CORE="$_CORE"
 fi
 
-echo $n "Do you want to include your personal mutt configuration files? [Y|n] $c"
+echo $n "Do you want to include your personal Mutt-ng configuration files? [Y|n] $c"
 read personal
 case "$personal" in
 [nN]*)  personal=no  ;;
     *)  personal=yes ;;
 esac
 
 read personal
 case "$personal" in
 [nN]*)  personal=no  ;;
     *)  personal=yes ;;
 esac
 
-echo $n "Do you want to include your system's global mutt configuration file? [Y|n] $c"
+echo $n "Do you want to include your system's global Mutt-ng configuration file? [Y|n] $c"
 read global
 case "$global" in
 [nN]*)  global=no  ;;
 read global
 case "$global" in
 [nN]*)  global=no  ;;
@@ -175,8 +175,8 @@ esac
 
 if test -f /etc/debian_version ; then
        DEBIAN=yes
 
 if test -f /etc/debian_version ; then
        DEBIAN=yes
-       echo $n "Checking whether mutt has been installed as a package... $c"
-       DEBIANVERSION="`dpkg -l mutt | grep '^[ih]' | awk '{print $3}'`" 2> /dev/null
+       echo $n "Checking whether mutt-ng has been installed as a package... $c"
+       DEBIANVERSION="`dpkg -l muttng | grep '^[ih]' | awk '{print $3}'`" 2> /dev/null
        if test "$DEBIANVERSION" ; then
                DPKG=yes
        else
        if test "$DEBIANVERSION" ; then
                DPKG=yes
        else
@@ -198,10 +198,10 @@ fi
 if rpm -q mutt > /dev/null 2> /dev/null ; then
        echo "Mutt seems to come from an RPM package."
        RPMVERSION="`rpm -q mutt`"
 if rpm -q mutt > /dev/null 2> /dev/null ; then
        echo "Mutt seems to come from an RPM package."
        RPMVERSION="`rpm -q mutt`"
-       RPMPACKAGER="`rpm -q -i mutt | sed -n -e 's/^Packager *: *//p'`"
+       RPMPACKAGER="`rpm -q -i muttng | sed -n -e 's/^Packager *: *//p'`"
 fi
 
 fi
 
-MUTTVERSION="`mutt -v | awk '{print $2; exit; }'`"
+MUTTVERSION="`muttng -v | awk '{print $2 $3; exit; }'`"
 test "$DPKG" = "yes" && SUBMIT="$SUBMIT, $DEBIAN_SUBMIT"
 
 exec > ${TEMPLATE}
 test "$DPKG" = "yes" && SUBMIT="$SUBMIT, $DEBIAN_SUBMIT"
 
 exec > ${TEMPLATE}
@@ -210,11 +210,11 @@ test "$EMAIL"        && echo "From: $EMAIL"
 test "$REPLYTO"      && echo "Reply-To: $REPLYTO"
 test "$ORGANIZATION" && echo "Organization: $ORGANIZATION"
 
 test "$REPLYTO"      && echo "Reply-To: $REPLYTO"
 test "$ORGANIZATION" && echo "Organization: $ORGANIZATION"
 
-echo "Subject: mutt-$MUTTVERSION: $SUBJECT"
+echo "Subject: Mutt-ng-$MUTTVERSION: $SUBJECT"
 echo "To: $SUBMIT"
 test "$EMAIL"       && echo "Bcc: ${EMAIL}"
 echo
 echo "To: $SUBMIT"
 test "$EMAIL"       && echo "Bcc: ${EMAIL}"
 echo
-echo "Package: mutt"
+echo "Package: muttng"
 echo "Version: ${DEBIANVERSION-${RPMVERSION-$MUTTVERSION}}"
 echo "Severity: $severity"
 echo 
 echo "Version: ${DEBIANVERSION-${RPMVERSION-$MUTTVERSION}}"
 echo "Severity: $severity"
 echo 
@@ -225,7 +225,7 @@ echo
 
 if test "$DEBIAN" = "yes" ; then
        echo "Obtaining Debian-specific information..." > /dev/tty
 
 if test "$DEBIAN" = "yes" ; then
        echo "Obtaining Debian-specific information..." > /dev/tty
-       bug -p -s dummy mutt < /dev/null 2> /dev/null |        \
+       bug -p -s dummy muttng < /dev/null 2> /dev/null |        \
                sed -n -e "/^-- System Information/,/^---/p" | \
                grep -v '^---'
 else
                sed -n -e "/^-- System Information/,/^---/p" | \
                grep -v '^---'
 else
@@ -253,9 +253,9 @@ echo @CFLAGS@
 
 
 echo
 
 
 echo
-echo "-- Mutt Version Information"
+echo "-- Mutt-ng Version Information"
 echo
 echo
-mutt -v
+muttng -v
 
 if test "$CORE" && test -f "$CORE" ; then
        echo 
 
 if test "$CORE" && test -f "$CORE" ; then
        echo 
index e94d8cd..7ecafa5 100755 (executable)
--- a/muttngbug
+++ b/muttngbug
@@ -1,3 +1,3 @@
 #!/bin/sh
 
 #!/bin/sh
 
-exec flea "$@"
+exec fleang "$@"