27ca1348fd492b9cdd7002971b4095a26a88ceb6
[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
27 [POSSIBILITIES]
28
29 MAN PAGES
30 ---------
31 * Update mh-tailor man page.
32 * generate mh-chart man page from other man pages
33 * update default mode in man pages with sed
34
35 SEQUENCES
36 ---------
37 * Change so you can have more than 26 sequences.  Unfortunately,
38   given the way that the bit flags for sequences work, this is
39   not easy.
40 * Maybe add option gracefully handle empty sequences (-force).
41
42 ENVIRONMENT/PROFILE
43 -------------------
44 * Maybe add profile entry "Pager" to change the default pager?
45 * Should nmh check for EDITOR or PAGER environment variable?
46
47 POP
48 ---
49 * Clean up uip/spop.c (I dont' think it's needed any longer).
50 * Need to decide if want to support APOP, RPOP, MPOP.  APOP
51   and RPOP still work, but need autoconf support added.  Does
52   anyone still use this stuff?
53
54 OPTIONS
55 -------
56 * change switches to accept two dashes (--help)
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 * add support for Content-Disposition header (rfc1806).
102 * remove the code for caching from mhbuild.
103
104 MHL
105 ---
106 * remove naming hack in mhlsbr.c for adios and done.
107 * add ability to filter parts of the message by calling
108   an external filtering program.
109 * fix internal pager for mhl?
110
111 MHMAIL
112 ------
113 * add -attach option (send could use this).  This should
114   be done by hooking in mhbuildsbr.c
115
116 MHN/MHSHOW/MHLIST/MHSTORE
117 -------------------------
118 * add way so user can tell mhn to use internal method for
119   handling type, such as multipart/mixed.
120 * add way so user can tell mhn to use a certain `proc' such
121   as moreproc, for certain content types.
122 * add support for Content-Disposition header (rfc1806).
123 * merge the two places in which mhshowsbr.c reads display
124   strings.
125 * when storing to a folder, should we save the folder context
126   first, so that storage string of "+" stores to the new
127   folder?
128
129 MSH
130 ---
131 * change conditional includes in msh.c to use termios.h
132 * Add -version to mshcmd.c for each command.
133 * Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
134   -mmdf to choose.
135 *) There are couple calls to copyip() which should be changed to
136    getarguments().  One problem is freeing the string getcopy'ed by
137    getarguments().
138
139 PICK
140 ----
141 * split regex code out into library.
142 * replace regex code with Henry Spencer's regex library.
143
144 POST
145 ----
146 * make -msgid the default
147 * factor msgid code into own function
148
149 PROMPTER
150 --------
151 * maybe add ability to use prompter just for headers, and
152   then use primary editor for editing message.
153
154 RCVSTORE
155 --------
156 * Change rcvstore so that it can store into multiple folders.
157 * Add folder locking.
158
159 REPL
160 ----
161 * Decode RFC-2047 headers in messages included when replying
162   or forwarding.
163 * Merge code for forw and repl.
164
165 SEND/SENDSBR
166 ------------
167 * Maybe add `-server' and `-client' to documentation.
168 * Add ability for returned messages from "send -push" to be
169   in MIME format (this is actually a change in mhmail).
170 * make -msgid the default.
171 * Add RFC-2047 encoding support for out-going messages.  This
172   will probably require hooking mhparse into sendsbr.c, and doing
173   a complete MIME parsing.  Then all handling of Content encoding
174   can be on the backend.
175
176 SLOCAL
177 -----
178 * Change slocal to use .slocalrc file, instead of .maildelivery?
179 * Add ability to use regular expressions in header matching.
180 * Add support for Berkeley db.
181 * Clean up output from -debug option.
182 * Add -debuglevel to control the amount of debug info that is output.
183 * Add -debuglog to specify file to save debugging output.
184 * Add -logfile (or -audit) to specify where to record info about successful
185   deliveries.
186
187 VMH
188 ---
189 * Fix vmh (or remove it).  vmh seems to be using internal
190   knowledge of curses.
191
192 MTA INTERFACE
193 -------------
194 * Fix locking code.  Add lockfile command.
195 * Think about support for DSN (Delivery Status Notification)
196 * Test nmh with qmail.  Add qmail's maildir format.
197 * Relax restrictions on what can be done with headers in send/post.
198 * figure out why smail.c and client.c need their own copies of
199   getcpy, copyip, etc... (funny linking problem)
200
201 GENERAL
202 -------
203 * see if the various versions of copyfile and copyf can be
204   merged.
205 * change time functions to use POSIX functions by default.
206 * Add MH-6.8.4 features into nmh (mostly done).
207 * Maybe should move etcpath to sbr and add to libmh.
208 * collect winsize, struct termio, etc... together into a ttyinfo
209   structure.
210 * change adios to take exit code argument.
211 * use wait3 if not waitpid (maybe)
212 * some of the calls to setjmp/longjmp should be replaced with
213   sigsetjmp/siglongjmp.
214 * When do we need to add -lresolv for SunOS 4.1.x?
215 * replace use of ftell with fgetpos.