also sprach Cameron Simpson <[email protected]> [2015-04-25 01:24 +0200]: > I wrap all my mailcap commands with my apphelper script, which > itself is wrapped in my shorter-named "ah" script. My mailcaps > look like this: > > application/pdf; ah %s -1 xpdf; gui > image/jpg; ah %s -1 xv; gui > image/tiff; ah %s -1 gm display; gui > > and so forth. As you can see, the viewer is mentioned at the end.
Yeah, ah seems a nice addition to the toolchain and I might well adopt it. However, it does not solve the problem. I might have ah be the default mailcap viewer, but occasionally I will want to open a PNG file with Gimp, not the default viewer. Right now, this requires me to save the file and invoke Gimp externally. > You can also use a shell escape to run an arbitrary _other_ > command on the file. How would you (a) get mutt to save a temporary file, using e.g. the MIME filename or a MIME-type derived file name and then invoke some _other_ command on the file? -- @martinkrafft | http://madduck.net/ | http://two.sentenc.es/ "the unexamined life is not worth living" -- platon spamtraps: [email protected]
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
