I’m pleased to announce the release of Sup 0.9.
Sup is a console-based email client for people with a lot of email.
It supports tagging, very fast full-text search, automatic contact-
list management, and more. If you’re the type of person who treats
email as an extension of your long-term memory, Sup is for you.
Excitement in 0.9:
- Experimental Xapian backend to replace Ferret. Not everything works
but it’s fast and less likely to barf. See release notes.
- New keybinding: “G” for reply-all.
- New hook: custom-search, for adding your own query expansions.
- Better preemptive thread loading.
- Random UI tweaks: display labels before subjects, change
‘n’ and ‘p’ commands slightly
- Better killing of other Sup processes.
- Die gracefully upon SIGKILL.
- Finally figure out the curses+ruby magic to make SIGWINCH (i.e. xterm
resizing) work correctly.
- Add a console mode (press ~) for interactively playing with the index.
- Finally figure out the curses magic to stop the weird keyboard
leaving the editor.
- Improved logging. Logging now supports SUP_LOG_LEVEL environment
Set this to “debug” for verbiage.
- As always, many bugfixes and tweaks.
There’s a new Xapian backend as an alternative to the Ferret one. It’s
a beta stage. It’s much faster and much less prone to the random crashes
Ferret, but certain things don’t work yet, most noticeably the unread
counts in label-list-mode.
You can switch back and forth between both indexes without harm,
new messages added to the one index won’t be picked up by the other.
To TRY the Xapian index, without screwing Ferret up:
- sup-dump > dump # takes a while
- export SUP_INDEX=xapian # or however you do it
- sup-sync --all --all-sources --restore dump # takes a long time
- sup -n # -n ensures that no polling is done. don’t hit
Step 1 will take a long time, and step 3 will take a very long time.
At this point, whenever you run Sup, the SUP_INDEX environment variable
determine which index you use. If it’s unset, or “ferret”, you will use
ferret index. If it’s “xapian”, the Xapian index. Make sure when you run
with the Xapian index, you use -n and don’t hit ‘P’, to avoid loading
messages into it.
If you want to switch to Xapian permanently, you can then:
- rm -rf ~/.sup/ferret
- permanently set SUP_INDEX=xapian according to your shell
- Run sup as normal, i.e. without -n.
If you want to go back to Ferret, you can just rm -rf ~/.sup/xapian and
sure your SUP_INDEX environment variable is unset.