Commits
- Commit:
836a2edc972102f05b1d6d7700b3ed8a8afcc5b8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mailcap: extract the FILE parsing routine and export it
so that we can write tests for this module.
- Commit:
7b7a69f2aeeffb5436fd490f2020335b5bf9a121
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
update telescope to make use of mailcap
Change telescope to make use of mailcap entries.
Commands are no longer prompted for how to handle an unknown mime-type.
Commands are now executed via execvp(), and the mailcap handling assumes
this as part of its interface.
- Commit:
8e1fb8d5023e6f5a977b55d5f8cacd7cdec9773f
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
mailcap: add parser for external command handling
This introduces a (limited) subset of mailcap handling, as defined in
RFC 1524.
This makes it possible for telescope to run commands on different mime
types as defined in a mailcap file, but defaults to a default mime type
of using xdg-open if no match is found, or no mailcap file defined.