+2007-06-25 Martin Mares <mj@ucw.cz>
+
+ * Non-ASCII characters encoded as per RFC 2047 are now deciphered
+ and converted to the native character set. (We use parsing code
+ from Mutt 1.5.16, slightly adapted for our use.)
+
+ * The system locale and iconv routines are used for operations with
+ charsets. We use the not too well documented "//TRANSLIT" suffix to
+ make iconv perform transliteration when it encounters a character,
+ which cannot be represented in the destination charset. This is
+ a GNU extension, but we hope that it gets ignored on other systems.
+
+ * Mail sender addresses are now parsed (again using Mutt's routines)
+ and you can use the `m' and `p' options to select whether you
+ want to display the full name of the sender, the address of his/her
+ mailbox or both.
+
+ * Mailboxes can be assigned hotkeys, which override the default
+ key bindings. This is available as the `!<hotkey>' option.
+
+ * If a mailbox contains no new messages, you can choose to highlight
+ flagged messages (those with `X-Status: F' header, see the `F'
+ command in Mutt) instead. See the `f' option.
+
+ * Folded headers are now parsed properly.
+
+ * Released as 1.0.
+
2006-06-03 Martin Mares <mj@ucw.cz>
* cm.c (add_snippet): Compress spaces and avoid printing unprintable
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR)
LDFLAGS=-lncurses
-VERSION=0.5
+VERSION=1.0
YEAR=2007
all: cm
It can be freely used and distributed according to the terms of the GNU General
Public License version 2, as published by the Free Software Foundation.
-Requirements: libncurses and a decent C99 compiler (preferably GCC).
+Build requirements: libncurses, locales and iconv and a decent C99 compiler
+(preferably GCC).
+
+Usage:
+ see `cm --help'
Keys:
- q quit
+ q / Ctrl-C quit
arrow keys / vi-like movement moves through the list
ENTER invokes mutt (or a program specified
- with the -m option) on the current box
+ with the -m option) on the current mailbox
TAB jumps to the next mailbox with some new
messages (mailboxes with higher priority
are preferred)
0...9 sets minimum priority of mailboxes to show
(0=show all)
b, B enable/disable beeping
+ <hotkey> activate a specific mailbox and invoke mutt
+ on it (hotkeys are defined as mailbox options
+ and they override the default key bindings)
Examples:
Caveats:
- CheckMail currently does no mailbox locking, but the incremental update mechanism
- is able to recover from mailboxes caught in the middle of mail delivery. Will be
- fixed soon.
+ is able to recover from mailboxes caught in the middle of mail delivery.
Please send all bug reports and suggestions to mj@ucw.cz.
return;
}
- /* FIXME: Locking! */
+ /* FIXME: Should we do some locking? */
mb_fd = open(b->path, O_RDONLY);
if (mb_fd < 0)