Package: t-prot Version: 2.11-1 Severity: normal Tags: patch It is my understanding that -Mmutt should inhibit the exit code for --max-lines. Since the --max-lines handling changed since 2.8.1 (it moved out of process_msg(), the return code for overlong messages will be non-zero even if -Mmutt is passed. This causes mutt to request me to press a key before it displays the message, because from mutt's point of view, the display_filter failed.
Don't tell anyone I wrote a Perl patch, which might just be
proof-of-concept anyway. This fixes the issue:
--- /tmp/t-prot 2010-01-08 16:35:26.000000000 +1300
+++ /usr/bin/t-prot 2010-01-08 16:36:43.000000000 +1300
@@ -1083,7 +1083,7 @@
if ($ofile ne 'NONE') {
write_msg(($mda?'|'.SENDMAIL." $mda":">$ofile"), \...@message);
}
- exit(EX_DATAERR);
+ exit(($mua ne 'mutt') ? EX_DATAERR : EX_OK);
}
# this should be self-explanatory:
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages t-prot depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libgetopt-mixed-perl 1.008-10 Perl module for processing options
ii liblocale-gettext-perl 1.05-6 Using libc functions for internati
ii perl 5.10.1-8 Larry Wall's Practical Extraction
Versions of packages t-prot recommends:
ii mutt 1.5.20-5 text-based mailreader supporting M
Versions of packages t-prot suggests:
ii postfix [mail-transport-agent 2.6.5-3 High-performance mail transport ag
-- debconf information excluded
--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

