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