annotate ch03.roff @ 18:db3567c9cc3f

style: Added format macros for files, functions, switches, etc. Converted the existing text.
author markus schnalke <meillo@marmaro.de>
date Tue, 24 Apr 2012 16:52:25 +0200
parents b3c37947764e
children ab5253e48c74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
1 .H0 "Work Report
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
2 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
3 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
4 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
5 bar
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
6
12
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
7 .H1 "Removal of Code Relicts
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
8 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
9 The code base of mmh originates in the late 70s, had been extensively
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
10 worked on in the mid 80s, and had been partly reorganized and extended
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
11 in the 90s. Relicts of all those times had gathered in the code base.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
12 My goal was to remove any ancient code parts. One part of the task was
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
13 converting obsolete code constructs to standard constructs, the other part
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
14 was dropping obsolete functions.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
15 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
16 As I'm not even thirty years old and have no more than seven years of
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
17 Unix experience, I needed to learn about the history in retroperspective.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
18 Older people likely have used those ancient constructs themself
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
19 and have suffered from their incompatiblities and have longed for
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
20 standardization. Unfortunately, I have only read that others had done so.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
21 This put me in a much more difficult positions when working on the old
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
22 code. I needed to recherche what other would have known by heart from
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
23 experience. All my programming experience comes from a time past ANSI C
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
24 and past POSIX. Although I knew about the times before, I took the
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
25 current state implicitely for granted most of the time.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
26 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
27 Being aware of
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
28 these facts, I rather let people with more historic experience solve the
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
29 task of converting the ancient code constructs to standardized ones.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
30 Luckily, Lyndon Nerenberg focused on this task at the nmh project.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
31 He converted large parts of the code to POSIX constructs, removing
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
32 the conditionals compilation for now standardized features.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
33 I'm thankful for this task being solved. I only pulled the changes into
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
34 mmh.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
35 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
36 The other task of dropping ancient functionality to remove old code,
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
37 I did myself, though. My position to strip mmh to the bare minimum of
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
38 frequently used features is much more revolutional than the nmh community
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
39 sees it. Without the need to justify my decisions, I was able to quickly
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
40 remove code I considered ancient. The need to discuss my decisions with
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
41 peers likely would have slowed this process down. Of course, I did research
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
42 if a particular feature really should be dropped. Having not had any
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
43 contact to this feature within my computer life was a first indicator to
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
44 drop it, but I also asked others and searched the literature for modern
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
45 usage of the feature. If it appeared to be truly ancient, I dropped it.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
46 The reason for dropping is always part of the commit message in the
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
47 version control system. Thus, it is easy for others to check their
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
48 view on the topic with mine and possibly to argue for reinclusion.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
49
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
50 .U2 "MMDF maildrop support
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
51 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
52 I did drop any support for the MMDF maildrop format. This type of format
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
53 is conceptionally similar to the mbox format, but uses four bytes with
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
54 value 1 (\fL^A^A^A^A\fP) as message delimiter,
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
55 instead of the string ``\fLFrom\ \fP''.
12
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
56 Due to the similarity and mbox being the de-facto standard maildrop
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
57 format on Unix, but also due to the larger influence of Sendmail than MMDF,
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
58 the MMDF maildrop format had vanished.
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
59 .P
12
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
60 The simplifications within the code were only moderate. Switches could
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
61 be removed from tools like
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
62 .L packf ,
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
63 which generate packed mailboxes. Only one packed mailbox format remained:
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
64 mbox.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
65 The most important changes affect the equally named mail parsing routine in
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
66 .L sbr/m_getfld.c .
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
67 The direct MMDF code had been removed, but as now only one packed mailbox
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
68 format is left, code structure simplifications are likely possible.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
69 The reason why they are still outstanding is the heavily optimized code
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
70 of
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
71 .Fu m_getfld() .
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
72 Changes beyond a small local scope \(en
12
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
73 which restructuring in its core is \(en cause a high risk of damaging
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
74 the intricate workings of the optimized code. This problem is know
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
75 to the developers of nmh, too. They also avoid touching this minefield
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
76 if possible.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
77
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
78 .U2 "UUCP Bang Paths
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
79 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
80 More questionably than the former topic is the removal of support for the
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
81 UUCP bang path address style. However, the user may translate the bang
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
82 paths on retrieval to Internet addresses and the other way on posting
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
83 messages. The former can be done my an MDA like procmail; the latter
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
84 by a sendmail wrapper. This would ensure that any address handling would
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
85 work as expected. However, it might just work well without any
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
86 such modifications, as mmh does not touch addresses much, in general.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
87 But I can't ensure as I have never used an environment with bang paths.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
88 Also, the behavior might break at any point in further development.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
89
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
90 .U2 "Hardcopy terminal support
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
91 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
92 More of a funny anecdote is the remaining of a check for printing to a
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
93 hardcopy terminal until Spring 2012, when I finally removed it.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
94 I surely would be very happy to see such a terminal in action, maybe
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
95 actually being able to work on it, but I fear my chances are null.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
96 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
97 The check only prevented a pager to be placed between the outputting
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
98 program (\c
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
99 .Pn mhl )
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
100 and the terminal. This could have been ensured with
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
101 the
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
102 .Sw \-nomoreproc
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
103 at the command line statically, too.
12
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
104
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
105 .U2 "Removed support for header fields
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
106 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
107 The `Encrypted' header had been introduced by RFC\^822, but already
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
108 marked legacy in RFC 2822. It was superseded by FIXME.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
109 Mmh does no more support this header.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
110 .P
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
111 `Content-MD5' headers were introduced by RFC\^1864. They provide only
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
112 a verification of data corruption during the transfer. By no means can
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
113 they ensure verbatim end-to-end delivery of the contents. This is clearly
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
114 stated in the RFC. The proper approach to provide verificationability
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
115 of content in an end-to-end relationship is the use of digital cryptography
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
116 (RFCs FIXME). On the other hand, transfer protocols should ensure the
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
117 integrity of the transmission. In combinations these two approaches
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
118 make the `Content-MD5' header field useless. In consequence, I removed
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
119 the support for it. By this removal, MD5 computation is not needed
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
120 anywhere in mmh. Hence, over 500 lines of code were removed by this one
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
121 change. Even if the `Content-MD5' header field is useful sometimes,
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
122 I value its usefulnes less than the improvement in maintainability, caused
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
123 by the removal.
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
124
7ca384d68edc Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents: 0
diff changeset
125
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
126 .H1 "Draft and Trash Folders
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
127 .U2 "Draft Folder
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
128 .P
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
129 Historically, MH provided exactly one draft message, named
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
130 .Fn draft
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
131 and
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
132 being located in the MH directory. When starting to compose another message
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
133 before the former one was sent, the user had been questioned wether to use,
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
134 refile or replace the old draft. Working on multiple drafts at the same time
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
135 was impossible. One could only work on them in alteration by refiling the
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
136 previous one to some directory and fetching some other one for reediting.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
137 This manual draft management needed to be done each time the user wanted
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
138 to switch between editing one draft to editing another.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
139 .P
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
140 To allow true parallel editing of drafts, in a straight forward way, the
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
141 draft folder facility exists. It had been introduced already in July 1984
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
142 by Marshall T. Rose. The facility was deactivated by default.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
143 Even in nmh, the draft folder facility remained deactivated by default.
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
144 At least, Richard Coleman added the man page
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
145 .Mp mh-draft(5)
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
146 to document
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
147 the feature well.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
148 .P
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
149 The only advantage of not using the draft folder facility is the static
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
150 name of the draft file. This could be an issue for MH frontends like mh-e.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
151 But as they likely want to provide working on multiple drafts in parallel,
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
152 the issue is only concerning compatibility. The aim of nmh to stay compatible
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
153 prevented the default activation of the draft folder facility.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
154 .P
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
155 On the other hand, a draft folder is the much more natural concept than
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
156 a draft message. MH's mail storage consists of folders and messages,
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
157 the messages named with ascending numbers. A draft message breaks with this
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
158 concept by introducing a message in a file named
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
159 .Fn draft .
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
160 This draft
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
161 message is special. It can not be simply listed with the available tools,
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
162 but instead requires special switches. I.e. corner-cases were
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
163 introduced. A draft folder, in contrast, does not introduce such
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
164 corner-cases. The available tools can operate on the messages within that
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
165 folder like on any messages within any mail folders. The only difference
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
166 is the fact that the default folder for
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
167 .Pn send
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
168 is the draft folder,
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
169 instead of the current folder, like for all other tools.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
170 .P
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
171 The trivial part of the change was activating the draft folder facility
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
172 by default and setting a default name for this folder. Obviously, I chose
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
173 the name
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
174 .Fn +drafts .
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
175 This made the
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
176 .Sw \-draftfolder
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
177 and
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
178 .Sw \-draftmessage
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
179 switches useless, and I could remove them.
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
180 The more difficult but also the part that showed the real improvement,
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
181 was updating the tools to the new concept.
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
182 .Sw \-draft
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
183 switches could
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
184 be dropped, as operating on a draft message became indistinguishable to
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
185 operating on any other message for the tools.
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
186 .Pn comp
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
187 still has its
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
188 .Sw \-use
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
189 switch for switching between its two modes: (1) Compose a new
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
190 draft, possibly by taking some existing message as a form. (2) Modify
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
191 an existing draft. In either case, the behavior of
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
192 .Pn comp is
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
193 deterministic. There is no more need to query the user. I consider this
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
194 a major improvement. By making
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
195 .Pn send
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
196 simply operate on the current
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
197 message in the draft folder by default, with message and folder both
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
198 overridable by specifying them on the command line, it is now possible
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
199 to send a draft anywhere within the storage by simply specifying its folder
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
200 and name.
14
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
201 .P
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
202 All theses changes converted special cases to regular cases, thus
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
203 simplifying the tools and increasing the flexibility.
55ec590cfa07 Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents: 12
diff changeset
204
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
205 .U2 "Trash Folder
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
206 .P
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
207 Similar to the situation for drafts is the situation for removed messages.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
208 Historically, a message was deleted by renaming. A specific
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
209 \fIbackup prefix\fP, often comma (\c
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
210 .Fn , )
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
211 or hash (\c
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
212 .Fn # ),
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
213 being prepended to the file name. Thus, MH wouldn't recognize the file
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
214 as a message anymore, as only files whose name consists of digits only
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
215 are treated as messages. The removed messages remained as files in the
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
216 same directory and needed some maintenance job to truly delete them after
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
217 some grace time. Usually, by running a command similar to
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
218 .DS
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
219 find /home/user/Mail \-ctime +7 \-name ',*' | xargs rm
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
220 .DE
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
221 in a cron job. Within the grace time interval
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
222 the original message could be restored by stripping the
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
223 the backup prefix from the file name. If however, the last message of
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
224 a folder is been removed \(en say message
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
225 .Fn 6
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
226 becomes file
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
227 .Fn ,6
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
228 \(en and a new message enters the same folder, thus the same
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
229 numbered being given again \(en in our case
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
230 .Fn 6
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
231 \(en, if that one
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
232 is removed too, then the backup of the former message gets overwritten.
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
233 Thus, the ability to restore removed messages does not only depend on
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
234 the ``sweeping cron job'' but also on the removing of further messages.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
235 This is undesireable, because the real mechanism is hidden from the user
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
236 and the concequences of further removals are not always obvious.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
237 Further more, the backup files are scattered within the whole mail
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
238 storage, instead of being collected at one place.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
239 .P
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
240 To improve the situation, the profile entry
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
241 .Pe rmmproc
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
242 (previously named
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
243 .Pe Delete-Prog )
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
244 was introduced, very early.
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
245 It could be set to any command, which would care for the mail removal
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
246 instead of taking the default action, described above.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
247 Refiling the to-be-removed files to some wastebin folder was a common
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
248 example. Nmh's man page
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
249 .Mp rmm(1)
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
250 proposes
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
251 .Cl "refile +d
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
252 to move messages to the wastebin and
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
253 .Cl "rm `mhpath +d all`
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
254 the empty the wastebin.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
255 Managing the message removal this way is a sane approach. It keeps
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
256 the removed messages in one place, makes it easy to remove the backup
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
257 files, and, most important, enables the user to use the tools of MH
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
258 itself to operate on the removed messages. One can
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
259 .Pn scan
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
260 them,
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
261 .Pn show
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
262 them, and restore them with
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
263 .Pn refile .
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
264 There's no more
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
265 need to use
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
266 .Pn mhpath
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
267 to switch over from MH tools to Unix tools \(en MH can do it all itself.
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
268 .P
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
269 This apporach matches perfect with the concepts of MH, thus making
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
270 it powerful. Hence, I made it the default. And even more, I also
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
271 removed the old backup prefix approach, as it is clearly less powerful.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
272 Keeping unused alternative in the code is a bad choice as they likely
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
273 gather bugs, by not being constantly tested. Also, the increased code
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
274 size and more conditions crease the maintenance costs. By strictly
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
275 converting to the trash folder approach, I simplified the code base.
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
276 .Pn rmm
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
277 calls
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
278 .Pn refile
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
279 internally to move the to-be-removed
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
280 message to the trash folder (\c
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
281 .Fn +trash
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
282 by default). Messages
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
283 there can be operated on like on any other message in the storage.
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
284 The sweep clean, one can use
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
285 .Cl "rmm \-unlink +trash a" ,
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
286 where the
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
287 .Sw \-unlink
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
288 switch causes the files to be truly unliked instead
16
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
289 of moved to the trash folder.
81f703140554 Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents: 14
diff changeset
290
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
291
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
292 .H1 "MH Directory Split
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
293 .P
18
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
294 Historically, a personal MH setup had consisted of two things:
db3567c9cc3f style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents: 17
diff changeset
295 the
17
b3c37947764e Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents: 16
diff changeset
296
0
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
297
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
298 .H1 "Path Notations
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
299 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
300 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
301
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
302 .H1 "Attachments
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
303 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
304 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
305
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
306 .H1 "Blind Carbon Copies
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
307 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
308 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
309
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
310 .H1 "Good Defaults
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
311 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
312 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
313
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
314 .H1 "Modularization
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
315 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
316 foo
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
317
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
318 .H1 "Code style
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
319 .P
dc2bfef4cda7 Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
320 foo