nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mhlist output format


From: Paul Fox
Subject: Re: [Nmh-workers] mhlist output format
Date: Wed, 04 Jun 2014 12:17:08 -0400

last week i asked about changing the output of 'mhlist -verbose' to
"untruncate" some fields.

i've heard nothing back, so i'll push the change.

paul

i wrote:
 > but there's one aspect of the mhlist output that i think could change
 > readily enough.  currently, mhlist will truncate certain string fields
 > to keep the output tabular.  in particular, content-types are
 > truncated to 24 characters, content-descriptions to 36, and rfc-822
 > comments on a content-type to 65.
 > 
 > the content-type limit gets hit pretty easily with application types,
 > e.g. "application/x-zip-compre".
 > 
 > i propose eliminating any of the truncations if "-verbose" is given. 
 > example output below -- all of the above-mentioned truncations occur
 > in part 2.
 > 
 > output without -verbose is unchanged:
 > 
 > $ mhlist
 >  msg part  type/subtype              size description
 >    4       multipart/signed           13K
 >      1     text/plain                4608
 >      2     application/pkcs7-signat  5958 S/MIME Cryptographic Signature with
 > 
 > 
 > old output with -verbose, fields truncated:
 > 
 > $ mhlist -verbose
 >  msg part  type/subtype              size description
 >    4       multipart/signed           13K
 >              protocol="application/pkcs7-signature"
 >              micalg="sha-1"
 >              boundary="----=_Part_2919_383128135.1401281510426"
 >      1     text/plain                4608
 >              charset="UTF-8"
 >              format="flowed"
 >              delsp="Yes"
 >      2     application/pkcs7-signat  5958 S/MIME Cryptographic Signature 
 > with 
 >              name="smime.p7s"
 >              smime-type="signed-data"
 >              (this is a very long and boring comment that no one really ever 
 > w
 > 
 > 
 > new output with -verbose, no truncations:
 > 
 > $ uip/mhlist -verbose
 >  msg part  type/subtype              size description
 >    4       multipart/signed           13K
 >              protocol="application/pkcs7-signature"
 >              micalg="sha-1"
 >              boundary="----=_Part_2919_383128135.1401281510426"
 >      1     text/plain                4608
 >              charset="UTF-8"
 >              format="flowed"
 >              delsp="Yes"
 >      2     application/pkcs7-signature  5958 S/MIME Cryptographic Signature 
 > with an augmented description
 >              name="smime.p7s"
 >              smime-type="signed-data"
 >              (this is a very long and boring comment that no one really ever 
 > wants to see, but there you have it)
 > 
 > 
 > any objections to this?
 > 

=----------------------
 paul fox, address@hidden (arlington, ma, where it's 56.7 degrees)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]