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