File: TODO

package info (click to toggle)
nmh 1.6-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,204 kB
  • ctags: 3,851
  • sloc: ansic: 48,922; sh: 16,422; makefile: 559; perl: 509; lex: 402; awk: 74
file content (193 lines) | stat: -rw-r--r-- 6,336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
[TODO]

* fix msh/mmdf problems.
* Add IPv6 support.
* Write different function to read configuration files, instead
  of using m_getfld.c
* convert calls from sprintf/vsprintf to snprintf/vsnprintf
* convert calls from getcpy to strdup
* modularize access to context/profile list.
* add command printm to print messages
* finish changing to macros for msgstats and msgflags
* Add support for Mail-Followup-To and Mail-Reply-To
* Add support for profile entry "Mailing-Lists"
* let mhn and mhl accept files on standard in, and output to
  standard out, when filtering files.
* Add switch -more to `show' to call moreproc.
* Add new command "show" at WhatNow? prompt.
* Add command to reverse the action of rmm [-nounlink] -- "urmm"?  "umm"?  "um"?
* Allow user customization of which kinds of text parts in multipart/alternative
  messages are preferred.  It would be nice if one selectable behavior would be
  to be prompted at runtime for which version to show.
* Add a new %-escape that makes temp files more permanent than %f, so that you
  can use gnuclient -q or netscape -remote on message parts.  Put netscape
  -remote in mhn.defaults for text/html once this is done.
* Change all man pages to group all the commandline options together in one
  section with each as a separate mini-heading.  Having to dig through prose to
  find what a particular option does is a pain in the nads.
* Add some way to configure whether you prefer to see text/plain or text/html
  parts of multipart/alternative messages.
* Allow multiple simultaneous differing contexts, probably each tied to a parent
  (terminal) process.

[POSSIBILITIES]

MAN PAGES
---------
* Update mh-tailor man page.
* update default mode in man pages with sed

SEQUENCES
---------
* Maybe add option gracefully handle empty sequences (-force).

ENVIRONMENT/PROFILE
-------------------
* Should nmh check for EDITOR environment variable?

OPTIONS
-------
* change switches to accept two dashes (--help)
* can we move option checking to its own function?  Currently each
  command is doing that itself.
* make the option parsing code dynamic, so that there is no limit
  to the number of command line arguments (this has been done for
  most all the commands).
* Add switch descriptions to -help output.

COMP
----
* add option so that prompter can be used to input addresses,
  before the real editor is called to edit message.
* fix -nowhatnowproc switch. Right now whatnowproc starts the edit
  session instead of comp, so -nowhatnowproc does nothing.

FLIST
-----
* add -format option so you can specify the look of the output
  of flist.
* add Flist-Exclude profile component

FOLDER
------
* add Folder-Order profile component (same as flist)
* add Folder-Exclude profile component

FORMATS
-------
* add escape %(sequence{foobar}) to detect arbitrary sequences.

FORW
----
* Decode RFC-2047 headers in messages included when replying
  or forwarding.
* Merge code for forw and repl.

INC
---
* Add ability to do filtering (call filterproc) when incorporating mail
* Change inc to use libary function folder_addmsg().

MHBUILD
-------
* add ability to specify Content-Transfer-Encoding in composition
  drafts.
* remove the code for caching from mhbuild.

MHL
---
* remove naming hack in mhlsbr.c for adios and done.
* add ability to filter parts of the message by calling
  an external filtering program.
* fix internal pager for mhl?

MHN/MHSHOW/MHLIST/MHSTORE
-------------------------
* add way so user can tell mhn to use internal method for
  handling type, such as multipart/mixed.
* add way so user can tell mhn to use a certain `proc' such
  as moreproc, for certain content types.
* merge the two places in which mhshowsbr.c reads display
  strings.
* when storing to a folder, should we save the folder context
  first, so that storage string of "+" stores to the new
  folder?

MSH
---
* Add -version to mshcmd.c for each command.
* Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
  -mmdf to choose.
*) There are couple calls to copyip() which should be changed to
   getarguments().  One problem is freeing the string getcopy'ed by
   getarguments().

PICK
----
* split regex code out into library.
* replace regex code with Henry Spencer's regex library.

POST
----
* make -msgid the default
* factor msgid code into own function

PROMPTER
--------
* maybe add ability to use prompter just for headers, and
  then use primary editor for editing message.

RCVSTORE
--------
* Change rcvstore so that it can store into multiple folders.
* Add folder locking.

REPL
----
* Decode RFC-2047 headers in messages included when replying
  or forwarding.
* Merge code for forw and repl.

SEND/SENDSBR
------------
* Add ability for returned messages from "send -push" to be
  in MIME format (this is actually a change in mhmail).
* make -msgid the default.
* Add RFC-2047 encoding support for out-going messages.  This
  will probably require hooking mhparse into sendsbr.c, and doing
  a complete MIME parsing.  Then all handling of Content encoding
  can be on the backend.

SLOCAL
-----
* Change slocal to use .slocalrc file, instead of .maildelivery?
* Add ability to use regular expressions in header matching.
* Add support for Berkeley db.
* Clean up output from -debug option.
* Add -debuglevel to control the amount of debug info that is output.
* Add -debuglog to specify file to save debugging output.
* Add -logfile (or -audit) to specify where to record info about successful
  deliveries.

MTA INTERFACE
-------------
* Fix locking code.  Add lockfile command.
* Think about support for DSN (Delivery Status Notification)
* Test nmh with qmail.  Add qmail's maildir format.
* Relax restrictions on what can be done with headers in send/post.
* figure out why smail.c and client.c need their own copies of
  getcpy, copyip, etc... (funny linking problem)

GENERAL
-------
* see if the various versions of copyfile and copyf can be
  merged.
* Add MH-6.8.4 features into nmh (mostly done).
* Maybe should move etcpath to sbr and add to libmh.
* collect winsize, struct termio, etc... together into a ttyinfo
  structure.
* change adios to take exit code argument.
* use wait3 if not waitpid (maybe)
* some of the calls to setjmp/longjmp should be replaced with
  sigsetjmp/siglongjmp.
* replace use of ftell with fgetpos.