Hello Bob, Bob Tennent <[email protected]> wrote: |For this kind of attachment, I seem to have a choice between |sending all such attachments to a fixed application or |using the write command to save to a file or pipe to an |application. I'd like to select the application based on the |(extension of) the file name. Is there any convenient way to |do this? At present, I have to | | + capture the file name in the clipboard | + delete the file name | + type "| cat filename; application filename"
well, if there is a file extension you want to trust then setting the variable *mime-counter-evidence* should do what you want. (This only works if the file extension is available in your mime.types(5) file -- S-nail has some builtin mimetypes however, list your current environment with `mimetypes' command from the S-nail command line.) Content inspection is currently not yet performed (there is a TODO in mime.c). Hope this helps already today, Ciao, ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ S-nail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/s-nail-users
