Updated the TODO file.
[mmh] / docs / TODO
1 [TODO]
2
3 * fix msh/mmdf problems.
4 * Add IPv6 support.
5 * Write different function to read configuration files, instead
6   of using m_getfld.c
7 * convert calls from sprintf/vsprintf to snprintf/vsnprintf
8 * convert calls from getcpy to strdup
9 * modularize access to context/profile list.
10 * add command printm to print messages
11 * finish changing to macros for msgstats and msgflags
12 * Add support for Mail-Followup-To and Mail-Reply-To
13 * Add support for profile entry "Mailing-Lists"
14 * let mhn and mhl accept files on standard in, and output to
15   standard out, when filtering files.
16 * Add switch -more to `show' to call moreproc.
17 * Add new command "show" at WhatNow? prompt.
18 * Add command to reverse the action of rmm [-nounlink] -- "urmm"?  "umm"?  "um"?
19 * Allow user customization of which kinds of text parts in multipart/alternative
20   messages are preferred.  It would be nice if one selectable behavior would be
21   to be prompted at runtime for which version to show.
22 * Add a new %-escape that makes temp files more permanent than %f, so that you
23   can use gnuclient -q or netscape -remote on message parts.  Put netscape
24   -remote in mhn.defaults for text/html once this is done.
25 * Change all man pages to group all the commandline options together in one
26   section with each as a separate mini-heading.  Having to dig through prose to
27   find what a particular option does is a pain in the nads.
28 * Add some way to configure whether you prefer to see text/plain or text/html
29   parts of multipart/alternative messages.
30 * Allow multiple simultaneous differing contexts, probably each tied to a parent
31   (terminal) process.
32
33 [POSSIBILITIES]
34
35 MAN PAGES
36 ---------
37 * Update mh-tailor man page.
38 * update default mode in man pages with sed
39
40 SEQUENCES
41 ---------
42 * Change so you can have more than 26 sequences.  Unfortunately,
43   given the way that the bit flags for sequences work, this is
44   not easy.
45 * Maybe add option gracefully handle empty sequences (-force).
46
47 ENVIRONMENT/PROFILE
48 -------------------
49 * Should nmh check for EDITOR environment variable?
50
51 OPTIONS
52 -------
53 * change switches to accept two dashes (--help)
54 * can we move option checking to its own function?  Currently each
55   command is doing that itself.
56 * make the option parsing code dynamic, so that there is no limit
57   to the number of command line arguments (this has been done for
58   most all the commands).
59 * Add switch descriptions to -help output.
60
61 COMP
62 ----
63 * add option so that prompter can be used to input addresses,
64   before the real editor is called to edit message.
65 * fix -nowhatnowproc switch. Right now whatnowproc starts the edit
66   session instead of comp, so -nowhatnowproc does nothing.
67
68 FLIST
69 -----
70 * add -format option so you can specify the look of the output
71   of flist.
72 * add Flist-Exclude profile component
73
74 FOLDER
75 ------
76 * add Folder-Order profile component (same as flist)
77 * add Folder-Exclude profile component
78
79 FORMATS
80 -------
81 * add escape %(sequence{foobar}) to detect arbitrary sequences.
82
83 FORW
84 ----
85 * Decode RFC-2047 headers in messages included when replying
86   or forwarding.
87 * Merge code for forw and repl.
88
89 INC
90 ---
91 * Add ability to do filtering (call filterproc) when incorporating mail
92 * Change inc to use libary function folder_addmsg().
93
94 MHBUILD
95 -------
96 * add ability to specify Content-Transfer-Encoding in composition
97   drafts.
98 * remove the code for caching from mhbuild.
99
100 MHL
101 ---
102 * remove naming hack in mhlsbr.c for adios and done.
103 * add ability to filter parts of the message by calling
104   an external filtering program.
105 * fix internal pager for mhl?
106
107 MHN/MHSHOW/MHLIST/MHSTORE
108 -------------------------
109 * add way so user can tell mhn to use internal method for
110   handling type, such as multipart/mixed.
111 * add way so user can tell mhn to use a certain `proc' such
112   as moreproc, for certain content types.
113 * add support for Content-Disposition header (rfc1806, rfc2183).
114 * merge the two places in which mhshowsbr.c reads display
115   strings.
116 * when storing to a folder, should we save the folder context
117   first, so that storage string of "+" stores to the new
118   folder?
119
120 MSH
121 ---
122 * Add -version to mshcmd.c for each command.
123 * Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
124   -mmdf to choose.
125 *) There are couple calls to copyip() which should be changed to
126    getarguments().  One problem is freeing the string getcopy'ed by
127    getarguments().
128
129 PICK
130 ----
131 * split regex code out into library.
132 * replace regex code with Henry Spencer's regex library.
133
134 POST
135 ----
136 * make -msgid the default
137 * factor msgid code into own function
138
139 PROMPTER
140 --------
141 * maybe add ability to use prompter just for headers, and
142   then use primary editor for editing message.
143
144 RCVSTORE
145 --------
146 * Change rcvstore so that it can store into multiple folders.
147 * Add folder locking.
148
149 REPL
150 ----
151 * Decode RFC-2047 headers in messages included when replying
152   or forwarding.
153 * Merge code for forw and repl.
154
155 SEND/SENDSBR
156 ------------
157 * Add ability for returned messages from "send -push" to be
158   in MIME format (this is actually a change in mhmail).
159 * make -msgid the default.
160 * Add RFC-2047 encoding support for out-going messages.  This
161   will probably require hooking mhparse into sendsbr.c, and doing
162   a complete MIME parsing.  Then all handling of Content encoding
163   can be on the backend.
164
165 SLOCAL
166 -----
167 * Change slocal to use .slocalrc file, instead of .maildelivery?
168 * Add ability to use regular expressions in header matching.
169 * Add support for Berkeley db.
170 * Clean up output from -debug option.
171 * Add -debuglevel to control the amount of debug info that is output.
172 * Add -debuglog to specify file to save debugging output.
173 * Add -logfile (or -audit) to specify where to record info about successful
174   deliveries.
175
176 MTA INTERFACE
177 -------------
178 * Fix locking code.  Add lockfile command.
179 * Think about support for DSN (Delivery Status Notification)
180 * Test nmh with qmail.  Add qmail's maildir format.
181 * Relax restrictions on what can be done with headers in send/post.
182 * figure out why smail.c and client.c need their own copies of
183   getcpy, copyip, etc... (funny linking problem)
184
185 GENERAL
186 -------
187 * see if the various versions of copyfile and copyf can be
188   merged.
189 * Add MH-6.8.4 features into nmh (mostly done).
190 * Maybe should move etcpath to sbr and add to libmh.
191 * collect winsize, struct termio, etc... together into a ttyinfo
192   structure.
193 * change adios to take exit code argument.
194 * use wait3 if not waitpid (maybe)
195 * some of the calls to setjmp/longjmp should be replaced with
196   sigsetjmp/siglongjmp.
197 * replace use of ftell with fgetpos.