$Header: /home/users/hurtta/cvsroot/mail/elmme+/README.ME+,v 1.1174.2.33 2008/07/21 20:18:07 hurtta Exp $ Version Elm2.4ME+ PL0 (25) is based on version Elm2.4 PL24 ME8b+. Version Elm2.4 PL24 ME8b+ is based on version Elm2.4 PL24 ME8b. Version Elm2.4 PL24 ME8b is done by Michael Elkins . For details, check file ANNOUNCE.ME [ Michael Elkins posted the equivalent of MIME code in Elm2.4 PL24 ME8b to Elm Development Coordinator. Later changes are not posted to Elm Development Coordinator. ] Version Elm2.4 PL24 ME8b is based on version Elm2.4 PL24. Version Elm2.4ME+ PLx (25) includes patch of version Elm2.4 PL25. Changes on Elm 2.4ME+ PL124c (25) compared with Elm 2.4ME+ PL124b (25) --------------------------------------------------------------------- [ This patch is branch from the Elm 2.4ME+ line. ] SUMMARY: This patch fixes crash on "Metamail selection" screen, error on submission (a kind of smtp) protocol implementation and a couple of valgrind reported memory leaks. - Fixed crash on "Metamail selection" screen, when RIGHT key is pressed. - Fixed valgrind reported memory leak: 4,502 (60 direct, 4,442 indirect) bytes in 2 blocks are definitely lost in loss record 29 of 31 at 0x401C422: malloc (vg_replace_malloc.c:149) by 0x8195CE8: safe_malloc (safemalloc.c:48) by 0x81A3A38: malloc_string (string.c:80) by 0x81A4CB2: cat_strings (string.c:514) by 0x81223D8: browser_cat_local (localmbx.c:1074) by 0x8134F81: give_edit_buffer (savefolder.c:3698) by 0x8072417: gb_browser (browser.c:601) by 0x8090892: enter_helper (in_utils.c:816) by 0x8073071: run_browser (browser.c:1025) by 0x807327A: folder_browser (browser.c:1100) by 0x80AA224: OpenMailbox (openmailbox.c:38) - Fixed valgrind reported memory leak: 4,448 (52 direct, 4,396 indirect) bytes in 1 blocks are definitely lost in loss record 25 of 30 at 0x401C422: malloc (vg_replace_malloc.c:149) by 0x8195CF8: safe_malloc (safemalloc.c:48) by 0x8132218: browser_malloc2 (savefolder.c:2455) by 0x813229A: browser_malloc (savefolder.c:2481) by 0x813251C: new_browser (savefolder.c:2571) by 0x80AA1B6: OpenMailbox (openmailbox.c:30) - Do not malloc empty array on ascify_string() - Fixed valgrind reported memory leak: 10 bytes in 5 blocks are definitely lost in loss record 1 of 23 at 0x401C422: malloc (vg_replace_malloc.c:149) by 0x8195D08: safe_malloc (safemalloc.c:48) by 0x8172A65: hdr_text (hdrdecode.c:502) - Fixed bug where "mailer = submission" was giving RET parameter to RCPT command when it must be on MAIL command on submission (or SMTP) protocol. Changes on Elm 2.4ME+ PL124b (25) compared with Elm 2.4ME+ PL124a (25) --------------------------------------------------------------------- [ This patch is branch from the Elm 2.4ME+ line. ] SUMMARY: This patch fixes errors on cat_strings(), ascii_need_quote(), string_need_quote(), delete_alias_files() and hdr_comment(). Also this patch prevents recursive mail commands via "m)ail -> view) folder" and adds OpenDocument formats to mime.types -file. - Fix small error on cat_strings() where wrong charset name is printed when printind is specified. - Fix small error on ascii_need_quote() and string_need_quote on melib/mime_param.c. Both was missing [] characters. - Fixed error message on delete_alias_files() - Added following new types to doc/mime.types file: application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.chart-template application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.formula-template application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.graphics-template application/vnd.oasis.opendocument.image application/vnd.oasis.opendocument.image-template application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.presentation-template application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.spreadsheet-template application/vnd.oasis.opendocument.text application/vnd.oasis.opendocument.text-master application/vnd.oasis.opendocument.text-template application/vnd.oasis.opendocument.text-web - Fixed the error where hdr_comment() was not correctly dequoting \ -escaping. - Command sequence m)ail -> view) -> ' ' -> m)ail and m)ail -> view) -> ' ' -> b)ounce and m)ail -> view) -> ' ' -> r)eply and m)ail -> view) -> ' ' -> f)orward and m)ail -> view) -> ' ' -> g)roup reply and m)ail -> view) -> ' ' -> Mailing list I)nfo and m)ail -> view) -> ' ' -> ^K (Mail PGP public key) and m)ail -> view) -> ' ' -> generic R)eply were possible. These were sending mail (recursively). Added flag SHOWMSG_NOMAIL which disables mailing commands. Also disallowed m)ail -> view) -> ' ' -> V)iew digests because there also are mailing commands. - Added possible fix for get_word_from_string() Changes on Elm 2.4ME+ PL124a (25) compared with Elm 2.4ME+ PL124 (25) -------------------------------------------------------------------- [ This patch is branch from the Elm 2.4ME+ line. ] SUMMARY: This patch fixes the redraw loop on the Mailcap program selection screen, fixes a double free() on search, and fixes filename handling on attach_save(). - "The attached email triggers a bug in ELM 2.4ME+ PL123. The problem is that reading this email message causes continuous redraw of the screen, and you have to kill elm to exit. I think it is caused by too many attachments." Reported by: Bruce Momjian > Fixed "Metamail selection" / "Mailcap program selection" prompt screen. - "I'm attaching the mailbox consisting of just this message. To reproduce the problem, save it, uncompress, and try searching through the body of the message (using elm) for a string, such as "iegor": bunzip /tmp/spam-crash.bz2 elm -f /tmp/spam-crash // iegor The double-free happens in the following stack: (gdb) where #0 0x0000000800a9855c in kill () from /lib/libc.so.6 #1 0x0000000800a973ed in abort () from /lib/libc.so.6 #2 0x0000000800a36ae5 in _UTF8_init () from /lib/libc.so.6 #3 0x0000000800a36b1c in _UTF8_init () from /lib/libc.so.6 #4 0x0000000800a37abd in _UTF8_init () from /lib/libc.so.6 #5 0x00000000004978f0 in arrange_decoded () #6 0x000000000049ee1b in simple_mime_walk () #7 0x000000000049ecf7 in simple_mime_walk () #8 0x000000000046bae3 in mc_match_in_text_mbx () #9 0x0000000000469ced in mcommon_match_in_text () #10 0x0000000000457cfa in pattern_match () #11 0x00000000004351fe in motion () #12 0x0000000000435945 in mailbox_command () #13 0x0000000000445ae6 in compute_visible () #14 0x0000000000446560 in main_messages_menu () #15 0x00000000004347fd in main ()" Reported by: Mikhail T. > Fixed valgrind reported invalid free: Invalid free() / delete / delete[] at 0x401CFCF: free (vg_replace_malloc.c:235) by 0x8195D38: safe_free (safemalloc.c:104) by 0x8105B6F: arrange_decoded (mime_decode.c:2532) by 0x8111349: simple_mime_walk (mimewalk.c:150) by 0x811118C: simple_mime_walk (mimewalk.c:94) by 0x80C880B: mc_match_in_text_mbx (message_pattern.c:417) by 0x80C5D93: mcommon_match_in_text (mcommon.c:211) by 0x80AE09E: pattern_match (pattern.c:438) by 0x8081755: motion (elm.c:1744) by 0x807FA44: mailbox_command (elm.c:862) by 0x80977BD: main_messages_loop (mailbox.c:233) by 0x809822E: main_messages_menu (mailbox.c:634) Address 0x4491350 is 0 bytes inside a block of size 20 free'd at 0x401CFCF: free (vg_replace_malloc.c:235) by 0x8195D38: safe_free (safemalloc.c:104) by 0x8105B57: arrange_decoded (mime_decode.c:2528) by 0x8111349: simple_mime_walk (mimewalk.c:150) by 0x811118C: simple_mime_walk (mimewalk.c:94) by 0x80C880B: mc_match_in_text_mbx (message_pattern.c:417) by 0x80C5D93: mcommon_match_in_text (mcommon.c:211) by 0x80AE09E: pattern_match (pattern.c:438) by 0x8081755: motion (elm.c:1744) by 0x807FA44: mailbox_command (elm.c:862) by 0x80977BD: main_messages_loop (mailbox.c:233) by 0x809822E: main_messages_menu (mailbox.c:634) - "Not sure if you have fixed this in later releases but in ELM 2.4ME+ PL123 if I try to save a file attachment of type "image/jpeg" and the file name already has extension "jpg" elm suggests the additional extension "jpeg"." Reported by: Bruce Momjian > Filename was not correctly recorded on attach_save() Changes on Elm 2.4ME+ PL124 (25) compared with Elm 2.4ME+ PL123 (25) -------------------------------------------------------------------- SUMMARY: This release collects patches Elm 2.4ME+ PL123a - PL123f. This release fixes a bug in the c)hange folder command that caused lost mail. Some other bugs are also fixed. This release adds some new sub-commands to the elmregister -command. Elm 2.4ME+ is no longer main line (trunk or main branch). - Interpret output of PGP according of mail charset (that is actually done only when that body part was text ... ) - If l)imit command was used, and then Eo) [o)pen mailbox to current view] was used, wrong messages was shown on limited display. Now number of selected message is recalculated after new mailbox is added. - Changed redraw handling on "Keep unread messages in incoming mailbox?" question. - Now "elmregister replay" recreates hard links also when "-R" option is not used (-R option implies moving installation to final place). - Added missing subcommand to elmregister manual page. - Changed "elmregister rpm-list" so that hard links are listed. They are now listed with %ghost macro. - Fixed bug where "elmregister replay -R ..." was setting files to wrong owner (was used gid as uid) on some situation, when file was copied. - Signal failure on read_line() on lib/mbox/localmbx.c if EOF occur before nothing is read. - Fixed Configuration error on Ubuntu 6.06 (GCC 4.0.3) - If after c)hange folder locking of new folder (mailbox) failed, Elm was keeping open old folder, but temp file of older folder (mailbox) was closed. That caused corruption of mailbox. * If "Folder unchanged." message was given, folder was not closed. * Folder was closed on "[Keeping all messages.]" case, it does not need to be closed on here either. > Do not call close_folder() on on real_save() at all. Instead use unlock() on real_cave() ( as in done if 'resyncing' was set ) . * Actual closing of mailbox is done anyway with leave_old_folder() which is called from free_storage() > Splited leave_mbox() to sync_mbox() function which never closes mailbox and close_cleanup_mbox() which does closing (and may remove mailbox). - "There were two adjacent spaces in the first email subject line which were collapsed into one space in the reply, which I think is legal. Perhaps multiple spaces should be collapsed into one for comparison, perhaps near skip_ascii_head_from_string() in thread.c." Suggested by: Bruce Momjian - "./usr/share/elm/elmregister replay -M all -R `pwd`" was segfaulting when moving packgage to final place. Fixed missing initialization on copy_dir(). Problem noted by: Peter Alfredsen - Avoid error "./usr/local/lib/elmregister: [pick_one] '{' no arg 0" when doing "./..../elmregister replay -M all -R `pwd`" - Do not add textual=NULL when parsing syntax error on update_expanded_from_edit_buffer() - Fixed case where changing alias two times without resync caused that alias name was truncated. - Hack creation of some missed directories during installation. - Fixed message [ Use 'Rl' to reply to list or 'I' for list info. ] on case when there is header List-Post: NO (posting not allowed on this list) - Fix panic STRING PANIC in cs_unknown.c:1991:cs_estimate_clip_unknown >>>printable_len not supported on some case when elmrc option locale-charsets is used. - Fixed some problems with Configure on ubuntu. - When locale-charsets = UTF-8 was effect, Elm ME+ was printing [ Charset US-ASCII unsupported, converting... ] > Be sure that cs_unknown gives flag CS_universal_set for UTF-8 as cs_utf was giving. - Avoid error message "Failed save message to folder XXXX" when saving mail from V)iew digest -command and embedded mail do not end to newline. - Fixed compilation on ubuntu (GCC 4.0.2). - "troubles when moving from pgp5 to gpg - cannot encrypt. Seems parsing of gpg --list-public-keys is broken in gnupg 1.4.5. syscall to gpg paramter 8 after receipient is <2> ?!" Problem noted by: Axel Reinhold > Added support for newer gpg versions - "last gpg pathes you sent to me work only on some keys!" Problem noted by: Axel Reinhold > Elm ME+ was adding < > around of address (not related to patch) and therefore gpg did not found key when on key there was no < > around addresses. Removed adding of < >. - Elmrc option verify-local-address did worked only for 'address' but not for '
'. Fixed that. NOTE: However verify-local-address works only when mailer option verify=yes works. Elmrc option mailer=sendmail; verify=yes works only when sendmail is setuid root. Use instead elmrc option mailer=submission; verify=yes - Fixed crash when om elmrc have ### pgp2 = none "Is that "&&" correct? Looking at other "none" comparisons in the file, it isn't. Patch attached, and problem confirmed fixed." From: Bruce Momjian - Option -w did not rebuild .elm/mime.types although error message asked to use -w option. - Error message did not mentioned .elm/mime.types. Added it. - Fixed incorrect generation of elm.mimecharsets file during installation (elm.mimecharsets.NEW was ok). - Avoided error message bin/elmregister: [trim_list] Bad command letter: s - Fixed valgrind reported memory leak: 77 bytes in 2 blocks are definitely lost in loss record 11 of 22 at 0x40179FF: realloc (m_replacemalloc/vg_replace_malloc.c:306) by 0x40E96C6: safe_realloc (safemalloc.c:64) by 0x40DDB39: elm_vmessage (output.c:1302) by 0x40DE1B1: elm_message (output.c:1481) by 0x809F789: set_folder_window_title (screen.c:82) - Fixed valgrind reported memory leak: 57 bytes in 1 blocks are definitely lost in loss record 8 of 22 at 0x40179FF: realloc (m_replacemalloc/vg_replace_malloc.c:306) by 0x40E96C6: safe_realloc (safemalloc.c:64) by 0x40FBE18: strmcat (strmcpy.c:40) by 0x40416EC: strXcat (terminal.c:91) by 0x4043F64: terminal_set_title (terminal.c:1624) by 0x80B1865: set_terminal_titles (termtitle.c:59) - "Looking at my incoming mail I noticed that there is no space (empty line) between the end of one message and the beginning of the next message". Reported by: Noam G. Nudelman > This is regression of Elm 2.4ME+ PL123 (25) or Elm 2.4ME+ PL122j (25). With IMAP fix from 122j content length does not include ending empty line of mail. Fixed mbx_mark_keep_normal() for that. WARNING: On MMDF case mbx_mark_keep_normal() is not fixed and is probably broken. - Patchlevel variable for PL 123 (25) did not included (25). Re-added it, because it is still other places. Perhaps that (25) should be removed. It have little point. - elm.rc may include 'unidata = none'. Avoid failing of 'elmregister replay' because of chmod is failing. > Instead do chmod on elmunidata - Same also for 'bindata = none' (do chmod on elmbindata). - Some -traditional fixes. - Added command "elmregister list" to generate files listing suitable for tar command. Names on list are NL separated. - Added command "elmregister list-directories" to generate directory listing. Changes on Elm 2.4ME+ PL123f (25) compared with Elm 2.4ME+ PL123e (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - "./usr/share/elm/elmregister replay -M all -R `pwd`" was segfaulting when moving packgage to final place. Fixed missing initialization on copy_dir(). Problem noted by: Peter Alfredsen - Avoid error "./usr/local/lib/elmregister: [pick_one] '{' no arg 0" when doing "./..../elmregister replay -M all -R `pwd`" - Do not add textual=NULL when parsing syntax error on update_expanded_from_edit_buffer() - Fixed case where changing alias two times without resync caused that alias name was truncated. - Hack creation of some missed directories during installation. - Fixed message [ Use 'Rl' to reply to list or 'I' for list info. ] on case when there is header List-Post: NO (posting not allowed on this list) Changes on Elm 2.4ME+ PL123e (25) compared with Elm 2.4ME+ PL123d (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix panic STRING PANIC in cs_unknown.c:1991:cs_estimate_clip_unknown >>>printable_len not supported on some case when elmrc option locale-charsets is used. - Fixed some problems with Configure on ubuntu. - When locale-charsets = UTF-8 was effect, Elm ME+ was printing [ Charset US-ASCII unsupported, converting... ] > Be sure that cs_unknown gives flag CS_universal_set for UTF-8 as cs_utf was giving. - Avoid error message "Failed save message to folder XXXX" when saving mail from V)iew digest -command and embedded mail do not end to newline. Changes on Elm 2.4ME+ PL123d (25) compared with Elm 2.4ME+ PL123c (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fixed compilation on ubuntu (GCC 4.0.2). - "troubles when moving from pgp5 to gpg - cannot encrypt. Seems parsing of gpg --list-public-keys is broken in gnupg 1.4.5. syscall to gpg paramter 8 after receipient is <2> ?!" Problem noted by: Axel Reinhold > Added support for newer gpg versions - "last gpg pathes you sent to me work only on some keys!" Problem noted by: Axel Reinhold > Elm ME+ was adding < > around of address (not related to patch) and therefore gpg did not found key when on key there was no < > around addresses. Removed adding of < >. - Elmrc option verify-local-address did worked only for 'address' but not for '
'. Fixed that. NOTE: However verify-local-address works only when mailer option verify=yes works. Elmrc option mailer=sendmail; verify=yes works only when sendmail is setuid root. Use instead elmrc option mailer=submission; verify=yes Changes of Elm 2.4ME+ PL123c (25) compared with Elm 2.4ME+ PL123b (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fixed crash when om elmrc have ### pgp2 = none "Is that "&&" correct? Looking at other "none" comparisons in the file, it isn't. Patch attached, and problem confirmed fixed." From: Bruce Momjian - Option -w did not rebuild .elm/mime.types although error message asked to use -w option. - Error message did not mentioned .elm/mime.types. Added it. Changes of Elm 2.4ME+ PL123b (25) compared with Elm 2.4ME+ PL123a (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fixed incorrect generation of elm.mimecharsets file during installation (elm.mimecharsets.NEW was ok). - Avoided error message bin/elmregister: [trim_list] Bad command letter: s - Fixed valgrind reported memory leak: 77 bytes in 2 blocks are definitely lost in loss record 11 of 22 at 0x40179FF: realloc (m_replacemalloc/vg_replace_malloc.c:306) by 0x40E96C6: safe_realloc (safemalloc.c:64) by 0x40DDB39: elm_vmessage (output.c:1302) by 0x40DE1B1: elm_message (output.c:1481) by 0x809F789: set_folder_window_title (screen.c:82) - Fixed valgrind reported memory leak: 57 bytes in 1 blocks are definitely lost in loss record 8 of 22 at 0x40179FF: realloc (m_replacemalloc/vg_replace_malloc.c:306) by 0x40E96C6: safe_realloc (safemalloc.c:64) by 0x40FBE18: strmcat (strmcpy.c:40) by 0x40416EC: strXcat (terminal.c:91) by 0x4043F64: terminal_set_title (terminal.c:1624) by 0x80B1865: set_terminal_titles (termtitle.c:59) Changes of Elm 2.4ME+ PL123a (25) compared with Elm 2.4ME+ PL123 (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - "Looking at my incoming mail I noticed that there is no space (empty line) between the end of one message and the beginning of the next message". Reported by: Noam G. Nudelman > This is regression of Elm 2.4ME+ PL123 (25) or Elm 2.4ME+ PL122j (25). With IMAP fix from 122j content length does not include ending empty line of mail. Fixed mbx_mark_keep_normal() for that. WARNING: On MMDF case mbx_mark_keep_normal() is not fixed and is probably broken. - Patchlevel variable for PL 123 (25) did not included (25). Re-added it, because it is still other places. Perhaps that (25) should be removed. It have little point. - elm.rc may include 'unidata = none'. Avoid failing of 'elmregister replay' because of chmod is failing. > Instead do chmod on elmunidata - Same also for 'bindata = none' (do chmod on elmbindata). Changes of Elm 2.4ME+ PL123 (25) compared with Elm 2.4ME+ PL122 (25) -------------------------------------------------------------------- Note: You must create directories lib/mbox src/url src/block src/list lib/misc utils/readmsg before applying this patch! - Added view folder command to pre-send menu. This allows attaching messages from current mailbox to mail. - Some changes on mail() -function. - O)verride charset -command did not have effect on non-MIME messages. > Now O)verride charset value is used also on non-MIME messages. - Characters on "Change to which folder:" -prompt was echoed to wrong place after "Already reading that folder!" -message. - "I configured ELM 2.5 alpha 5 just like my ELM 2.5 alpha 4 that compiles nicely and got the following error from init.c on Solaris 8 gcc. <...> In file included from init.c:14: ../../hdrs/shared_imp.h:118: parse error before `*' init.c:18: `rc_DT_SHARED' undeclared here (not in a function)" Problem noted by: James Corey > Elm ME+ failed to compiled when USE_DLOPEN and SHARED_LIBS was not defined. - browser_descend_local() did not handle correctly the case where the given filename did not include path (and there was a directory already selected.) - "I tried your patch for ELM 2.5 alpha5 and it failed to compile on Solaris. So tried the same thing with the new ELM 2.5 alpha6. Same thing." "cs_wfallback.c: In function `init_fallback': cs_wfallback.c:165: `Debug' undeclared (first use in this function)" Reported by: James Corey > Moved DEBUG_VAR(Debug,__FILE__,"charset") outside of #if 0 - On some cases filename -parameter was generated twice to Content-Disposition -header. - Tagged flag of current message was not cleared on V)iew digest command. - Allow canceling Already have selection criteria - add more? prompt with Ctrl-C (interrupt character) on systems which supports POSIX termios. - Let Configure locate ar and nm (and ranlib) instead just using PATH - Let makefiles use ar -command located by Configure - Fix some compilation warnings on SunOS 5.10 - Moved curses.h and term.h including from curses.c to def_screen.h before including termios.h. - SunOS 5.10 (Solaris) has problematic prototype for tputs() and dos not have prototype for tgoto() when __STDC__ is defined. Added some workarounds. * This workaround seems not be required when compiling with gcc - Use both curses.h and term.h on SunOS (Solaris), not only term.h - Do not use USGNAMES on SunOS - iconv() on SunOS uses 'const char **inbuf' argument. * NOTE: Changes for SunOS 5.10 are only compile tested. It is not tested that they produce working code. - Fix USGNAMES compilation. - Fixed valgrind reported error on case elm -i non-existing-file address Conditional jump or move depends on uninitialised value(s) at 0x808B83E: reset_parts (mime.c:105) by 0x808B9D6: free_mime_send_info (mime.c:144) by 0x80871B9: mail (mailmsg2.c:1351) by 0x8083910: send_msg_middle (mailmsg1.c:589) - Ctrl-T {pattern} did not update tags on messages on the screen when visible messages was limited with l)imit -command. - Enchance redrawing on Delete message? "received" folder not available, continue leaving folder? Move read message to "received" folder? -prompts. - Fix -Wtraditional warning: mailer.c:1644: warning: non-static declaration for `sendmail_mailer_backend' follows static - Fix -Wtraditional warning: mailer.c:1902: warning: non-static declaration for `submitmail_mailer_backend' follows static - Fix -Wtraditional warning: mailer.c:1932: warning: non-static declaration for `execmail_mailer_backend' follows static - Fix -Wtraditional warning: ../../hdrs/elmlib.h:2278:21: warning: function-like macro "special" must be used with arguments in traditional C > special() -macro is removed, it seems not be used. ( No other -Wtraditional warnings are fixed. ) - Fixed some -Wuninitialized compilation warnings. - Ctrl-T 'all' did not update tags on messages on the screen when visible messages was limited with l)imit -command. - Ctrl-T 'flagged' did not updated messages on screen to be tagged when visible messages was limited with l)imit -command. - Some minor fixes. - Fix initialization error on lib/read_rc.c (uses $USER instead of $HOME) when pw_dir is NULL. - "tried PL122 - and compiled with new openssl-0.9.8 !: cc -I../include -I/opt/ssl/include -fPIC -O3 -c pop.c -o pop.o In file included from /opt/ssl/include/openssl/crypto.h:131, from /opt/ssl/include/openssl/comp.h:5, from /opt/ssl/include/openssl/ssl.h:176, from elmtls.h:11, from pop.c:10: /opt/ssl/include/openssl/ossl_typ.h:146: parse error before `2'" "a define collision between elm and openssl seams to be occurring! The token "STORE" is used on both sources!" Problem noted by: Axel Reinhold > Changed order of includes. - Do not add parsed (to, from, cc) addresses twice to header_rec. That occured when mail was not downloaded IMAP mailbox was opened and headers was parsed second time when mail was opened. - Create elm.filelist and parent directories of elm.filelist before starting subprocess on "elmregister master". - Moved mailbox related code from libelmme-base.so to libelmme-mbox.so. - Removed provides_shared_CT - When saving mail forder time on "From " -separator line was shifted by one hour if it was on different zone than current time (ie. on daylight saving time versus normal time). - Folder browser was showing wrong entry on prompt line after TAB -character. - Moved some showmsg loops from elm.c to new file showmsg_1.c - Changed implementation of elmrc option "extra-mailbox-dir". - Changed implementation of elmrc option "attachment-dir". - Changed implementation of elmrc option "gpg". - Changed implementation of elmrc option "metamail". - Changed implementation of elmrc option "pgp2". - Changed implementation of elmrc option "pgp5-dir". - Changed implementation of elmrc option "print". - Fix expensive debug loop on imap.c (so that loop is not run if dubugging is not used.) - Moved some code from lib/charset.c to lib/mparse.c - UTF-8 is now required character set on code as is US-ASCII. - When catenating strings prefer UTF-8 charset instead of display charset - Give error if -s 'subject' option is given several times to Elm. - On batch mode standard input is read for mail only when -i (include file) option is not given. (but actually -i option is not allowed on batch mode.) - Added mp_list_set_anon() and mp_lookup_anon() to src/screen/menu_param.c. - some cleanup on mailmsg1() - Changed default of elmrc variable "names" to NO - Removed wra_ReadCh() from src/screen/ - Removed ReadCh (but not menu_ReadCh()) - Removed cur_ReadCH from src/screen/curs_input.c - Added to menu_ReadCh() / menu_ReadCh2() flag READCH_poll, this waits one second for character. If character is not given or POLL_METHOD is not set, this returns TIMOUT_MARK as flag (or character) - Clear redraw flag of prompt area (ie. clear prompt area) after menu_redraw_children() only if redraw flag is set. - Fix redraw handling on do_pipe - "elm -vvv" was printing wrong output: Mailer: unknown; path="/usr/sbin/sendmail" instead of Mailer: sendmail; path="/usr/sbin/sendmail"; add-from="dont"; supported-bodytype="8bit"; supports-dsn="yes" (actually on one line) - Moved main messages menu loop to src/mailbox.c from src/elm.c - exit_prog() no longer call leave but instead returns 1 if caller should exit. - quit() no longer call leave but instead returns 1 if caller should exit. - exit_prog() is renamed to exit_mailbox() - Added some support for RFC 1738 URL -syntax RFC 1738: Uniform Resource Locators (URL) - Added some support for RFC 1808 URL-syntax RFC 1808: Relative Uniform Resource Locators - Added -O 'url' (open url) option to Elm. Error is given if this option is given several times. WARNING: This option does not ask any confirmation. - Added --confirm-url option. This asks confirmation for url given on -O option. - Added support for RFC 2368 mailto -urls. - It is unclear what character set is used on URLs. This especially effects subject header and body pseudo header on mailto url. Following rules are used: - If URL includes non-ascii characters, charset of (decoded) URL is implied charset of URL - If URL includes %XX encoded characters > %7F (ie. non-ascii) charset of decoded URL is UTF-8. This means that %XX encoding is assumed to be use UTF-8 character set. - Note that these two rules are on conflict if some, but not all non-ascii characters are % -encoded. - Added dummy handler for http -URLs. - Added some support for imap -URLs. This support is incomplete and does not fully follow RFC 2192. - ;AUTH= is not supported - ;TYPE= is not supported - ;UIDVALIDITY= is not supported - ;SECTION= is not supported - ;UID= is not supported * Basically only imap mailbox can be specified, not indivual message or list of messages (search result). That is like imap://user@full.hostname/inbox - imap server can not be without mailbox. That is like imap://user@full.hostname/ it is not currently available. - Command elm -O imap://user@full.hostname/inbox can be used. That open imap folder similarly than command elm -f user@full.hostname:inbox - RFC 2192 says that native separator of imap is used as hierarchy separator. This implementation accepts URL separator (/) as hierarcy separator (even when native separator differ.) - Numbers 0-9 are also valid for imap atom. No need to convert parameter to string or literal. - Added RFC 2369 headers to known headers: List-Help, List-Subscribe, List-Unsubscribe, List-Post, List-Owner, List-Archive - Added "List-ID:", "List-Help:", "List-Subscribe:", "List-Unsubscribe:", "List-Post:", "List-Owner:", "List-Archive:" to default weedout list. - RFC 2919 List-ID header is parsed. - RFC 2369 List-help, List-Unsubscribe, List-Subscribe, List-Post, List-Owner and List-Archive are parsed. - Added Generic R)eply -command. That forms following subcommands: Ra Reply to all Rl Reply to a mailing list Ro Reply to the owner of a mailing list Rt Reply to the author of a message - Added Mailing list I)nfo -command. Il Mail a message to a mailing list Io Mail a message to the owner of a mailing list Ih Mailing list help Ia Mailing list archive Is Subscribe a mailing list Iu Unsubscribe a mailing list Note that most of these commands are only able to send mail, so only mailto: -urls works. - Commands Ih Mailing list help Ia Mailing list archive Is Subscribe a mailing list Iu Unsubscribe a mailing list accepts also (subset of) imap: -urls. These commands cause that a new mailbox is entered (visited) when imap: -url refers to whole mailbox. Current mailbox is not closed so this works differently than c)hange folder -command. Also when the mailbox visited is left, messages are not moved to the =received folder. Commands that are available when visiting a mailbox via url are somewhat limited (changing of folder for example is not available). Actually probably command Ia Mailing list archive makes sense from these. - When remote url is referenced, elm asks confirmation from user before entering mailbox/folder. - Also anonymous imap urls such as List-Archive: are supported. - Added common movement routine to src/movement.c. This is used by src/attach_menu.c and src/list/select.c - Made some changes to attachment screen. - "I built your latest elm today and came across a smail issue as I build it on several architectures from the same source tree. I found make clean fails to remove utils/reghelper.o which leads to a failure to link obvously..." Reported by: janjaap@stack.nl (Janjaap van Velthooven) > Added reghelper.o to UTIL_OBJ - Removed cur_Write_to_screen() - Removed cur_PutLineX() - 'V' - command (View digest as mailbox) to help. - Added 'E' as E)xtended command -prefix. - Added 'Ed' as duplication removal mode. Duplicare removal requires that messages have Message-ID. When duplicates are collected also some other headers than Message-ID is checked that they are same. Duplicate removal does not delete messages but shows duplicates as one message on mailbox menu. Status changes are copied to all duplicates when message is read, tagged, flagged or marked for deletion. - NOTE: Mailing lists are not currently supported. Specially duplicates are not currently removed if mail has any List-* -header. - Also on duplicate removal mode folder state does not work and therefore commands which use readmsg. On duplicate removal mode pipe (|) command is not available. - Reimplemeted thread sorting (old code did not work with duplication removal mode.) * NOTE: threads are still based on subject (as on old thread sorting.) - Added 'Et' as view t)hreads -command. On viewing thread return can be used to select particular thread or 'd' can be used to mark all messages of thread to be deleted and 'u' can be used to mark all messages of thread to be undeleted. * NOTE: It is not possible to delete threads. Even when all messages are removed from thread (when messages are actually deleted via resync ($)), thread is still visible if 'Et' command is used. - Added elmrc option "thread-sortby". This specifies sorting order for thread view. Possible values are "sent" and "subject" (also "reverse-sent" and "reverse-subject"). - If "unstable-reverse-thread" is set, reverse-sent sorting of "thread-sortby" is based on lastest message on thread. Therefore thread moves to new location, when new message arrives to thread. - Some code changes on src/messages/ - Moved show_message_status from lib/mbox/mbox.c (originally from src/screen.c) to src/messages/status_common.c - Moved status handling from src/menu_common/mailbox.c to src/messages/status_common.c. Routines on src/menu_common/mailbox.c does just forwarding. - Removed adds_only argument from newmbox_1(). That is always FALSE. New mails are read with read_new_mails() function. - Added "Eo" as o)pen mailbox to current view -command. This works similarly with several -f options on command line. That command opens new mailbox without closing current mailbox. - When displaying some text/plain parts inside of multipart/mixed they are catenated without adding "[ Part #X/X: ... " text between them. Specially allows body part to change inside of line. That should allow changing a charset inside of line. * RFC 2046 says: "NOTE: The CRLF preceding the boundary delimiter line is conceptually attached to the boundary so that it is possible to have a part that does not end with a CRLF (line break)." - Some code changes on content-transfer-encoding decoding routines. - State routines did not handle the situation where charset of mail changed in the middle of the line. Now current line buffer is converted to new charset in that case. - Added V)iew digest as mailbox to 'after paging' (showmsg_c) commands. - On A)ssemble message fragments -command menu there is "o)ptions" -command, but actual command was missing. Added 'o' to command loop. - On digest viewing menu there is "o)ptions" -command, but actual command was missing. Added 'o' to command loop. - Removed valid_option_type() - Removed charset_valid_magic() - Removed valid_stream() - Moved some code, which is used only by elm and config file parsing tools, from libelmme-base.so to libelmme-misc.so. - Moved lib/mediatype.c from libelmme-base.so to libelmme-misc.so. It seems to be used only on Elm so it should not be on library at all. - Changed load_terminal_map() to use malloc_gets() instead of fgets() - Added load_mime_types_map() to libelmme-misc.so - Added dump_mime_types_map() to libelmme-misc.so - Added new tool elmmimetypes, which outputs mime.types or elm.mimetypes file. - Now elm.mimetypes file is generated to elm's library directory during installation. During Configure file goes to bin/elm.mimetypes. - Now mime.types file may include magic numbers or signature (pattern). - It is recommended that both magic numbers and extension is given for mime types. - doc/mime.types is updated. - Builtin mime types map includes now magic numbers so these file extensions does not match if the file content does not match the magic numbers (or file signature). - Changed handling of elm.mimetypes and mime.types - If charset is defined on some other file than elm.mimetypes or mime.types, these definitions are not moved. - Removed "compatcharsets" (marked as obsolete) - Removed "iso646-charsets" (marked as obsolete) - Moved some code from lib/charset.c to lib/misc/charset.c - Elmcharset option -c merges elm.mimecharsets or mime.charsets file with file given as argument. - Configure do no longer read elm.mimecharsets from elm global library directory. Instead existing elm.mimecharsets from elm global library directory are merged during installation (with -c option on elmcharsets). - Option -N is removed from Configure - Elmterminal option -c merges elm.terminalinfo or terminal.info file with file given as argument. - Configure does no longer read elm.terminalinfo from elm global library directory. Instead existing elm.terminalinfo from elm global library directory is merged during installation (with -c option on elmterminal). - Elmmimetypes option -c merges elm.mimetypes or mime.types file with file given as argument. - Configure do no read elm.mimetypes from elm global library directory. Instead existing elm.mimetypes from elm global library directory is merged during installation (with -c option on elmmimetypes). - New values without merging are written to elm.mimetypes.NEW, elm.mimecharsets.NEW, and elm.terminalinfo.NEW during installation. - Configure reports on SunOS 5.10: langinfo.h found, testing nl_langinfo(CODESET) support ... nl_langinfo(CODESET) seems work, charset for C locale is 646 wchar.h found So 646 need to be mapped to ASCII. - Added elmrc option "check-type-pattern". If set (default), mime types are checked, when paging mail, agaist elm.mimetypes and mime.types. If content does not match to any pattern (magic number) given for type, that causes a warning. If on elm.mimetypes or mime.types is any entry for type without pattern, warning is NOT printed. If warning is printed, confirmation is required. This mainly protects routines on mailcap to get bogus types. Notice that this does NOT protect metamail (if used). - Added elmrc option "attachment-fix-extension". If set (default), default file extension is set according of mime type (appending after existing extension of given filename). - If either "attachment-fix-extension" or "check-type-pattern", mime types are checked, when saving mail, agaist elm.mimetypes and mime.types. If content does not match any pattern (magic number) given for type, that causes a warning. - Default file extension is not provided, if attachment content does not match mime type. - When default extension is provied, file browser adds that extension after enter is pressed. Then user is asked to accept that extension by pressing enter second time. - Decoding of content-transfer-encoding of attachments of attachment is changed. Now content-transfer-encoding is decoded to temporary file and after that user is asked about filename. The old behauviour was to decode content-transfer-encoding directly to file given by user. New behauviour is required for checking pattern (magic number) of attachments. - If content-transfer-encoding is unknown, default extension is ".encoded". - Folder and file browser now notices if only directory name prefix is given (ie. name ending in /) and asks confirm (second enter) of name before accepting it. - display_central_message() is called nowhere. Removed it and replaced set_central_message() with lib_transient(), - Small optimization for default_unidata() - Small optimization for mail_gets() - Small optimization for parse_body_routine() - Small optimization for cs_clip_from_binary() - Small optimization for string_cmp() - Optimize find_header() by changing data structure. - Changes on mbx_mark_keep_normal() - Optimize mbx_copy_body_spool() - Changed read_line on lib/mbox/localmbx.c - cuserid() is not used so it needs not be in lib/opt_utils.c either. - removed pmalloc() and lib/pmalloc.c -- they are not used - Converted readmsg to use lib/mbox/mbox.c if state file does not exist. - Now readmsg works also for remote mailboxes - readmsg no longer removes empty lines from the end of message. - Small change on folder state file format. - Added elmrc option readmsg which tells path to readmsg -command (used internally of elm). > Meta expand provides: +filename == file on mail folder directory =filename == file on mail folder directory %filename == file on mail folder directory {rc}/filename == file on .elm subdirectory of home {lib}/filename == file on Elm's global library directory {etc}/filename == file on Elm's global configure directory {bin}/filename == file on Elm's binary installation directory And also same epansions than expand_env(): ~/filename == file on home direccory Environment variable components - Moved encode.c from src/ to melib/ - Moved part of header_parse_helper() from src/messages/header_alloc.c to melib/parse_helper.c - readmsg now outputs only the text only part of a mail by default. - Added -r (do raw output) option to readmsg. - Pipe (|) -command now uses -r option on readmsg. - Readmsg now decodes mime headers, if -r option is not used. - p)rint -command is enabled again. It does something like "readmsg | {print-command}". It was disabled on PL98 because it printed raw mime data. Because readmsg no longer outputs raw mime data, p)rint command can be enabled again. However, it is quite useless. p)rint command now acts as P)rint text -command. - If "store" is given to elmrc option "show-header-errors", header errors are not immediately printed. Letter 'h' is shown as second status letter on that case. - If mime part (or attached file) did not end in newline, garbage from the next part was included in the end of that part. That happened when the file had no LF in the end and the attached file was not required to be content-transfer-encoded. - Fix return value of get_word_from_string() - Elm ME+ failed to wrap mime encoded Subject: header under 80 characters on some situations. - If elmrc option "long-encoded-headers" is not set, Elm ME+ tries to wrap mime encoded headers so that encoded lines are shorter than 80 characters. If elmrc option "long-encoded-headers" is set (default), Elm ME+ tries to wrap headers that way that actual data (without encoding) is shorter than 80 characters. This produces over 80 character (and violates MIME) but may produce nicer result when headers are displayed with encoding decoded (if some part of header is not encoded). This is mainly used on Subject: -header. - Removed STATE_in_string from lib/state.c. It is not used. - Removed STATE_out_string from lib/state.c. It is not used. - Fix panic SCREEN PANIC in screen.c:944:menu_set_default >>>Not a main menu when elm is called as elm < /dev/null - Fix segmentation violation -crash when elm is called as elm --mailbox-title=xxx -f x -f z (when given folders do not exist.) - Allow setting "receivedmail" elmrc option (normally "=received") to "none". This disables Move read messages to "received" folder? (y/n) question. When "receivedmail" is set to "none", ">" can not be used as folder name. Requested by: Laura Kataja - Allow setting "sentmail" elmrc option (normally "=sent") to "none". When "sentmail" is set to "none", "<" can not be used as folder name. - If "sentmail" is set to "none", "copy" defaults to OFF. - Fix (or work around) error Message contains bare newlines when saving to some IMAP servers. - Make little better decoding of MIME encoding of subject. - Changed spelling of "Millenium" to "Millennium". Suggested by: Rob Kendrick - Removed lib/move_left.c. It is not used. - Elm failed add / to tmp elmrc variable when it was initialized from $TMPDIR - "The attached patch to elm PL122 causes THREAD sorting to go to the bottom of the mailbox if there are no unread messages, instead of the top. This is already done for sorts in mailbox order, sent, and received order, but I use thread by default, so this patch is helpful to me." From: Bruce Momjian - Let elm accept 'kb' from termcap also as backspace and not only VERASE value got from tty. - Allow marking messages deleted also with delete key ('kD' from termcap). - Let end key ('@7' from termcap) to go to the end of the message list. Corresponding to that the home key goes to the beginning of the message list. - Temporary copy for imap and pop folders is not longer /tmp/mbox.user@host or /tmp/mbox.user@host:tail. Instead it is /tmp/mbox.$USER.host.XXXX.XXXX - It is possible to use usernames which include / -character with IMAP -url syntax (/ need to be URL escaped). For example elm -O imap://dom%2Fuser%2Fmbx@server/INBOX ( Some exchange servers uses usernames like dom/user/mbx ) - Fix crash when loading garbage spool folder (ie. mailbox). New elmrc options: thread-sortby check-type-pattern attachment-fix-extension long-encoded-headers readmsg New command line options: -O Open url --confirm-url Ask option New tools: elmmimetypes New files: src/view_folder.c lib/mbox/Makefile.SH lib/mbox/def_mbox.h lib/mbox/init.c lib/mbox/remote_mbx.c lib/mbox/shared_mbox.c hdrs/mboxlib.h hdrs/state_imp.h lib/mbox/state.c lib/mbox/headers.c hdrs/connection_imp.h src/showmsg_1.c src/url/Makefile.SH src/url/def_url.h src/url/url.c src/url/url_element.c lib/mparse.c src/url/url_path.c src/url/no_url.c src/url/mailto.c src/block/block.c src/block/def_block.h src/block/fileblock.c src/block/stringblock.c src/list/def_list.h src/list/Makefile.SH src/list/list.c src/list/reply.c src/list/select.c src/list/info.c src/movement.c src/extended.c src/duplicate_removal.c src/messages/duplicate.c src/messages/status.c src/messages/status_common.c src/openmailbox.c lib/misc/Makefile.SH lib/misc/def_misc.h lib/misc/init.c hdrs/misclib.h lib/misc/terminal.c lib/misc/mime_types.c utils/elmmimetypes.c doc/elmmimetypes.1 ConfTool/GenMimetypes lib/misc/charset.c src/url/http.c src/messages/thread.c src/thread.c src/messages/thread_messages.c src/view_one_thread.c melib/type_check.c utils/readmsg/Makefile.SH utils/readmsg/def_readmsg.h utils/readmsg/fstate.c utils/readmsg/wrapper.c hdrs/readmsg.h utils/readmsg/folder.c lib/mbox/error.c melib/parse_helper.c src/url/imap.c src/mailbox.c src/list/visit_mailbox.c Moved files: lib/mbox.c => lib/mbox/mbox.c lib/localmbx.c => lib/mbox/localmbx.c lib/savefolder.c => lib/mbox/savefolder.c lib/imap.c => lib/mbox/imap.c lib/pop.c => lib/mbox/pop.c lib/mk_lockname.c => lib/mbox/mk_lockname.c lib/realfrom.c => lib/mbox/realfrom.c lib/forwarded.c => lib/mbox/forwarded.c lib/header_cmp.c => lib/mbox/header_cmp.c lib/expires.c => lib/mbox/expires.c lib/parsarpdat.c => lib/mbox/parsarpdat.c lib/getword.c => lib/mbox/getword.c lib/mediatype.c => lib/misc/mediatype.c utils/readmsg.c => utils/readmsg/readmsg.c src/encode.c => melib/encode.c Removed files: lib/move_left.c Changes of Elm 2.4ME+ PL122l (25) compared with Elm 2.4ME+ PL122k (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix crash when loading garbage spool folder (ie. mailbox). - Elm failed add / to tmp elmrc variable when it was initialized from $TMPDIR - Some compilation fixes on SunOS. * NOTE: Changes for SunOS 5.10 are only compile tested. It is not tested that they produce working code. - tputs() workaround on Elm 2.4ME+ PL122d (25) causes compilation warning on SunOS, if compiled with gcc. Use workaround only when gcc is not used. Changes of Elm 2.4ME+ PL122k (25) compared with Elm 2.4ME+ PL122j (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Mime encoding change on PL122j caused regression. Specially folding (of Subject) did not replaced space with folding but folding was appending after space. Logically after folding there was two spaces. - Specially Elm ME+ do not concate mime encoded words to together when decoding them if there is more than one space between. > Fixed folding so that space is replaced with folding. - Make little better decoding of MIME encoding of subject. Specially allow more than one space between mime encoded words. - Changed spelling of "Millenium" to "Millennium". Suggested by: Rob Kendrick * In my English to Finnish dictionary there is a word "millenium". And there is no word "millennium" in the dictionary. But apparently my dictionary is wrong. Changes of Elm 2.4ME+ PL122j (25) compared with Elm 2.4ME+ PL122i (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Elm ME+ failed to wrap mime encoded Subject: header under 80 characters on some situations. - Fix return value of get_word_from_string() - Fix case where "Metamail selection" -screen actually not prompted for metamail. - Fix panic SCREEN PANIC in screen.c:929:menu_set_default >>>Not a main menu when elm is called as elm < /dev/null - Fix segmentation violation -crash when elm is called as elm --mailbox-title=xxx -f x -f z (when given folders do not exists.) - Fix (or work around) error Message contains bare newlines when saving to some IMAP servers. Changes of Elm 2.4ME+ PL122i (25) compared with Elm 2.4ME+ PL122h (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - If mime part (or attached file) did not end in a newline, garbage from the next part (until the first LF) was included in the end of that part. That happened when the file or mime part didn't have an LF in the end and it was not required to be content-transfer-encoded. > Fixed copy_part() Changes of Elm 2.4ME+ PL122h (25) compared with Elm 2.4ME+ PL122g (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - "I built your latest elm today and came across a smail issue as I build it on several architectures from the same source tree. I found make clean fails to remove utils/reghelper.o which leads to a failure to link obvously..." Reported by: janjaap@stack.nl (Janjaap van Velthooven) > Added reghelper.o to UTIL_OBJ - Added 'V' - command (View digest as mailbox) to help. - Added resort_mailbox() to leaving of A)ssemble message fragments -command/mode. Otherwise main mailbox is incorrectly sorted if new mail was arrived when A)ssemble message fragments -mode was active. - Fix possible redraw loop when prompting password - On A)ssemble message fragments -command menu there is "o)ptions" -command, but actual command was missing. Added 'o' to command loop. - On digest viewing menu there is "o)ptions" -command, but actual command was missing. Added 'o' to command loop. Changes of Elm 2.4ME+ PL122g (25) compared with Elm 2.4ME+ PL122f (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix expansive debug loop on imap.c (so that loop is not run if dubugging is not used.) - Fix redraw handling on do_pipe - "elm -vvv" was printing wrong output: Mailer: unknown; path="/usr/sbin/sendmail" instead of Mailer: sendmail; path="/usr/sbin/sendmail"; add-from="dont"; supported-bodytype="8bit"; supports-dsn="yes" (actually on one line) Changes of Elm 2.4ME+ PL122f (25) compared with Elm 2.4ME+ PL122e (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - When saving mail forder time on "From " -separator line was shifted by one hour if it was on different zone than current time (ie. on daylight saving time versus normal time). - Folder browser was showing wrong entry on prompt line after TAB -character. Changes of Elm 2.4ME+ PL122e (25) compared with Elm 2.4ME+ PL122d (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - O)verride charset -command did was not effect on non-MIME messages. - Characters on "Change to which folder:" -prompt was echoed to wrong place after "Already reading that folder!" -message. Changes of Elm 2.4ME+ PL122d (25) compared with Elm 2.4ME+ PL122c (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - "I configured ELM 2.5 alpha 5 just like my ELM 2.5 alpha 4 that compiles nicely and got the following error from init.c on Solaris 8 gcc. <...> In file included from init.c:14: ../../hdrs/shared_imp.h:118: parse error before `*' init.c:18: `rc_DT_SHARED' undeclared here (not in a function)" Problem noted by: James Corey > Elm ME+ failed to compiled when USE_DLOPEN and SHARED_LIBS was not defined. - browser_descend_local() did not handled correctly case where given filename did not included path (and there was directory already selected.) - "I tried your patch for ELM 2.5 alpha5 and it failed to compile on Solaris. So tried the same thing with the new ELM 2.5 alpha6. Same thing." "cs_wfallback.c: In function `init_fallback': cs_wfallback.c:165: `Debug' undeclared (first use in this function)" Reported by: James Corey > Moved DEBUG_VAR(Debug,__FILE__,"charset") outside of #if 0 - On some cases filename -parameter was generated twice to Content-Disposition -header. - Tagged flag of current message was not cleared on V)iew digest command. - Allow canceling Already have selection criteria - add more? prompt with Ctrl-C (interrupt character) on systems which supports POSIX termios. - Let Configure locate ar and nm (and ranlib) instead just using PATH - Let makefiles use ar -command located by Configure - Fix some compilation warnings on SunOS 5.10 - Moved curses.h and term.h including from curses.c to def_screen.h before including termios.h. - SunOS 5.10 (Solaris) have problematic prototype for tputs() and do not have prototype for tgoto() when __STDC__ is defined. Added some workarounds. - Use both curses.h and term.h on SunOS (Solaris), not only term.h - Do not use USGNAMES on SunOS - iconv() on SunOS uses 'const char **inbuf' argument. * NOTE: Changes for SunOS 5.10 are only compile tested. It is not tested that they produce working code. - Fix USGNAMES compilation. Changes of Elm 2.4ME+ PL122c (25) compared with Elm 2.4ME+ PL122b (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fixed valgrind reported error on case elm -i non-existing-file address Conditional jump or move depends on uninitialised value(s) at 0x808B83E: reset_parts (mime.c:105) by 0x808B9D6: free_mime_send_info (mime.c:144) by 0x80871B9: mail (mailmsg2.c:1351) by 0x8083910: send_msg_middle (mailmsg1.c:589) - Ctrl-T {pattern} did not updated messages on screen to be tagged when visible messages was limited with l)imit -command. - Enchance redrawing on Delete message? "received" folder not available, continue leaving folder? Move read message to "received" folder? -prompts. - Fix -Wtraditional warning: mailer.c:1644: warning: non-static declaration for `sendmail_mailer_backend' follows static - Fix -Wtraditional warning: mailer.c:1902: warning: non-static declaration for `submitmail_mailer_backend' follows static - Fix -Wtraditional warning: mailer.c:1932: warning: non-static declaration for `execmail_mailer_backend' follows static - Fix -Wtraditional warning: ../../hdrs/elmlib.h:2278:21: warning: function-like macro "special" must be used with arguments in traditional C > special() -macro is removed, it seems not be used. ( No other -Wtraditional warnings are fixed. ) Changes of Elm 2.4ME+ PL122b (25) compared with Elm 2.4ME+ PL122a (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fixed some -Wuninitialized compilation warnings. - Ctrl-T 'all' did not updated messages on screen to be tagged when visible messages was limited with l)imit -command. - Ctrl-T 'flagged' did not updated messages on screen to be tagged when visible messages was limited with l)imit -command. - Some minor fixes. Changes of Elm 2.4ME+ PL122a (25) compared with Elm 2.4ME+ PL122 (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix initialization error on lib/read_rc.c (uses $USER instead of $HOME) when pw_dir is NULL. - "tried PL122 - and compiled with new openssl-0.9.8 !: cc -I../include -I/opt/ssl/include -fPIC -O3 -c pop.c -o pop.o In file included from /opt/ssl/include/openssl/crypto.h:131, from /opt/ssl/include/openssl/comp.h:5, from /opt/ssl/include/openssl/ssl.h:176, from elmtls.h:11, from pop.c:10: /opt/ssl/include/openssl/ossl_typ.h:146: parse error before `2'" "a define collision between elm and openssl seams to be occurring! The token "STORE" is used on both sources!" Problem noted by: Axel Reinhold > Changed order of includes. - Do not add addresses parsed (to, from, cc) addresses twice to header_rec. That occured when mail was not downloaded IMAP mailbox was opened and headers was parsed second time when mail was opened. - Create elm.filelist and parent directories of elm.filelist before starting subprocess on "elmregister master". Changes of Elm 2.4ME+ PL122 (25) compared with Elm 2.4ME+ PL121 (25) -------------------------------------------------------------------- Note: You must create directory lib/mailer before applying this patch! Undo Elm 2.4ME+ PL121a (25) - Elm 2.4ME+ PL121h (25) patches before applying this patch. WARNING: Quite lot of changes in many areas. So please report new bugs which you observe... * Some changes on screen handling: - Moved title, menu and prompt area on mailbox, aliases and attachment screens to own subpage. - Changed layout of attachment screen more similar than other screens. - Removed redraw flag from main loop. - Removed nufoot flag from main loop. - Removed redraw flag from mailbox_command(). - Removed redraw flag from motion(). - Removed nufoot flag from mailbox_command(). - Removed nufoot flag from motion(). - Removed redraw flag from new_mail_check(). - Removed redraw flag from partial_loop(). - Removed nufoot flag from partial_loop(). - Removed redraw flag from digest_loop(). - Removed nufoot flag from digest_loop(). - Removed redraw flag from view_canceled_mails(). - Removed nufoot flag from view_canceled_mails(). - Removed redraw flag from alias(). - Removed nutitle flag from alias(). - Removed nufoot flag from alias(). - Changed passing of redraw data from remail(). - Removed redraw flag from remail(). - Changed passing of redraw data from forward(). - Changed passing of redraw data from reply_to_everyone(). - Removed redraw flag from reply_to_everyone(). - Changed passing of redraw data from send_msg_l() and send_msg_middle(). - Changed passing of redraw data from reply(). - Removed redraw flag from reply(). - Changed passing of redraw data from mail_filled_in_form(). - Changed passing of redraw data from pgp_mail_public_key(). - Changed passing of redraw data from print_text(). - Changed passing of redraw data from save(). - Changed method how headers on aliases and mailbox screen are drawn and updated. - Removed inalias, last_current, last_header_page, headers_per_page and nucurr global variables. - One more mail is listed on mailbox screen. - Removed passing of header_page variable. - Changed method how screen is handled on 'after paging' commands (showmsg_c). - Removed/changed passing of redraw flag on file_browser(), gen_browser() folder_browser(), attach_save() - Changed passing of redraw data from name_copy_file(). - Changed handling of 'prompt area' on Mail Pre-Send Screen and on Message Header Edit Screen screen. - If several -f option is given (for combined view of given folders), starting of Elm ME+ do not fail if first folder is inaccessible. - Handle REDRAW_MARK on pgp_encrypt() - "If you had no aliases yet, and pushed j or k in the aliases menu (or the down or up arrows), you had a "bad item" "common menu panic". The reason was a missing "break" statement in alias_item.c, which was present in the approprite place in mailbox_item.c" From: Kovacs Baldvin ( Patch was agaist Elm ME+ 2.5 but applies also to Elm 2.4ME+ ) - Fix error message Path component "none" not absolute on key "internal-mailcaps" value "none" when on elmrc have line internal-mailcaps = none - Added elmrc option "pgp-encrypt-type", which take values "application/pgp", "text/plain" and "text/x-pgp" (without quotes). These are same values than for pgp-sign-type. Except that this is for encryption. Because encrypted data is ascii armored, also text -type can be used here. Requested by: Axel Reinhold NOTE: Note that using text/plain for excrypted data causes that charset=US-ASCII is used always (for type application/pgp charset paramater is not added). It is little guestionable is that correct. These encrypted types do not interact very well with charsets anyway. - "MIME structure Menu" was draw incorrectly when arrow cursor was used. - "MIME structure Menu" screen's layout now resembles more main mailbox screen. - Handle some ambiguous multipart boundary prefixes. - Ignore empty line before "begin " on uudecode. - "I am seeing two exit messages if I start elm and exit right away using ELM 2.4ME+ PL121" Problem noted by: Bruce Momjian - "On a Solaris 8 machine, if I enter ELM and don't make any changes it now says "Folder unchanged." twice. Not a big deal, but I thought I should report it. :-)" Problem noted by: James Corey > Make sure that first message is erased on exit (usually ti/te erases screen or changes buffers, but that apply to "elm -t" also.) - Added elmrc option "prompt-metamail". If set, also text Parsing MIME structure... metamail not needed is not printed after Parsing MIME structure... text, because opposite situation will be prompted! - Setting "prompt-metamail" (default) causes showing of "Metamail selection" screen. This is same screen than "Mailcap program selection" screen. Answering prompt with p)age command changes screen to "Mailcap program selection" screen. Answering proompt with m)etamail command calls metamail. - Allow canceling of Mailcap program selection with Ctrl-C (interrupt character) on systems which supports POSIX termios. - Canceling of Append to an existing file XXX ? Append to mail folder XXX ? Create a new file XXX ? Create a new mail folder XXX ? Some XXX are already tagged. Remove Tags? One XXX is already tagged. Remove Tags? Are you sure you want to remail this message ? prompts with Ctrl-C (interrupt character) is possible on systems which supports POSIX termios. - Added to Mailcap program selection screen same title than on pager (on case when elmrc option "titles" is set (default)). - "First I did not even understand what I am asked in the attach menu. I tried a .ps file, then I had a question "Use gnome-gv to..." blabla, yes or no. And down there I had "Answer questions, or m)etamail, or q)uit". Now "quit" did not quit from aliases, but instead it behaved as an "OK". Pushing 'm' worked, but I did not know wether it utilized the answer that I gave already, since it asked again (!) if I'd like to use gnome-gv. "F?ck, I do", I thought... Then I've realized what is going on: after I answered yes for the first question, I need to say quit, and then I get gnome-gv..." Problem noted by: Kovacs Baldvin > Changed q)uit command to d)one on Mailcap program selection screen. - Letters 'q' and 'i' leaves now Mailcap program selection without paging message. Note that this changes meaning of 'q' -command. - Added O)verride charset and Ctrl-K (Mail PGP public key) to 'after paging' (showmsg_c) commands. - Added redraw handling to following prompts: Already have selection criteria - add more? Enter criteria or '?' for help: - Fixed valgrind reported memory leak: 32 bytes in 2 blocks are definitely lost in loss record 6 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8151DBF: safe_malloc (safemalloc.c:47) by 0x8069EEE: attach_menu (attach_menu.c:2433) - Add redraw handling to display_file() - Fixed "Reverse Thread" sorting order. - Fixed valgrind reported memory leak: 56 bytes in 5 blocks are definitely lost in loss record 9 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8147F8F: safe_malloc (safemalloc.c:47) by 0x80E9095: new_state_1 (charset_input.c:18) by 0x80F9FFC: cs_add_streambyte_to_utf8 (cs_utf.c:348) - Fixed valgrind reported memory leak: 16 bytes in 2 blocks are definitely lost in loss record 3 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8147F8F: safe_malloc (safemalloc.c:47) by 0x8163E41: malloc_string (string.c:116) by 0x8163FBC: new_string (string.c:153) by 0x80876EA: read_number (in_utils.c:282) - Fixed valgrind reported memory leak: 30 bytes in 1 blocks are definitely lost in loss record 7 of 29 at 0x4002668F: realloc (vg_replace_malloc.c:310) by 0x8148225: safe_realloc (safemalloc.c:63) by 0x8133394: elm_vmessage (output.c:1281) by 0x8133A5E: elm_message (output.c:1460) by 0x80FD9DA: init_debug (debug.c:58) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 1 of 31 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148173: safe_malloc (safemalloc.c:47) by 0x8145BA9: split_remote_name (remote_mbx.c:620) by 0x814ADA3: browser_folder_from_dummy (savefolder.c:1076) - Fixed valgrind reported memory leak: 14 bytes in 1 blocks are definitely lost in loss record 3 of 31 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148349: safe_strdup (safemalloc.c:79) by 0x8145B8E: split_remote_name (remote_mbx.c:618) by 0x814ADA3: browser_folder_from_dummy (savefolder.c:1076) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 1 of 30 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148237: safe_malloc (safemalloc.c:47) by 0x8164109: malloc_string (string.c:116) by 0x8164FDC: cat_strings (string.c:449) by 0x81307E5: elm_smessage (output.c:857) by 0x8087063: prompt_letter (in_utils.c:84) - Fixed valgrind reported memory leak: 29 bytes in 5 blocks are definitely lost in loss record 7 of 30 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148243: safe_malloc (safemalloc.c:47) by 0x8105414: rfc822_tokenize (getaddr.c:37) by 0x8061333: do_expand_group_l (aliaslib.c:88) - Fixed valgrind reported memory leak: 7104 bytes in 1 blocks are definitely lost in loss record 27 of 29 at 0x4002668F: realloc (vg_replace_malloc.c:310) by 0x8148339: safe_realloc (safemalloc.c:63) by 0x80BFA69: add_canceled_mail1 (canceled_mail.c:1291) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 2 of 29 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x814826B: safe_malloc (safemalloc.c:47) by 0x816413D: malloc_string (string.c:116) by 0x81642B8: new_string (string.c:153) by 0x80885D9: enter_helper (in_utils.c:656) by 0x8089324: optionally_enter2 (in_utils.c:1115) by 0x808E52B: limit (limit.c:110) - Removed pattern_enter() - Fixed "Append to mail folder " -question. - Changed IMAP \Flagged that they are not longer tagged (+), but instead marked with new flag (F) as flagged. - \Flagged is shown on place of '+' on screen as 'F'. - \Flagged can be modified with with new toggle F)lag command - Flag is saved as letter F on Status: -header for local mailbox - Giving argument "flagged" (without quotes) to l)imit command selects flagged messages. That is not mentioned "?" help of l)imit command, because it it does not fit to 80 characters. That is similar than "tagged" argument to l)imit command. - Command Ctrl-D accepts argument "flagged" (without quotes) which deletes all visible flagged messages. - Command Ctrl-D accepts argument "flagged" (without quotes) which tags all visible flagged messages. - Command Ctrl-U accepts argument "flagged" (without quotes) which undeletes all visible flagged messages. - Changed Ctrl-D command with argument "tagged" (without quotes) so that it deletes only all visible tagged messages (it was deleting also messages which was not on limited selection.) - Set close-on-exec flag for opened local mailbox. - "I am seeing two exit messages if I start elm and exit right away using ELM 2.4ME+ PL121" Problem noted by: Bruce Momjian - "On a Solaris 8 machine, if I enter ELM and don't make any changes it now says "Folder unchanged." twice. Not a big deal, but I thought I should report it. :-)" Problem noted by: James Corey > Make sure that first message is erased on exit (often ti/te erases screen or changes buffers, but that problem apply to "elm -t" also.) - Fix case whare ascii only mail was sent with headers Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 instead of Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII - Added mlterm to terminal.info without charset UTF-8. To actually use that terminal definition you need also doc/term/mlterm.ti from mlterm distribution. Install it with 'tic' command. Then you need start start mlterm with 'mlterm -y mlterm' option, otherwise mlterm sets $TERM to xterm. - Seems that mlterm do not handle return to ISO 2022 code ( ESC % @ ) or switch to UTF-8 code ( ESC % G ) ? - Also Elm ME+ do not handle double wide UTF-8 characters - Fixed case where switch to UTF-8 code ( ESC % G ) was given on several times. However after ESC % G only ESC % @ is valid. - Now ConfTool/GenCharmap adds mapping from ConfTool/mapfiles to bin/elm.mimecharsets even when elm.mimecharsets have already alias definition for charset. - Added eucJP, eucKR, EUC-CN, GB2312, eucCN and Big5-HKSCS, Big5HKSCS to ConfTool/CharMap - Let ConfTool/LocaleMap also to use ConfTool/validcharset - Changed on lib/precompiled_sets.c: * Changed "ECMA-cyrillic" type from cs_unknown to cs_ascii and given mime name KOI8-E * Added ISO 2022 code for KOI8-E (ISO-IR-111) * Added ISO 2022 code for IRV (codeset "ISO_646.irv:1983") (ISO-IR-2) * Added ISO 2022 code for ISO646-GB (codeset "BS_4730") (ISO-IR-4) * Changed codeset "NATS-SEFI" (ISO-IR-8-1) type from cs_unknown to cs_iso646 * Added ISO 2022 code for codeset "NATS-SEFI" (ISO-IR-8-1) * Added ISO 2022 code for codeset "NATS-SEFI-ADD" (ISO-IR-8-2) (XX) * Added ISO 2022 code for codeset "NATS-DANO" (ISO-IR-9-1) * Added ISO 2022 code for codeset "NATS-DANO-ADD" (ISO-IR-9-2) (XX) * Added ISO 2022 code for ISO646-FI (codeset "SEN_850200_B") (ISO-IR-10) * Added ISO 2022 code for ISO646-SE2 (codeset "SEN_850200_C") (ISO-IR-11) * Added ISO 2022 code for codeset "KS_C_5601-1987" (ISO-IR-149) (XX) * Changed codeset "KS_C_5601-1987" type from cs_unknown to cs_iso2022 * Added ISO 2022 code for codeset "JIS_C6220-1969-jp" (ISO-IR-13) (XX) * Changed codeset "JIS_C6220-1969-jp" type from cs_unknown to cs_iso2022 * Added ISO 2022 code for ISO646-IT (codeset "IT") (ISO-IR-15) * Added ISO 2022 code for ISO646-PT (codeset "PT") (ISO-IR-16) * Added ISO 2022 code for ISO646-ES (codeset "ES") (ISO-IR-17) * Added ISO 2022 code for codeset "greek7-old" (ISO-IR-18) * Added ISO 2022 code for codeset "latin-greek" (ISO-IR-19) * Added ISO 2022 code for ISO646-DE (codeset "DIN_66003") (ISO-IR-21) * Added ISO 2022 code for ISO646-FR1 (codeset "NF_Z_62-010_(1973)") (ISO-IR-25) * Added ISO 2022 code for codeset "Latin-greek-1" (ISO-IR-27) * Added ISO 2022 code for codeset "ISO_5427" (ISO-IR-37) * Added ISO 2022 code for codeset "JIS_C6226-1978" (ISO-IR-42) (XX) * Changed codeset "JIS_C6226-1978" from type cs_unknown to cs_iso2022 * Added ISO 2022 code for codeset "BS_viewdata" (ISO-IR-47) * Added ISO 2022 code for codeset "INIS" (ISO-IR-49) * Added ISO 2022 code for codeset "INIS-8" (ISO-IR-50) * Added ISO 2022 code for codeset "INIS-cyrillic" (ISO-IR-51) * Added ISO 2022 code for codeset "ISO_5427:1981" (ISO-IR-54) (XX) * Added ISO 2022 code for codeset "ISO_5428:1980" (ISO-IR-55) * Added ISO 2022 code for codeset "ISO_5428:1980" (ISO-IR-55) * Added ISO 2022 code for ISO646-CN (codeset "GB_1988-80") (ISO-IR-57) * Added ISO 2022 code for codeset "GB_2312-80" (ISO-IR-58) (XX) * Changed codeset "GB_2312-80" type from cs_unknown to cs_iso2022 * Added ISO 2022 code for ISO646-NO (codeset "NS_4551-1") (ISO-IR-60) * Added ISO 2022 code for ISO646-NO2 (codeset "NS_4551-2") (ISO-IR-61) * Added ISO 2022 code for ISO646-FR (codeset "NF_Z_62-010") (ISO-IR-69) * Added ISO 2022 code for codeset "videotex-suppl" (ISO-IR-70) (XX) * Added ISO 2022 code for ISO646-PT2 (codeset "PT2") (ISO-IR-84) * Added ISO 2022 code for ISO646-ES2 (codeset "ES2") (ISO-IR-85) * Added ISO 2022 code for ISO646-HU (codeset "MSZ_7795.3") (ISO-IR-86) * Added ISO 2022 code for codeset "JIS_C6226-1983" (ISO-IR-87) (XX) * Changed codeset "JIS_C6226-1983" type from cs_unknown to cs_iso2022 * Added ISO 2022 code for codeset "ASMO_449" (ISO-IR-89) * Added ISO 2022 code for codeset "iso-ir-90" (XX) * Added ISO 2022 code for codeset "JIS_C6229-1984-a" (ISO-IR-91) * Added ISO 2022 code for ISO646-JP-OCR-B (codeset "JIS_C6229-1984-b") (ISO-IR-92) * Added ISO 2022 code for "JIS_C6229-1984-b-add" (ISO-IR-93) (XX) * Added ISO 2022 code for codeset "JIS_C6229-1984-hand" (ISO-IR-94) * Added ISO 2022 code for codeset "JIS_C6229-1984-hand-add" (ISO-IR-95) (XX) * Added ISO 2022 code for codeset "JIS_C6229-1984-kana" (ISO-IR-96) * Added ISO 2022 code for codeset "ISO_2033-1983" (ISO-IR-98) (XX) * Added ISO 2022 code for codeset "ANSI_X3.110-1983" (ISO-IR-99) (XX) * Added ISO 2022 code for codeset "T.61-7bit" (ISO-IR-102) * Added ISO 2022 code for codeset "T.61-8bit" (ISO-IR-103) * Added ISO 2022 code for ISO646-CA (codeset "CSA_Z243.4-1985-1") (ISO-IR-121) * Added ISO 2022 code for ISO646-CA2 (codeset "CSA_Z243.4-1985-2") (ISO-IR-122) * Added ISO 2022 code for codeset "CSA_Z243.4-1985-gr" (ISO-IR-123) (XX) * Added ISO 2022 code for codeset "T.101-G2" (ISO-IR-128) (XX) * Added ISO 2022 code for codeset "T.101-G2" (ISO-IR-128) (XX) * Added ISO 2022 code for codeset "CSN_369103" (ISO-IR-139) * Changed codeset "CSN_369103" type fom cs_unknown to cs_ascii * Added ISO 2022 code for ISO646-YU (codeset "JUS_I.B1.002") (ISO-IR-141) * Added to ISO646 sets that MIME-subset=INVARIANT * Added ISO 2022 code for codeset "ISO_6937-2-add" (ISO-IR-141) * Added ISO 2022 code for codeset "IEC_P27-1" (ISO-IR-143) * Changed codeset "IEC_P27-1" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "JUS_I.B1.003-serb" (ISO-IR-146) * Added ISO 2022 code for codeset "JUS_I.B1.003-mac" (ISO-IR-147) * Added ISO 2022 code for codeset "greek-ccitt" (ISO-IR-150) * Added ISO 2022 code for ISO646-CU (codeset "NC_NC00-10:81") (ISO-IR-151) * Added ISO 2022 code for codeset "ISO_6937-2-25" (ISO-IR-152) * Changed codeset "ISO_6937-2-25" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "GOST_19768-74" (ISO-IR-153) * Changed codeset "GOST_19768-74" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "GOST_19768-74" (ISO-IR-153) * Added ISO 2022 code for codeset "ISO_8859-supp" (ISO-IR-154) (XX) * Changed codeset "ISO_8859-supp" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "ISO_10367-box" (ISO-IR-155) (XX) * Changed codeset "ISO_10367-box" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "latin-lap" (ISO-IR-158) (XX) * Changed codeset "latin-lap" type from cs_unknown to cs_ascii * Added ISO 2022 code for codeset "JIS_X0212-1990" (ISO-IR-159) (XX) * Changed codeset "JIS_X0212-1990" type from cs_unknown to cs_iso2022 (XX) Actually it is unclear what that is supposed to mean on context of http://www.iana.org/assignments/character-sets Most of these are not standalone character sets on that sense what MIME use term 'charset' .... - Configure now tests if system support wchar_t type functions. - Moved code of unknown charset type (cs_unknown) from lib/cs_binary.c to lib/cs_unknown.c - File lib/cs_wfallback.c includes 'fallback' mapping for whar_t, similar than lib/cs_fallback.c files 'fallback' definition. - Unknown system (locale) charset is now implemented with wide characters (wchar_t) on systems which support it. Also support of wcwidth() function is tested separately. - On some cases that may cause warning/error message "Unknown charsets are unsupported as keyboard input!" to be printed (specially if there is significant state used on keyboard input.) - If __STDC_ISO_10646__ is defined, then wchar_t is assumed to be Unicode (and 'fallback' mapping is not needed.) - Added elmrc option "locale-charsets" for systems which have __STDC_ISO_10646__ defined. Given charset names is type unknown used for system (locale) charset, even when Elm ME+ is builtin definition for charset. - Added to terminal.info file new keyword DW. This indicates for unknown system charset that wcwidth() function should be used to get char width. This means that logical width of character may be 0,1 or 2 columns on that terminal. - Keyword DW also may cause error/warning message Double wide characters are not supported to be printed. - On systems which have __STDC_ISO_10646__ defined, DW flag on terminal.info works like "locale-charsets" option, if charset and terminal matches. - Added UTF-8 for mlterm to terminal.info with DW flag. - pw_dir (home directory) and pw_shell is allowed to be NULL on struct passwd. - Added CP1251 as codeset for windows-1251. Seems that this is returned by nl_langinfo(CODESET). - Added CP1252 as codeset for windows-1252. Seems that this is returned by nl_langinfo(CODESET). - Added CP1255 as codeset for windows-1255. Seems that this is returned by nl_langinfo(CODESET). - Added CP1256 as codeset for windows-1256. Seems that this is returned by nl_langinfo(CODESET). - Added CP1257 as codeset for windows-1257. Seems that this is returned by nl_langinfo(CODESET). - Changed evaluation of elmrc option "text-charset". - Changed evaluation of elmrc option "display-charset". - Changed evaluation of elmrc option "local-fs-charset". - Changed evaluation of elmrc option "default-nomime-charset". - Changed evaluation of elmrc option "default-mime-text-charset". - Changed evaluation of elmrc option "imap-charset". - Removed function get_charset_map_info(). - Changed implementation of elmrc option "shell". - Changed implementation of elmrc option "tmpdir". - Changed implementation of elmrc option "maildir" (or "folders"). - Changed implementation of elmrc option "map-text-dir". - Changed implementation of elmrc option "map-bin-dir". - Fixed case where ISO-2022-JP subject was displayed on message list, but when reading mail, subject was replaced with question marks. - Handle better bad sequense of bytes on text (for example bad UTF-8 text). - Configure was incorrectly made conlusion that nl_langinfo(CODESET) does not work on IRIX 6.5 - If given folder name 'aaa@bbb@ccc' for split_remote_name(), do not split is as user='aaa', host='bbb@ccc', but use user='aaa@bbb', host='ccc' Problem noted by: admin - Remove duplicates from bin/elm.mimecharsets during Configure - Compare charset names in case insensitive way on ConfTool/GenCharmap - Added command "elmregister rpm-list", which generates files listing suitable from rpm %files -section. - Declared that Elm ME is "Elm Millenium Edition". Courtesy Vesa-Matti J Kari - get_type_flags() was called with NULL-pointer argument from start_body_helper() line 381. Problem noted by: Vesa-Matti J Kari > Return something 'intelligent' (instead of crashing) in functions of lib/mediatype.c, if them is called with NULL argument. - Do not give NULL pointer for Content-Type: *unknown*/MIXED In other words do not return NULL pointer if give_media_type() is asked to create major media type '*unknown*' ('*unknown*' matched MIME_TYPE_UNKNOWN signaling unknown media type.) - Added module (-M name) option and correspond environment variable $ELM_MODULE to elmregister. - elmregister -M all may be used to register file or command to all modules. - Added command "elmregister rpm-list", which generates files listing per -M option. - Fixed Makefile error on make package ROOT=/tmp/test-install case. - Sorting orders 'mailbox order' and 'reverse mailbox order' was giving same order. Fixed reverse sorting order. - Little change for sorting. - If "unstable-reverse-thread" is set, reverse thread sorting is based on lastest message on thread. Therefore thread moves to new location, when new message arrives to thread. - This variable is settable on o)ptions screen with S)orting criteria command. - Moved enumerate_list on save_opts to own elmrc type rc_DT_ENUM and new data type dt_enumerate_info - Make possible to record changes of elm.rc during installation. - Option -c on elmrc-write and elmlibregister commands gives file, which is used to record changes (old values) of elm.rc during installation. - During installation old values of failed elm.rc options are kept on elm.rc.old-values file. - Use malloc_gets() when reading elm.rc - Added elmrc option "verify-domain". If set mail domains are verified by gethostbyname(). Error HOST_NOT_FOUND is treated as nonexisting domain and error NO_ADDRESS is treated as valid mail domain. - Added elmrc option "verify-local-address". If set usernames of local addresses are verified. Using this option requires that on global elm.rc have "verify=yes" on mailer -option. - Replaced elmrc types DT_ASR and DT_SRT with one type rc_DT_SORT. - Added elmrc option "local-dir-sortby". This specifies sorting order for local files and folders on folder and file browser. Possible values are "none", "name" and "mtime" (and also "reverse-name" and "reverse-mtime"). Default value is "name". - Added elmrc option "imap-dir-sortby". This specfies sorting order for IMAP folders on folder browser. Possible values are "none" and "name" (also "reverse-name"). Default value is "none". - On 21 lines window browser help (Folder selection) was not fitting to screen. - Moved mailer related code from libelmme-base.so to libelmme-mailer.so. - Added elmrc type rc_DT_DELAY. - Moved elmrc option "mailer" to libelmme-mailer.so. It is 'proxied' with elmrc type rc_DT_DELAY. - Added elmrc option "use-mailer-library" to libelmme-mailer.so. It is 'proxied' with elmrc type rc_DT_DELAY. "smtp" (ie. libelmme-smtp.so) is now given on elmrc option "use-mailer-library" (was on "use-connect-library".) - Link libelmme-smtp.so with libelmme-mailer.so, so that loading of libelmme-smtp.so succeed when loader is not linked with libelmme-mailer.so. - If elm is not compiled with -rdynamic, link libelmme-smtp.so with libelmme-base.so, so that symbols can be resolved. - "I got http://www.elmme-mailer.org/elm-ME+2.5.alpha4.tar.gz and tried to compile it on a SuSE 9.2 box. Configure complained about missing termlibs and quit without even generating a makefile. Adding -lncurses in line 6333 of Configure (it now reads for A in '' '-ltermlib' '-lcurses' '-ltermcap ' '-lncurses'; do fixed this and elmme seems to work fine. Maybe you'd like to include this patch in the next release ..." From: Rainer Kaluscha - Code changes for "-Wstrict-prototypes". I hope that these do not broke something else. - Added some support for RFC 2231: MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations - struct string may now carry language indicator - Language specification is now accepted on encoded words. - When replying language specification is normally preserved on replied address (phrase). - [include -command now uses internally file browser for refering file. This should handle better (theoretical) situation where buffer charset is ddeferent than filesystem charset. - filename -arguments on mime -parameters use RFC 2231 encoding. Also non RFC 2231 ascii-only filename argument is produced. - Specially RFC 2231 encoded parameters are ignored for most of other cases. Specially boundary -parameter must not be RFC 2231 encoded. - Added elmrc option "mime-parameters". Possible values are "plain", "encoded" and "plain-and-encoded". If set to "plain", then RFC 2231 encoded parameters are not generated and not used when receiving mail (they still are parsed.) When set to "plain-and-encoded both RFC 2231 encoded value and plain ascii value are generated (specially for filename -parameter) when needed. - Elm option -z (zero) do not longer imply option -n (do not use ti/te). - " would like to have an option like: -z Zero - don't enter Elm if no mail is pending. but: -y Zero - don't enter Elm if no unread mail is pending." Suggested by: Axel Reinhold - Elm option -z now works correctly when several mailboxes (several -f options) are given. Now Elm is not entered when all given mailboxes are empty. - doc/tmac.n states "This package may be circulated freely with the news documentation; it may not be sold, but is to be distributed with the unformatted news documents." Removed, because Elm documentation is other documentation. - Removed documentatiion which depends doc/tmac.n. That documentation is more or less obsolete anyway: doc/Alias.guide doc/Config.guid doc/Elm.cover doc/Form.guide doc/Ref.guide doc/Users.guide - Removed question about formatter of documentation from Configure. - f)orget command on "Mail Pre-Send Screen" incorrectly sent mail when editor buffer was empty and on mail there was on attachment. - Both utils/elmrc-write.c and utils/elmlibregister.c include routine for writing (user or system) elmrc. Moved that to new file lib/write_rc.c. - Changed src/save_opts.c to use lib/write_rc.c. This means that elmrc option are saved on elmrc-info order also when saved from Elm. - Removed offset from struct rc_save_info_rec. It is no longer needed. - Changed default so that term.h is only included on Linux (and not curses.h) - "unicode_value (uint16) can not possibly exceed 0xFFFF. Remove the statement, that triggers a compiler warning." From: Mikhail T. * Patch removes ...->unicode_value > 0xFFFF -test from cs_add_state_to_iconv() on shared_libs/iconv/iconv.c. - utils/answer.c included some bogus aliases reading routines. Replaced it fetch_alias(). It still is broken, but that is little better... Problem noted by: Mikhail T. New elmrc options: mime-parameters imap-dir-sortby local-dir-sortby locale-charsets pgp-encrypt-type prompt-metamail unstable-reverse-thread verify-domain verify-local-address use-mailer-library New elm command line option: -y Don't enter Elm if no unread mail is pending. New elm command: F)lag New files: src/screen/subpage.c src/screen/wrapper.c src/screen/menu_param.c src/screen/def_scommon.h src/screen/scommon.c src/screen/header.c lib/cs_unknown.c lib/cs_wfallback.c charset/MAPPINGS/koi8-e.txt lib/mailer/Makefile.SH hdrs/mailerlib.h lib/mailer/def_mailer.h lib/mailer/outheaders.c lib/mailer/shared_mailer.c lib/mailer/init.c lib/rc_delay.c melib/mime_param.c lib/write_rc.c Moved files: lib/mailer.c => lib/mailer/mailer.c Removed files: lib/add_site.c lib/strtokq.c doc/tmac.n doc/Alias.guide doc/Config.guid doc/Elm.cover doc/Form.guide doc/Ref.guide doc/Users.guide Changes of Elm 2.4ME+ PL121h (25) compared with Elm 2.4ME+ PL121g (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - On 21 lines window browser help (Folder selection) was not fitting to screen. - f)orget command on "Mail Pre-Send Screen" incorrectly sent mail when editor buffer was empty and on mail there was on attachment. Changes of Elm 2.4ME+ PL121g (25) compared with Elm 2.4ME+ PL121f (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - get_type_flags() was called with NULL-pointer argument from start_body_helper() line 381. Problem noted by: Vesa-Matti J Kari > Return something 'intelligent' (instead of crashing) in functions of lib/mediatype.c, if them is called with NULL argument. - Do not give NULL pointer for Content-Type: *unknown*/MIXED In other words do not return NULL pointer if give_media_type() is asked to create major media type '*unknown*' ('*unknown*' matched MIME_TYPE_UNKNOWN signaling unknown media type.) - Fixed Makefile error on make package ROOT=/tmp/test-install case - Sorting orders 'mailbox order' and 'reverse mailbox order' was giving same order. Fixed reverse sorting order. - Little change for sorting. - Ignore command letter 'm' on elm.filelist (used on Elm 2.4ME+ PL122). Changes of Elm 2.4ME+ PL121f (25) compared with Elm 2.4ME+ PL121e (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix another "Append to mail folder " -question. - Configure was incorrectly made conlusion that nl_langinfo(CODESET) does not work on IRIX 6.5 - If given folder name 'aaa@bbb@ccc' for split_remote_name(), do not split is as user='aaa', host='bbb@ccc', but use user='aaa@bbb', host='ccc' Problem noted by: admin - Remove duplicates from bin/elm.mimecharsets during Configure - Compare charset names in case insensitive way on ConfTool/GenCharmap Changes of Elm 2.4ME+ PL121e (25) compared with Elm 2.4ME+ PL121d (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Set close-on-exec flag for opened local mailbox. - Fix "Append to mail folder " -question. - "I am seeing two exit messages if I start elm and exit right away using ELM 2.4ME+ PL121" Problem noted by: Bruce Momjian - "On a Solaris 8 machine, if I enter ELM and don't make any changes it now says "Folder unchanged." twice. Not a big deal, but I thought I should report it. :-)" Problem noted by: James Corey > Make sure that first message is erased on exit (often ti/te erases screen or changes buffers, but that problem apply to "elm -t" also.) - Fix case whare ascii only mail was sent with headers Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 instead of Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII - Added mlterm to terminal.info without charset UTF-8. To actually use that terminal definition you need also doc/term/mlterm.ti from mlterm distribution. Install it with 'tic' command. Then you need start start mlterm with 'mlterm -y mlterm' option, otherwise mlterm sets $TERM to xterm. - Seems that mlterm do not handle return to ISO 2022 code ( ESC % @ ) or switch to UTF-8 code ( ESC % G ) ? - Also Elm ME+ do not handle double wide UTF-8 characters - Fixed case where switch to UTF-8 code ( ESC % G ) was given on several times. However after ESC % G only ESC % @ is valid. - Now ConfTool/GenCharmap adds mapping from ConfTool/mapfiles to bin/elm.mimecharsets even when elm.mimecharsets have already alias definition for charset. Changes of Elm 2.4ME+ PL121d (25) compared with Elm 2.4ME+ PL121c (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix "Reverse Thread" sorting order. - Fixed valgrind reported memory leak: 24 bytes in 1 blocks are definitely lost in loss record 4 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8147EF3: safe_malloc (safemalloc.c:47) by 0x8068ACA: attach_menu (attach_menu.c:2253) by 0x80784E5: mailbox_command (elm.c:808) by 0x807920D: main (elm.c:1185) - Added redraw handling to display_file() - Fixed valgrind reported memory leak: 56 bytes in 5 blocks are definitely lost in loss record 9 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8147F8F: safe_malloc (safemalloc.c:47) by 0x80E9095: new_state_1 (charset_input.c:18) by 0x80F9FFC: cs_add_streambyte_to_utf8 (cs_utf.c:348) - Fixed valgrind reported memory leak: 16 bytes in 2 blocks are definitely lost in loss record 3 of 28 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8147F8F: safe_malloc (safemalloc.c:47) by 0x8163E41: malloc_string (string.c:116) by 0x8163FBC: new_string (string.c:153) by 0x80876EA: read_number (in_utils.c:282) - Fixed valgrind reported memory leak: 30 bytes in 1 blocks are definitely lost in loss record 7 of 29 at 0x4002668F: realloc (vg_replace_malloc.c:310) by 0x8148225: safe_realloc (safemalloc.c:63) by 0x8133394: elm_vmessage (output.c:1281) by 0x8133A5E: elm_message (output.c:1460) by 0x80FD9DA: init_debug (debug.c:58) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 1 of 31 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148173: safe_malloc (safemalloc.c:47) by 0x8145BA9: split_remote_name (remote_mbx.c:620) by 0x814ADA3: browser_folder_from_dummy (savefolder.c:1076) - Fixed valgrind reported memory leak: 14 bytes in 1 blocks are definitely lost in loss record 3 of 31 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148349: safe_strdup (safemalloc.c:79) by 0x8145B8E: split_remote_name (remote_mbx.c:618) by 0x814ADA3: browser_folder_from_dummy (savefolder.c:1076) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 1 of 30 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148237: safe_malloc (safemalloc.c:47) by 0x8164109: malloc_string (string.c:116) by 0x8164FDC: cat_strings (string.c:449) by 0x81307E5: elm_smessage (output.c:857) by 0x8087063: prompt_letter (in_utils.c:84) - Fixed valgrind reported memory leak: 29 bytes in 5 blocks are definitely lost in loss record 7 of 30 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x8148243: safe_malloc (safemalloc.c:47) by 0x8105414: rfc822_tokenize (getaddr.c:37) by 0x8061333: do_expand_group_l (aliaslib.c:88) - Fixed valgrind reported memory leak: 7104 bytes in 1 blocks are definitely lost in loss record 27 of 29 at 0x4002668F: realloc (vg_replace_malloc.c:310) by 0x8148339: safe_realloc (safemalloc.c:63) by 0x80BFA69: add_canceled_mail1 (canceled_mail.c:1291) - Fixed valgrind reported memory leak: 8 bytes in 1 blocks are definitely lost in loss record 2 of 29 at 0x400260DC: malloc (vg_replace_malloc.c:153) by 0x814826B: safe_malloc (safemalloc.c:47) by 0x816413D: malloc_string (string.c:116) by 0x81642B8: new_string (string.c:153) by 0x80885D9: enter_helper (in_utils.c:656) by 0x8089324: optionally_enter2 (in_utils.c:1115) by 0x808E52B: limit (limit.c:110) Changes of Elm 2.4ME+ PL121c (25) compared with Elm 2.4ME+ PL121b (25) ---------------------------------------------------------------------- - Fixed incorrect drawing of "MIME structure Menu" when arrow cursor was used. Changes of Elm 2.4ME+ PL121b (25) compared with Elm 2.4ME+ PL121a (25) ---------------------------------------------------------------------- [ This patch is branch from the main line. ] - "If you had no aliases yet, and pushed j or k in the aliases menu (or the down or up arrows), you had a "bad item" "common menu panic". The reason was a missing "break" statement in alias_item.c, which was present in the approprite place in mailbox_item.c" From: Kovacs Baldvin ( Patch was agaist Elm ME+ 2.5 but applies also to Elm 2.4ME+ ) Changes of Elm 2.4ME+ PL121a (25) compared with Elm 2.4ME+ PL121 (25) --------------------------------------------------------------------- [ This patch is branch from the main line. ] - Fix error message Path component "none" not absolute on key "internal-mailcaps" value "none" when on elmrc have line internal-mailcaps = none Changes of Elm 2.4ME+ PL121 (25) compared with Elm 2.4ME+ PL120 (25) -------------------------------------------------------------------- SUMMARY: This release changes handling of shared libraries and includes some other minor changes or fixes. - Better rpath test on Configure - Better soname test on Configure - Some fixes about soname_include_path - Change soname_include_path values define/undef to y/n. It is not used for #define. - Allow setting soname_include_path=n always if rpath works - Add extra libraries needed by shared libraries (shared_libs/*/) to rpath of executable. - Effectively local-fast-lookup = ON is now always used when ASCII filenames are looked. - Removed Configure warning: "(I see you are using the Korn shell. Some ksh's blow up on Configure, especially on exotic machines. If yours does, try the Bourne shell instead.)" - Let builtin pager show also address and not only name of sender! - Fix error RC PANIC in rc_handle.c:1226:expand_dt_path >>>Bad state on end when incorrect elmrc is read weedout = *clear-weed-list*" Changes of Elm 2.4ME+ PL120 (25) compared with Elm 2.4ME+ PL119 (25) -------------------------------------------------------------------- SUMMARY: This release fixes handling of multiple To: headers, refines "showto" semantic and fixes envelope sender of "Canceled mail" -view. - Fix incorrect condition for deleting of messages marked for deletion (actually condition worked on Elm 2.4ME+ and did not worked on Elm ME+ 2.5 because different ison -macro) - Group reply did not worked correctly when on mail there was several To: -headers. - Refine "showto" semantic. If that elmrc variable is set and mail is not addressed to user, then To: address is shown. - Remove < > from address on real_from parsing. - Set envelope from address to username when reading Canceled mail special 'folder'. That way To: -address should be displayed when viewing that 'folder'. Changes of Elm 2.4ME+ PL119 (25) compared with Elm 2.4ME+ PL118 (25) -------------------------------------------------------------------- SUMMARY: This release includes various code changes, changes f)orget command and moves *.Canceled.mail to own directory. This release introduces elmrc option "dead-letter-dir". Any canceled mail can be picked with m)ail command. - Configure now locates system gencat command - Added file nls/Makefile.SH - File nls/Makefile is removed. Now it is generated by Configure - Made leave() to use give_next_open_mailbox() - Added free_all_mailboxes() to src/messages/messages.c - Made leave() to use free_all_mailboxes() - Made rm_temps_exit() to use free_all_mailboxes() - Made silently_exit() to use give_next_open_mailbox() - Made emergency_exit() to use give_next_open_mailbox() - Made leave_locked() to use give_next_open_mailbox() - Made usr1_signal() to use give_next_open_mailbox() - Made usr2_signal() to use give_next_open_mailbox() - Removed current_mailbox global variable - Added free_all_aliasviews() to src/aliases/aliases.c - Made leave() to use free_all_aliasviews() - Made silently_exit() to use free_all_aliasviews() - Made rm_temps_exit() to use free_all_aliasviews() - Made leave_locked() to use free_all_aliasviews() - Removed current_aliaslist global variable - Added menu_trigger_redraw() to src/screen/context.c - Changed resync() to use menu_trigger_redraw() - Changed help() to use menu_trigger_redraw() - Changed do_pipe() to use menu_trigger_redraw() - Changed change_file() to use menu_trigger_redraw() - Changed print_msg() to use menu_trigger_redraw() - Changed subshell() to use menu_trigger_redraw() - Changed pgp_extract_public_key() to use menu_trigger_redraw() - Changed forward() to use menu_trigger_redraw() - Changed reply_to_everyone() to use menu_trigger_redraw() - Changed pgp_mail_public_key() to use menu_trigger_redraw() - Changed send_msg_l() to use menu_trigger_redraw() - Changed print_text() to use menu_trigger_redraw() - Changed reply() to use menu_trigger_redraw() - Changed save() to use menu_trigger_redraw() - Changed pattern_match() to use menu_trigger_redraw() - Changed limit() to use menu_trigger_redraw() - Changed read_number to use menu_trigger_redraw() - Changed alias_help() to use menu_trigger_redraw() - Changed a_sendmsg() to use menu_trigger_redraw() - Changed mailbox_command() to use menu_trigger_redraw() - Changed motion() to use menu_trigger_redraw() - Changed new_mail_check() to use menu_trigger_redraw() - Changed mail() to use menu_trigger_redraw() - Changed send_msg_middle() to use menu_trigger_redraw() - Changed send_form() to use menu_trigger_redraw() - Added menu_trigger_redraw() to get_copies() - Added menu_trigger_redraw() to get_to() - Added menu_trigger_redraw() to copy_the_msg() - Added menu_trigger_redraw() to get_subject() - Changed send_msg_argv() to use menu_trigger_redraw() - Moved *.Canceled.mail to own directory Canceled.mail.dir - Editor buffer for f)orget messages is not kept. Instead cancele mails are picked from Canceled.mail.dir on m)ail -command ('/' on To: prompt gives menu of cancelled messages.) - Canceled.mail.dir is not available as folder (it can not given for c)hange folder commmand or -f option of Elm.) - When canceled mail is picked from re-sending, is is also deleted from Canceled.mail.dir (f)orget command will re-add it to Canceled.mail.dir.) - Name of Canceled.mail.dir can be changed with elmrc option dead-letter-dir. - Removed give_message_folder() - Added -g option to Configure New elmrc options: dead-letter-dir New file: src/messages/canceled_mail.c src/canceled.c nls/Makefile.SH Removed file: nls/Makefile (this is now generated by Configure) Changes of Elm 2.4ME+ PL118 (25) compared with Elm 2.4ME+ PL117 (25) -------------------------------------------------------------------- Undo Elm 2.4ME+ PL117a (25) and Elm 2.4ME+ PL117b (25) patches before applying this patch. SUMMARY: This release collects PL117a and PL117b patches, make possible to cancel some actions or prompts with interrupt character on POSIX systems, changes letter of 'invoke editor' command on header editing screen and makes some other changes or fixes. - Interrupt signal (Ctrl-C) was ignored only, if Elm ME+ was compiled with -DDEBUG option. Problem noted by: Laura Kataja - Fix bug where Elm2.4ME+ PL117 was acting always as dsn-success was set. - Message/check "signature" used in obsolete way in .elm/elmrc file. removed. - Moved get_term_chars() from src/init.c to src/screen/init.c - PL108 added 'invoke e)ditor' command to header editing screen. That conflicts with 'E)xpires' command. Changed command to 'invoke e(d)itor'. - Allow canceling of following prompts with Ctrl-C (interrupt character) on systems which supports POSIX termios: Set current XXX to : Description: (Attachment Configuration) Con