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