]> diplodocus.org Git - nmh/commitdiff
modify mhshow marker format to include the size of the part
authorPaul Fox <pgf@foxharp.boston.ma.us>
Wed, 7 May 2014 14:19:56 +0000 (10:19 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Wed, 7 May 2014 15:29:34 +0000 (11:29 -0400)
etc/mhshow.marker
uip/conflict [new file with mode: 0755]
uip/mhshowsbr.c
uip/mhtest [new file with mode: 0755]
uip/msh [new file with mode: 0755]

index 4df8e38..6e324b1 100644 (file)
@@ -3,5 +3,5 @@
 %; used by mhshow when it decides to not display content.
 %;
 [ part %{part} - %{content-type} - %<{description}\
-%{description}%?{cdispo-filename}%{cdispo-filename}%|%{ctype-name}%> \
-%<(unseen)\(suppressed\)%> ]
+%{description}%?{cdispo-filename}%{cdispo-filename}%|%{ctype-name}%>  \
+%(units(size))B %<(unseen)\(suppressed\)%> ]
diff --git a/uip/conflict b/uip/conflict
new file mode 100755 (executable)
index 0000000..dbfb2fa
Binary files /dev/null and b/uip/conflict differ
index 679d8be..ce82d70 100644 (file)
@@ -1222,9 +1222,11 @@ convert_content_charset (CT ct, char **file) {
  * Compile our format string and save any parameters we care about.
  */
 
-#define DEFAULT_MARKER "[ part %{part} - %{content-type} - %<{description}" \
-                      "%{description}%?{cdispo-filename}%{cdispo-filename}" \
-                      "%|%{ctype-name}%> %<(unseen)\\(suppressed\\)%> ]"
+#define DEFAULT_MARKER "[ part %{part} - %{content-type} - " \
+                      "%<{description}%{description}" \
+                        "%?{cdispo-filename}%{cdispo-filename}" \
+                        "%|%{ctype-name}%>  " \
+                      "%(units(size))B %<(unseen)\\(suppressed\\)%> ]"
 
 static struct format *
 compile_marker(char *markerform)
diff --git a/uip/mhtest b/uip/mhtest
new file mode 100755 (executable)
index 0000000..26ac293
Binary files /dev/null and b/uip/mhtest differ
diff --git a/uip/msh b/uip/msh
new file mode 100755 (executable)
index 0000000..7648674
Binary files /dev/null and b/uip/msh differ