Hoi, great! :-)
meillo [2021-05-27 22:38] Juergen Lorenz <j...@jugilo.de> > > Hi Meillo, > thanks for your example. I've copied it. > Jürgen > > > Hoi. > > > > [2021-05-27 19:41] Philipp Takacs <phil...@bureaucracy.de> > > > [2021-05-27 18:54] Juergen Lorenz <j...@jugilo.de> > > > > > > > > in a previous mail, Philipp explains, why X attachments are problematic > > > > and recommended using mhstore. > > > > But in my old nmh-profile, I used programs which transformed the X > > > > attachments to mere text, and they don't work either. > > > > > > Ok thats strange, most of them should work. > > > > > > > Here are some of these profile-entries > > > > > > > > mhshow-show-text/enriched: %p/usr/bin/richtext '%f' > > > > mhshow-show-text/plain: %p/usr/bin/less '%f' > > > > > > Here is one error. text/plain is handled with less. The > > > default "%liconv -f <source-charset> should work. > > > > > > > mhshow-show-application/pdf: %p/usr/bin/pdftotext '%f' - > > > > mhshow-show-application/odt: %p/usr/bin/odt2txt '%f' > > > > mhshow-show-application/docx: %p/usr/bin/docx2txt '%f' - > > > > mhshow-show-application/msword: %p/usr/bin/antiword '%f' > > > > mhshow-show-application/mspowerpoint: %p/usr/bin/catppt '%f' > > > > mhshow-show-application/excel: %p/usr/bin/xls2csv '%f' > > > > mhshow-show-application/rtf: %p/usr/bin/catdoc '%f' > > > > mhshow-show-application/octet-stream: %p/usr/bin/less '%f' > > > > mhshow-show-application: %p/usr/bin/less '%f' > > > > > > These two also don't work. Also I'm not sure if this is a good idea. > > > > > > > mhshow-show-text/html: %p/usr/bin/w3m '%f' > > > > mhshow-show-text/html: %p/usr/bin/lynx '%f' > > > > > > > > Why don't they work? And what should I do to make it work? > > > > > > I belive I have seen the problem. mmh don't support %p (for pause). nmh > > > also removed the support, but handle %p like %l. So replace %p with %l > > > and everithing should work. > > > > > > For example, I have these lines in my profile: > > > > mhshow-show-text/html: %l w3m -dump -T text/html %f > > mhshow-show-application/pdf: %l pdftotext -layout %f - > > mhshow-show-application/msword: %l antiword %f > > > > > > meillo > > >