[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] pager for mhshow of non-text parts?
From: |
Paul Fox |
Subject: |
[Nmh-workers] pager for mhshow of non-text parts? |
Date: |
Mon, 21 Apr 2014 15:02:33 -0400 |
i'm getting an unexpected invocation of less when running mhshow on
non-text parts. i.e., if part 3 is image/jpeg, then
MHSHOW=/dev/null mhshow -form mhl.null -part 3
gives this process tree:
mhshow -form mhl.null -part 3
\_ less
\_ sh -c xv -geometry =-0+0 '/home/pgf/Mail/mhshowPnswsQ.jpeg' "$@" /bin/sh
\_ xv -geometry =-0+0 /home/pgf/Mail/mhshowPnswsQ.jpeg
the text that's passed through less is the part separator line:
part 3 image/jpeg 20K
it doesn't seem to me that less should be run for non-text parts,
nor should the part separator be displayed when mhshowing a specific
part. (i suspect the two things are linked, of course.)
in addition, on this particular message i'm getting an unexpected
error after the viewing process (xv) is finished:
$ MHSHOW=/dev/null mhshow -form mhl.null -part 3 10
part 3 image/jpeg 20K
mhshow: don't know how to display any of the contents
(content multipart/alternative in message 10, part 1)
(the error message actually goes through less as well.)
mhlist says this for the message:
$ mhlist -verbose -disposition 10
msg part type/subtype size description
10 multipart/related 402K
boundary="----=_NextPart_000_00A4_01CF5697.7FF77D10"
1 multipart/alternative 32K
boundary="----=_NextPart_001_00A5_01CF5697.7FFB2690"
1.1 text/html 20K
charset="ISO-8859-1"
1.2 text/plain 10K
charset="ISO-8859-1"
2 image/jpeg 37K
name="image002.jpg"
3 image/jpeg 20K
name="image005.jpg"
4 image/jpeg 19K
name="image007.jpg"
5 image/jpeg 29K
name="image009.jpg"
6 image/jpeg 18K
name="image011.jpg"
7 image/jpeg 36K
name="image018.jpg"
8 image/jpeg 32K
name="image020.jpg"
9 image/jpeg 16K
name="image022.jpg"
10 image/jpeg 27K
name="image024.jpg"
11 image/jpeg 33K
name="image030.jpg"
paul
----------------------
paul fox, address@hidden (arlington, ma, where it's 65.5 degrees)
- [Nmh-workers] pager for mhshow of non-text parts?,
Paul Fox <=