updated the TODO list and bumped the revision to 1.0.2.
[mmh] / 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
20 [POSSIBILITIES]
21
22 MAN PAGES
23 ---------
24 * Update mh-tailor man page.
25 * generate mh-chart man page from other man pages
26 * update default mode in man pages with sed
27
28 SEQUENCES
29 ---------
30 * Change so you can have more than 26 sequences.  Unfortunately,
31   given the way that the bit flags for sequences work, this is
32   not easy.
33 * Maybe add option gracefully handle empty sequences (-force).
34
35 ENVIRONMENT/PROFILE
36 -------------------
37 * Maybe add profile entry "Pager" to change the default pager?
38 * Should nmh check for EDITOR or PAGER environment variable?
39
40 POP
41 ---
42 * Clean up uip/spop.c (I dont' think it's needed any longer).
43 * Need to decide if want to support APOP, RPOP, MPOP.  APOP
44   and RPOP still work, but need autoconf support added.  Does
45   anyone still use this stuff?
46
47 OPTIONS
48 -------
49 * change switches to accept two dashes (--help)
50 * can we move option checking to its own function?  Currently each
51   command is doing that itself.
52 * make the option parsing code dynamic, so that there is no limit
53   to the number of command line arguments (this has been done for
54   most all the commands).
55 * Add switch descriptions to -help output.
56
57 COMP
58 ----
59 * add option so that prompter can be used to input addresses,
60   before the real editor is called to edit message.
61 * fix -nowhatnowproc switch. Right now whatnowproc starts the edit
62   session instead of comp, so -nowhatnowproc does nothing.
63
64 FLIST
65 -----
66 * add -format option so you can specify the look of the output
67   of flist.
68 * add Flist-Exclude profile component
69
70 FOLDER
71 ------
72 * add Folder-Order profile component (same as flist)
73 * add Folder-Exclude profile component
74
75 FORMATS
76 -------
77 * add escape %(sequence{foobar}) to detect arbitrary sequences.
78
79 FORW
80 ----
81 * Decode RFC-2047 headers in messages included when replying
82   or forwarding.
83 * Merge code for forw and repl.
84
85 INC
86 ---
87 * Add ability to do filtering (call filterproc) when incorporating mail
88 * Change inc to use libary function folder_addmsg().
89
90 MHBUILD
91 -------
92 * add ability to specify Content-Transfer-Encoding in composition
93   drafts.
94 * add support for Content-Disposition header (rfc1806).
95 * remove the code for caching from mhbuild.
96
97 MHL
98 ---
99 * remove naming hack in mhlsbr.c for adios and done.
100 * add ability to filter parts of the message by calling
101   an external filtering program.
102 * fix internal pager for mhl?
103
104 MHMAIL
105 ------
106 * add -attach option (send could use this).  This should
107   be done by hooking in mhbuildsbr.c
108
109 MHN/MHSHOW/MHLIST/MHSTORE
110 -------------------------
111 * add way so user can tell mhn to use internal method for
112   handling type, such as multipart/mixed.
113 * add way so user can tell mhn to use a certain `proc' such
114   as moreproc, for certain content types.
115 * add support for Content-Disposition header (rfc1806).
116 * merge the two places in which mhshowsbr.c reads display
117   strings.
118 * split mhn into mhshow, mhlist, mhstore, and mhcache.
119 * when storing to a folder, should we save the folder context
120   first, so that storage string of "+" stores to the new
121   folder?
122
123 MSH
124 ---
125 * change conditional includes in msh.c to use termios.h
126 * Add -version to mshcmd.c for each command.
127 * Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
128   -mmdf to choose.
129 *) There are couple calls to copyip() which should be changed to
130    getarguments().  One problem is freeing the string getcopy'ed by
131    getarguments().
132
133 PICK
134 ----
135 * split regex code out into library.
136 * replace regex code with Henry Spencer's regex library.
137
138 POST
139 ----
140 * make -msgid the default
141 * factor msgid code into own function
142
143 PROMPTER
144 --------
145 * maybe add ability to use prompter just for headers, and
146   then use primary editor for editing message.
147
148 RCVSTORE
149 --------
150 * Change rcvstore so that it can store into multiple folders.
151 * Add folder locking.
152
153 REPL
154 ----
155 * Decode RFC-2047 headers in messages included when replying
156   or forwarding.
157 * Merge code for forw and repl.
158
159 SEND/SENDSBR
160 ------------
161 * Maybe add `-server' and `-client' to documentation.
162 * Add ability for returned messages from "send -push" to be
163   in MIME format (this is actually a change in mhmail).
164 * make -msgid the default.
165 * Add RFC-2047 encoding support for out-going messages.  This
166   will probably require hooking mhparse into sendsbr.c, and doing
167   a complete MIME parsing.  Then all handling of Content encoding
168   can be on the backend.
169
170 SLOCAL
171 -----
172 * Change slocal to use .slocalrc file, instead of .maildelivery?
173 * Add ability to use regular expressions in header matching.
174 * Add support for Berkeley db.
175 * Clean up output from -debug option.
176 * Add -debuglevel to control the amount of debug info that is output.
177 * Add -debuglog to specify file to save debugging output.
178 * Add -logfile (or -audit) to specify where to record info about successful
179   deliveries.
180
181 VMH
182 ---
183 * Fix vmh (or remove it).  vmh seems to be using internal
184   knowledge of curses.
185
186 MTA INTERFACE
187 -------------
188 * Fix locking code.  Add lockfile command.
189 * Think about support for DSN (Delivery Status Notification)
190 * Test nmh with qmail.  Add qmail's maildir format.
191 * Relax restrictions on what can be done with headers in send/post.
192 * figure out why smail.c and client.c need their own copies of
193   getcpy, copyip, etc... (funny linking problem)
194
195 GENERAL
196 -------
197 * see if the various versions of copyfile and copyf can be
198   merged.
199 * change time functions to use POSIX functions by default.
200 * Add MH-6.8.4 features into nmh (mostly done).
201 * Maybe should move etcpath to sbr and add to libmh.
202 * collect winsize, struct termio, etc... together into a ttyinfo
203   structure.
204 * change adios to take exit code argument.
205 * use wait3 if not waitpid (maybe)
206 * some of the calls to setjmp/longjmp should be replaced with
207   sigsetjmp/siglongjmp.
208 * When do we need to add -lresolv for SunOS 4.1.x?
209 * replace use of getcpy with strdup.
210 * replace use of ftell with fgetpos.