I use Mutt/1.4.2.3i (under FreeBSD). In Mutt pager in some letters
(especially plaintext digests from redesigned/neo yahooGroups)
most displayed lines ended with ^M making reading unpleasant.
^M is another name of the CR control character ( \r , 0x0d ).
I wrote a patch below to suppress display of ^M at the end of line.
The patch applies also to the last version of pager.c .

=========================================================================
--- pager.c.orig        2007-05-23 04:17:53.000000000 +0300
+++ pager.c     2014-01-13 05:07:13.000000000 +0200
@@ -1144,6 +1144,8 @@
       else
        col = t;
     }
+    else if (wc == '\r'  /* ^M CR 0x0d */     && buf[ch+1] == '\n')
+      ;
     else if (wc < 0x20 || wc == 0x7f)
     {
       if (col + 2 > wrap_cols)
=========================================================================

Reply via email to