Mercurial > docs > master
annotate ch03.roff @ 98:d894191d7a33
style: Changed the block quote approach. New QS and QE.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 16 Jun 2012 17:43:11 +0200 |
parents | 29a7454fcded |
children | 6ae7dc4a3a02 |
rev | line source |
---|---|
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1 .H0 "Discussion |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
3 This main chapter discusses the practical work done in the mmh project. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
4 It is structured along the goals to achieve. The concrete work done |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
5 is described in the examples of how the general goals were achieved. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
6 The discussion compares the current version of mmh with the state of |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
7 nmh just before the mmh project started, i.e. Fall 2011. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
8 Current changes of nmh will be mentioned only as side notes. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
9 .\" XXX where do I discuss the parallel development of nmh? |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
10 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
11 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
12 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
13 .H1 "Stream-lining |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
14 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
15 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
16 MH had been considered an all-in-one system for mail handling. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
17 The community around nmh has a similar understanding. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
18 In fundamental difference, mmh shall be a MUA only. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
19 I believe that the development of all-in-one mail systems is obsolete. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
20 Today, email is too complex to be fully covered by single projects. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
21 Such a project won't be able to excel in all aspects. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
22 Instead, the aspects of email should be covered my multiple projects, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
23 which then can be combined to form a complete system. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
24 Excellent implementations for the various aspects of email exist already. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
25 Just to name three examples: Postfix is a specialized MTA, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
26 Procmail is a specialized MDA, and Fetchmail is a specialized MRA. |
89 | 27 I believe that it is best to use such specialized tools instead of |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
28 providing the same function again as a side-component in the project. |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
29 .P |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
30 Doing something well, requires to focus on a small set of specific aspects. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
31 Under the assumption that focused development produces better results |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
32 in the particular area, specialized projects will likely be superior |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
33 in their field of focus. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
34 Hence, all-in-one mail system projects \(en no matter if monolithic |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
35 or modular \(en will never be the best choice in any of the fields. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
36 Even in providing the best consistent all-in-one system they are likely |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
37 to be beaten by projects that focus only on integrating existing mail |
89 | 38 components to a homogeneous system. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
39 .P |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
40 The limiting resource in Free Software community development |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
41 is usually man power. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
42 If the development power is spread over a large development area, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
43 it becomes even more difficult to compete with the specialists in the |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
44 various fields. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
45 The concrete situation for MH-based mail systems is even tougher, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
46 given the small and aged community, including both developers and users, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
47 it has. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
48 .P |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
49 In consequence, I believe that the available development resources |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
50 should be focused on the point where MH is most unique. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
51 This is clearly the user interface \(en the MUA. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
52 Peripheral parts should be removed to stream-line mmh for the MUA task. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
53 |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
54 |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
55 .H2 "Removal of the Mail Transfer Facilities |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
56 .P |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
57 In contrast to nmh, which also provides mail submission and mail retrieval |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
58 agents, mmh is a MUA only. |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
59 This general difference in the view on the character of nmh |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
60 initiated the development of mmh. |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
61 Removing the mail transfer facilities had been the first work task |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
62 in the mmh project. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
63 .P |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
64 The MSA is called \fIMessage Transfer Service\fP (MTS) in nmh. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
65 The facility established network connections and spoke SMTP to submit |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
66 messages for relay to the outside world. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
67 This part was implemented by the |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
68 .Pn post |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
69 command. |
96 | 70 The changes in email in the last years |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
71 demanded changes in this part of nmh too. |
89 | 72 Encryption and authentication for network connections |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
73 needed to be supported, hence TLS and SASL were introduced into nmh. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
74 This added complexity to nmh without improving it in its core functions. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
75 Also, keeping up with recent developments in the field of |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
76 mail transfer requires development power and specialists. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
77 In mmh this whole facility was simply cut off. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
78 .Ci f6aa95b724fd8c791164abe7ee5468bf5c34f226 |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
79 .Ci fecd5d34f65597a4dfa16aeabea7d74b191532c3 |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
80 .Ci 156d35f6425bea4c1ed3c4c79783dc613379c65b |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
81 Instead, mmh depends on an external MSA. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
82 The only outgoing interface available to mmh is the |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
83 .Pn sendmail |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
84 command, which almost any MSA provides. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
85 If not, a wrapper program can be written. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
86 It must read the message from the standard input, extract the |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
87 recipient addresses from the message header, and hand the message |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
88 over to the MSA. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
89 For example, a wrapper script for qmail would be: |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
90 .VS |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
91 #!/bin/sh |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
92 # ignore command line arguments |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
93 exec qmail-inject |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
94 VE |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
95 The requirement to parse the recipient addresses out of the message header |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
96 is likely to be removed in the future. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
97 Then mmh would give the recipient addresses as command line arguments. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
98 This is clearly the better interface, but mmh does not provide it yet. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
99 .\" XXX implement it |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
100 .P |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
101 To retrieve mail, the |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
102 .Pn inc |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
103 command established network connections |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
104 and spoke POP3 to retrieve mail from remote servers. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
105 As with mail submission, the network connections required encryption and |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
106 authentication, thus TLS and SASL were added. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
107 Support for message retrieval through IMAP will become necessary |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
108 to be added soon, too, and so on for any changes in mail transfer. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
109 Mmh has dropped the support for retrieving mail from remote locations. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
110 .Ci ab7b48411962d26439f92f35ed084d3d6275459c |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
111 Instead, it depends on an external tool to cover this task. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
112 In mmh there exist two paths for messages to enter mmh's mail storage: |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
113 (1) Mail can be incorporate with |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
114 .Pn inc |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
115 from the system maildrop, or (2) with |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
116 .Pn rcvstore |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
117 by reading them, one at a time, from the standard input. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
118 .P |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
119 With the removal of the MSA and MRA, mmh converted from an all-in-one |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
120 mail system to being a MUA only. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
121 Following the Unix philosophy, it now focuses on one job and |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
122 tries to do that one well. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
123 Not only the programs follow that tenet but also the project itself does so. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
124 Now, of course, mmh depends on third-party software. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
125 An external MSA is required to transfer mail to the outside world; |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
126 an external MRA is required to retrieve mail from remote machines. |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
127 There exist excellent implementations of such software, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
128 which do this specific task likely better than the internal |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
129 versions had done it. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
130 Also, the best suiting programs can be freely chosen. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
131 .P |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
132 As it had already been possible to use an external MSA or MRA, |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
133 why not keep the internal version for convenience? |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
134 The question whether there is sense in having a fall-back pager in all |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
135 the command line tools, for the cases when |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
136 .Pn more |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
137 or |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
138 .Pn less |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
139 aren't available, appears to be ridiculous. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
140 Now, an MSA or MRA is more complex than a text pager |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
141 and not necessarily available but still the concept of orthogonal |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
142 design holds: ``Write programs that do one thing and do it well.'' |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
143 .[ |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
144 mcilroy unix phil |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
145 p. 53 |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
146 .] |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
147 .[ |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
148 mcilroy bstj foreword |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
149 .] |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
150 Here, this part of the Unix philosophy was applied not only |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
151 to the programs but to the project itself. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
152 In other words: |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
153 ``Develop projects that focus on one thing and do it well.'' |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
154 Projects grown complex should be split for the same reasons programs grown |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
155 complex should be split. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
156 If it is conceptionally more elegant to have the MSA and MRA |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
157 separate projects then they should be separated. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
158 This is the case here, in my opinion. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
159 The RFCs propose this separation by clearly distinguishing the different |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
160 mail handling tasks. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
161 .[ |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
162 rfc 821 |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
163 .] |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
164 The small interfaces between the mail agents support the separation. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
165 .P |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
166 In the beginning, email had been small and simple. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
167 (\c |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
168 .Pn /bin/mail |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
169 had once covered anything there was to email and still had been small |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
170 and simple.) |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
171 Then the essential complexity of email increased. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
172 (Essential complexity is the complexity defined by the problem itself.\0 |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
173 .[[ |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
174 brooks no silver bullet |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
175 .]]) |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
176 Email systems reacted to this change: They grew. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
177 RFCs started to introduce mail agents and separated the various tasks |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
178 because the existing tasks became more extensive and new tasks appeared. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
179 Again, email systems grew, or they split parts off. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
180 In nmh, for instance, the POP server, which the original MH had included, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
181 was removed. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
182 Now is the time to go one step further and remove the MSA and MRA, too. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
183 Not only does this decrease the code size of the project, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
184 but, more important, it unburdens mmh of the whole field of |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
185 message transfer with all its implications for the project. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
186 There's no more need to concern with changes in network transfer. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
187 This independence is received by depending on an external program |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
188 that covers the field. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
189 Today, this is a reasonable exchange. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
190 .P |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
191 Function can be added in three different ways: |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
192 .BU |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
193 Implementing the function originally in the project. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
194 .BU |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
195 Depending on a library that provides the function. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
196 .BU |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
197 Depending on a program that provides the function. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
198 .P |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
199 Whereas adding the function originally to the project increases the |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
200 code size most and requires most maintenance and development work, |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
201 it makes the project most independent of other software. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
202 Using libraries or external programs require less maintenance work |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
203 but introduces dependencies on external software. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
204 Programs have the smallest interfaces and provide the best separation |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
205 but possibly limit the information exchange. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
206 External libraries are stronger connected than external programs, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
207 thus information can be exchanged more flexible. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
208 Adding code to a project increases maintenance work. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
209 .\" XXX ref |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
210 Implementing complex functions originally in the project will add |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
211 a lot of code. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
212 This should be avoided if possible. |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
213 Hence, the dependencies only change in kind, not in their existence. |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
214 In mmh, library dependencies on |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
215 .Pn libsasl2 |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
216 and |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
217 .Pn libcrypto /\c |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
218 .Pn libssl |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
219 were treated against program dependencies on an MSA and an MRA. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
220 This also meant treating build-time dependencies against run-time |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
221 dependencies. |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
222 Besides program dependencies providing the stronger separation |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
223 and being more flexible, they also allowed |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
224 over 6\|000 lines of code to be removed from mmh. |
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
225 This made mmh's code base about 12\|% smaller. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
226 Reducing the project's code size by such an amount without actually |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
227 losing functionality is a convincing argument. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
228 Actually, as external MSAs and MRAs are likely superior to the |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
229 project's internal versions, the common user even gains functionality. |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
230 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
231 Users of MH should not have problems to set up an external MSA and MRA. |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
232 Also, the popular MSAs and MRAs have large communities and a lot |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
233 of documentation available. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
234 Choices for MSAs range from full-featured MTAs like |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
235 .I Postfix |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
236 over mid-size MTAs like |
60
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
237 .I masqmail |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
238 and |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
239 .I dma |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
240 to small forwarders like |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
241 .I ssmtp |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
242 and |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
243 .I nullmailer . |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
244 Choices for MRAs include |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
245 .I fetchmail , |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
246 .I getmail , |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
247 .I mpop |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
248 and |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
249 .I fdm . |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
250 |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
251 |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
252 .H2 "Removal of non-MUA Tools |
6a92e0208de0
Wrote about the removal of the mail transfer facilities.
markus schnalke <meillo@marmaro.de>
parents:
58
diff
changeset
|
253 .P |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
254 One goal of mmh is to remove the tools that are not part of the MUA's task. |
89 | 255 Further more, any tools that don't improve the MUA's job significantly |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
256 should be removed. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
257 Loosely related and rarely used tools distract from the lean appearance. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
258 They require maintenance work without adding much to the core task. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
259 On removing these tools, the project shall become more stream-lined |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
260 and focused. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
261 In mmh the following tools are not available anymore: |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
262 .BU |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
263 .Pn conflict |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
264 was removed |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
265 .Ci 8b235097cbd11d728c07b966cf131aa7133ce5a9 |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
266 because it is a mail system maintenance tool that is not MUA-related. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
267 It even checked |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
268 .Fn /etc/passwd |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
269 and |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
270 .Fn /etc/group |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
271 for consistency, which is completely unrelated to email. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
272 A tool like |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
273 .Pn conflict |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
274 is surely useful, but it should not be shipped with mmh. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
275 .\" XXX historic reasons? |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
276 .BU |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
277 .Pn rcvtty |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
278 was removed |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
279 .Ci 14767c94b3827be7c867196467ed7aea5f6f49b0 |
89 | 280 because its use case of writing to the user's terminal |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
281 on receiving of mail is obsolete. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
282 If users like to be informed of new mail, the shell's |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
283 .Ev MAILPATH |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
284 variable or graphical notifications are technically more appealing. |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
285 Writing directly to a terminals is hardly ever wanted today. |
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
286 If though one wants to have it this way, the standard tool |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
287 .Pn write |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
288 can be used in a way similar to: |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
289 .VS |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
290 scan -file - | write `id -un` |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
291 VE |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
292 .BU |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
293 .Pn viamail |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
294 was removed |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
295 .Ci eda72d6a7a7c20ff123043fb7f19c509ea01f932 |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
296 when the new attachment system was activated, because |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
297 .Pn forw |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
298 could then cover the task itself. |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
299 The program |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
300 .Pn sendfiles |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
301 was rewritten as a shell script wrapper around |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
302 .Pn forw . |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
303 .Ci 0e82199cf3c991a173e0ac8aa776efdb3ded61e6 |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
304 .BU |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
305 .Pn msgchk |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
306 was removed |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
307 .Ci bb9360ead7eb7a3fedcce2eeedfc660014e41dbe , |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
308 because it lost its use case when POP support was removed. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
309 A call to |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
310 .Pn msgchk |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
311 provided hardly more information than: |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
312 .VS |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
313 ls -l /var/mail/meillo |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
314 VE |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
315 It did distinguished between old and new mail, but |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
316 this detail information and can be retrieved with |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
317 .Pn stat (1), |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
318 too. |
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
319 A very small shell script could be written to output the information |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
320 in a similar way, if truly necessary. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
321 As mmh's |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
322 .Pn inc |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
323 only incorporates mail from the user's local maildrop, |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
324 and thus no data transfers over slow networks are involved, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
325 there's hardly any need to check for new mail before incorporating it. |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
326 .BU |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
327 .Pn msh |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
328 was removed |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
329 .Ci 916690191222433a6923a4be54b0d8f6ac01bd02 |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
330 because the tool was in conflict with the philosophy of MH. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
331 It provided an interactive shell to access the features of MH, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
332 but it wasn't just a shell, tailored to the needs of mail handling. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
333 Instead it was one large program that had several MH tools built in. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
334 This conflicts with the major feature of MH of being a tool chest. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
335 .Pn msh 's |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
336 main use case had been accessing Bulletin Boards, which have seized to |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
337 be popular. |
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
338 .P |
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
339 Removing |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
340 .Pn msh , |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
341 together with the truly archaic code relicts |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
342 .Pn vmh |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
343 and |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
344 .Pn wmh , |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
345 saved more than 7\|000 lines of C code \(en |
66
4c9f4d05d90e
Rework and extension of text from yesterday.
markus schnalke <meillo@marmaro.de>
parents:
63
diff
changeset
|
346 about 15\|% of the project's original source code amount. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
347 .P |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
348 Having less code (with equal readability, of course) |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
349 for the same functionality is an advantage. |
63 | 350 Less code means less bugs and less maintenance work. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
351 As |
63 | 352 .Pn rcvtty |
353 and | |
354 .Pn msgchk | |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
355 are assumed to be rarely used and can be implemented in different ways, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
356 why should one keep them? |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
357 Removing them stream-lines mmh. |
63 | 358 .Pn viamail 's |
359 use case is now partly obsolete and partly covered by | |
360 .Pn forw , | |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
361 hence there's no reason to still maintain it. |
63 | 362 .Pn conflict |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
363 is not related to the mail client, and |
63 | 364 .Pn msh |
365 conflicts with the basic concept of MH. | |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
366 Theses two tools might still be useful, but they should not be part of mmh. |
63 | 367 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
368 Finally, there's |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
369 .Pn slocal . |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
370 .Pn slocal |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
371 is an MDA and thus not directly MUA-related. |
78 | 372 It should be removed, because including it is a violation |
373 of the idea that mmh is a MUA only. | |
374 It should become a separate project. | |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
375 However, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
376 .Pn slocal |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
377 provides rule-based processing of messages, like filing them into |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
378 different folders, which is otherwise not available in mmh. |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
379 Although |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
380 .Pn slocal |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
381 does neither pull in dependencies nor does it include a separate |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
382 technical area (cf. Sec. XXX), |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
383 still it accounts for about 1\|000 lines of code that need to be maintained. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
384 As |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
385 .Pn slocal |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
386 is almost self-standing, it should be split off into a separate project. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
387 This would cut the strong connection between the MUA mmh and the MDA |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
388 .Pn slocal . |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
389 For anyone not using MH, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
390 .Pn slocal |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
391 would become yet another independent MDA, like |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
392 .I procmail . |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
393 The need to install a complete MH system to have |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
394 .Pn slocal |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
395 would be gone. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
396 Likewise, mmh users could decide to use |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
397 .I procmail |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
398 without having a second, unused MDA, |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
399 .Pn slocal , |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
400 installed. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
401 That's conceptionally the best solution. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
402 Yet, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
403 .Pn slocal |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
404 is not split off. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
405 I feel unsure with removing it from mmh. |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
406 Hence, I defer the decision over |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
407 .Pn slocal . |
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
408 In the meanwhile |
78 | 409 .Pn slocal |
87
7d5b180de542
All kinds of rework plus new refs.
markus schnalke <meillo@marmaro.de>
parents:
85
diff
changeset
|
410 does not hurt because it is unrelated to the rest of mmh. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
411 |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
412 |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
413 .H2 "\fLshow\fP and \fPmhshow\fP |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
414 .P |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
415 Since the very beginning \(en already in the first concept paper \(en |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
416 .Pn show |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
417 had been MH's message display program. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
418 .Pn show |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
419 mapped message numbers and sequences to files and invoked |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
420 .Pn mhl |
89 | 421 to have the files formatted. |
88 | 422 With MIME, this approach wasn't sufficient anymore. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
423 MIME messages can consist of multiple parts, some of which aren't |
88 | 424 directly displayable, further more text content might be encoded in |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
425 foreign charsets. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
426 .Pn show 's |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
427 understanding of messages and |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
428 .Pn mhl 's |
88 | 429 display capabilities couldn't cope with the task any longer. |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
430 .P |
88 | 431 Instead of extending these tools, additional tools were written from |
432 scratch and added to the MH tool chest. | |
433 Doing so is encouraged by the tool chest approach. | |
434 Modular design is a great advantage for extending a system, | |
435 as new tools can be added without interfering with existing ones. | |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
436 First, the new MIME features were added in form of the single program |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
437 .Pn mhn . |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
438 The command |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
439 .Cl "mhn -show 42 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
440 would show the MIME message numbered 42. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
441 With the 1.0 release of nmh in February 1999, Richard Coleman finished |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
442 the split of |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
443 .Pn mhn |
88 | 444 into a set of specialized tools, which together covered the |
445 multiple aspects of MIME. | |
446 One of them was | |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
447 .Pn mhshow , |
88 | 448 which replaced |
449 .Cl "mhn -show" . | |
450 It was capable of displaying MIME messages appropriately. | |
62
24aabbfe5794
Minor rework of larger text areas.
markus schnalke <meillo@marmaro.de>
parents:
60
diff
changeset
|
451 .P |
88 | 452 From then on, two message display tools were part of nmh, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
453 .Pn show |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
454 and |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
455 .Pn mhshow . |
88 | 456 To ease the life of users, |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
457 .Pn show |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
458 was extended to automatically hand the job over to |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
459 .Pn mhshow |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
460 if displaying the message would be beyond |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
461 .Pn show 's |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
462 abilities. |
88 | 463 In consequence, the user would simply invoke |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
464 .Pn show |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
465 (possibly through |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
466 .Pn next |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
467 or |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
468 .Pn prev ) |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
469 and get the message printed with either |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
470 .Pn show |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
471 or |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
472 .Pn mhshow , |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
473 whatever was more appropriate. |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
474 .P |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
475 Having two similar tools for essentially the same task is redundant. |
88 | 476 Usually, |
477 users wouldn't distinguish between | |
478 .Pn show | |
479 and | |
480 .Pn mhshow | |
481 in their daily mail reading. | |
482 Having two separate display programs was therefore mainly unnecessary | |
483 from a user's point of view. | |
484 Besides, the development of both programs needed to be in sync, | |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
485 to ensure that the programs behaved in a similar way, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
486 because they were used like a single tool. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
487 Different behavior would have surprised the user. |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
488 .P |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
489 Today, non-MIME messages are rather seen to be a special case of |
88 | 490 MIME messages, although it's the other way round. |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
491 As |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
492 .Pn mhshow |
88 | 493 had already be able to display non-MIME messages, it appeared natural |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
494 to drop |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
495 .Pn show |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
496 in favor of using |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
497 .Pn mhshow |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
498 exclusively. |
88 | 499 .Ci 4c1efddfd499300c7e74263e57d8aa137e84c853 |
500 Removing | |
501 .Pn show | |
502 is no loss in function, because functionally | |
503 .Pn mhshow | |
504 covers it completely. | |
505 The old behavior of | |
506 .Pn show | |
507 can still be emulated with the simple command line: | |
508 .VS | |
509 mhl `mhpath c` | |
510 VE | |
511 .P | |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
512 For convenience, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
513 .Pn mhshow |
88 | 514 was renamed to |
515 .Pn show | |
516 after | |
517 .Pn show | |
518 was gone. | |
519 It is clear that such a rename may confuse future developers when | |
520 trying to understand the history. | |
521 Nevertheless, I consider the convenience on the user's side, | |
522 to call | |
523 .Pn show | |
524 when they want a message to be displayed, to outweigh the inconvenience | |
525 on the developer's side when understanding the project history. | |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
526 .P |
88 | 527 To prepare for the transition, |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
528 .Pn mhshow |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
529 was reworked to behave more like |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
530 .Pn show |
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
531 first. |
88 | 532 (cf. Sec. XXX) |
533 Once the tools behaved more alike, the replacing appeared to be | |
534 even more natural. | |
535 Today, mmh's new | |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
536 .Pn show |
88 | 537 became the one single message display program again, with the difference |
538 that today it handles MIME messages as well as non-MIME messages. | |
539 The outcome of the transition is one program less to maintain, | |
540 no second display program for users to deal with, | |
541 and less system complexity. | |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
542 .P |
88 | 543 Still, removing the old |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
544 .Pn show |
88 | 545 hurts in one regard: It had been such a simple program. |
546 Its lean elegance is missing to the new | |
69
f80ced4e749b
Wrote more about the show-mhshow merge.
markus schnalke <meillo@marmaro.de>
parents:
66
diff
changeset
|
547 .Pn show . |
88 | 548 But there is no chance; |
549 supporting MIME demands for higher essential complexity. | |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
550 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
551 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
552 .H2 "Removal of Configure Options |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
553 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
554 Customization is a double-edged sword. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
555 It allows better suiting setups, but not for free. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
556 There is the cost of code complexity to be able to customize. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
557 There is the cost of less tested setups, because there are |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
558 more possible setups and especially corner-cases. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
559 And, there is the cost of choice itself. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
560 The code complexity directly affects the developers. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
561 Less tested code affects both, users and developers. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
562 The problem of choice affects the users, for once by having to |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
563 choose, but also by complexer interfaces that require more documentation. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
564 Whenever options add little advantages, they should be considered for |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
565 removal. |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
566 I have reduced the number of project-specific configure options from |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
567 fifteen to three. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
568 |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
569 .U3 "Mail Transfer Facilities |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
570 .P |
85
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
571 With the removal of the mail transfer facilities five configure |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
572 options vanished: |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
573 .P |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
574 The switches |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
575 .Sw --with-tls |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
576 and |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
577 .Sw --with-cyrus-sasl |
89 | 578 had activated the support for transfer encryption and authentication. |
85
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
579 This is not needed anymore. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
580 .Ci fecd5d34f65597a4dfa16aeabea7d74b191532c3 |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
581 .Ci 156d35f6425bea4c1ed3c4c79783dc613379c65b |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
582 .P |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
583 The configure switch |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
584 .Sw --enable-pop |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
585 activated the message retrieval facility. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
586 The code area that would be conditionally compiled in for TLS and SASL |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
587 support had been small. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
588 The conditionally compiled code area for POP support had been much larger. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
589 Whereas the code base changes would only slightly change on toggling |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
590 TLS or SASL support, it changed much on toggling POP support. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
591 The changes in the code base could hardly be overviewed. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
592 By having POP support togglable a second code base had been created, |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
593 one that needed to be tested. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
594 This situation is basically similar for the conditional TLS and SASL |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
595 code, but there the changes are minor and can yet be overviewed. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
596 Still, conditional compilation of a code base creates variations |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
597 of the original program. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
598 More variations require more testing and maintenance work. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
599 .P |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
600 Two other options only specified default configuration values: |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
601 .Sw --with-mts=[smtp|sendmail] |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
602 defined the default transport service. |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
603 In mmh this fixed to |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
604 .Ar sendmail . |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
605 .Ci f6aa95b724fd8c791164abe7ee5468bf5c34f226 |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
606 With |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
607 .Sw --with-smtpservers=[server1...] |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
608 default SMTP servers for the |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
609 .Ar smtp |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
610 transport service could be specified. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
611 .Ci 128545e06224233b7e91fc4c83f8830252fe16c9 |
85
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
612 Both of them became irrelevant. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
613 |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
614 .U3 "Backup Prefix |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
615 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
616 The backup prefix is the string that was prepended to message |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
617 filenames to tag them as deleted. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
618 By default it had been the comma character `\f(CW,\fP'. |
78 | 619 In July 2000, Kimmo Suominen introduced |
620 the configure option | |
621 .Sw --with-hash-backup | |
622 to change the default to the hash symbol `\f(CW#\fP'. | |
623 The choice was probably personal preference, because first, the | |
624 option was named | |
625 .Sw --with-backup-prefix. | |
626 and had the prefix symbol as argument. | |
627 Because giving the hash symbol as argument caused to many problems | |
628 for configure, | |
629 the option was limited to use the hash symbol as the default prefix. | |
630 This makes me believe, that the choice for the hash was personal preference. | |
631 Being it related or not, words that start with the hash symbol | |
632 introduce a comment in the Unix shell. | |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
633 Thus, the command line |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
634 .Cl "rm #13 #15 |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
635 calls |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
636 .Pn rm |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
637 without arguments because the first hash symbol starts the comment |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
638 that reaches until the end of the line. |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
639 To delete the backup files, |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
640 .Cl "rm ./#13 ./#15" |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
641 needs to be used. |
78 | 642 Using the hash as backup prefix can be seen as a precaution agains |
643 data loss. | |
644 .P | |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
645 I removed the configure option but added the profile entry |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
646 .Pe backup-prefix , |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
647 which allows to specify an arbitrary string as backup prefix. |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
648 .Ci 6c40d481d661d532dd527eaf34cebb6d3f8ed086 |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
649 Profile entries are the common method to change mmh's behavior. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
650 This change did not remove the choice but moved it to a location where |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
651 it suited better. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
652 .P |
78 | 653 Eventually, however, the new trash folder concept |
654 .Cf "Sec. XXX | |
655 obsoleted the concept of the backup prefix completely. | |
656 .Ci 8edc5aaf86f9f77124664f6801bc6c6cdf258173 | |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
657 (Well, there still are corner-cases to remove until the backup |
89 | 658 prefix can be laid to rest, eventually.) |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
659 .\" FIXME: Do this work in the code! |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
660 |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
661 .U3 "Editor and Pager |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
662 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
663 The two configure options |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
664 .CW --with-editor=EDITOR |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
665 .CW --with-pager=PAGER |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
666 were used to specify the default editor and pager at configure time. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
667 Doing so at configure time made sense in the Eighties, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
668 when the set of available editors and pagers varied much across |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
669 different systems. |
89 | 670 Today, the situation is more homogeneous. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
671 The programs |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
672 .Pn vi |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
673 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
674 .Pn more |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
675 can be expected to be available on every Unix system, |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
676 as they are specified by POSIX since two decades. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
677 (The specifications for |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
678 .Pn vi |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
679 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
680 .Pn more |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
681 appeared in |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
682 .[ |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
683 posix 1987 |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
684 .] |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
685 and, |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
686 .[ |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
687 posix 1992 |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
688 .] |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
689 respectively.) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
690 As a first step, these two tools were hard-coded as defaults. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
691 .Ci 5d43a99db70c12a673028c7758c20cbe3e13ef5f |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
692 Not changed were the |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
693 .Pe editor |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
694 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
695 .Pe moreproc |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
696 profile entries, which allowed the user to override the system defaults. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
697 Later, the concept was reworked to respect the standard environment |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
698 variables |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
699 .Ev VISUAL |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
700 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
701 .Ev PAGER |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
702 if they are set. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
703 Today, mmh determines the editor to use in the following order, |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
704 taking the first available and non-empty item: |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
705 .IP (1) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
706 Environment variable |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
707 .Ev MMHEDITOR |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
708 .IP (2) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
709 Profile entry |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
710 .Pe Editor |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
711 .IP (3) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
712 Environment variable |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
713 .Ev VISUAL |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
714 .IP (4) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
715 Environment variable |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
716 .Ev EDITOR |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
717 .IP (5) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
718 Command |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
719 .Pn vi . |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
720 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
721 .Ci f85f4b7ae62e3d05a945dcd46ead51f0a2a89a9b |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
722 .P |
89 | 723 The pager to use is determined in a similar order, |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
724 also taking the first available and non-empty item: |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
725 .IP (1) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
726 Environment variable |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
727 .Ev MMHPAGER |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
728 .IP (2) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
729 Profile entry |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
730 .Pe Pager |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
731 (replaces |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
732 .Pe moreproc ) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
733 .IP (3) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
734 Environment variable |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
735 .Ev PAGER |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
736 .IP (4) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
737 Command |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
738 .Pn more . |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
739 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
740 .Ci 0c4214ea2aec6497d0d67b436bbee9bc1d225f1e |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
741 .P |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
742 By respecting the |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
743 .Ev VISUAL /\c |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
744 .Ev EDITOR |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
745 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
746 .Ev PAGER |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
747 environment variables, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
748 the new behavior confirms better to the common style on Unix systems. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
749 Additionally, the new approach is more uniform and clearer to users. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
750 |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
751 .U3 "Locale |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
752 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
753 The configure option |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
754 .Sw --disable-locale |
85
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
755 was removed because POSIX provides locale support and there's |
fb0d1b4c8fb1
Extended the text about mail transfer configure options.
markus schnalke <meillo@marmaro.de>
parents:
84
diff
changeset
|
756 hardly any need to disable locale support. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
757 .Ci ccf4f175ef4c4e7522f9510a4a1149c15d810dd9 |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
758 |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
759 .U3 "ndbm |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
760 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
761 .Pn slocal |
78 | 762 used to depend on |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
763 .I ndbm , |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
764 a database library. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
765 The database is used to store the `\fLMessage-ID\fP's of all |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
766 messages delivered. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
767 This enables |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
768 .Pn slocal |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
769 to suppress delivering the same message to the same user twice. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
770 (This features was enabled by the |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
771 .Sw -suppressdup |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
772 switch.) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
773 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
774 A variety of version of the database library exist. |
78 | 775 .[ |
776 wolter unix incompat notes dbm | |
777 .] | |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
778 Complicated autoconf code was needed to detect them correctly. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
779 Further more, the configure switches |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
780 .Sw --with-ndbm=ARG |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
781 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
782 .Sw --with-ndbmheader=ARG |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
783 were added to help with difficult setups that would |
78 | 784 not be detected automatically or correctly. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
785 .P |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
786 By removing the suppress duplicates feature of |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
787 .Pn slocal , |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
788 the dependency on |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
789 .I ndbm |
78 | 790 vanished and 120 lines of complex autoconf code could be saved. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
791 .Ci ecd6d6a20cb7a1507e3a20d6c4cb3a1cf14c6bbf |
89 | 792 The change removed functionality too, but that is minor to the |
78 | 793 improvement by dropping the dependency and the complex autoconf code. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
794 |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
795 .U3 "mh-e Support |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
796 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
797 The configure option |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
798 .Sw --disable-mhe |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
799 was removed when the mh-e support was reworked. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
800 Mh-e is the Emacs front-end to MH. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
801 It requires MH to provide minor additional functions. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
802 The |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
803 .Sw --disable-mhe |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
804 configure option could switch these extensions off. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
805 After removing the support for old versions of mh-e, |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
806 only the |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
807 .Sw -build |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
808 switches of |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
809 .Pn forw |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
810 and |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
811 .Pn repl |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
812 are left to be mh-e extensions. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
813 They are now always built in because they add little code and complexity. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
814 In consequence, the |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
815 .Sw --disable-mhe |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
816 configure option was removed |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
817 .Ci a7ce7b4a580d77b6c2c4d980812beb589aa4c643 |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
818 Removing the option removed a second code setup that would have |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
819 needed to be tested. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
820 This change was first done in nmh and thereafter merged into mmh. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
821 .P |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
822 The interface changes in mmh require mh-e to be adjusted in order |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
823 to be able to use mmh as back-end. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
824 This will require minor changes to mh-e, but removing the |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
825 .Sw -build |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
826 switches would require more rework. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
827 |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
828 .U3 "Masquerading |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
829 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
830 The configure option |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
831 .Sw --enable-masquerade |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
832 could take up to three arguments: |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
833 `draft_from', `mmailid', and `username_extension'. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
834 They activated different types of address masquerading. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
835 All of them were implemented in the SMTP-speaking |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
836 .Pn post |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
837 command, which provided an MSA. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
838 Address masquerading is an MTA's task and mmh does not cover |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
839 this field anymore. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
840 Hence, true masquerading needs to be implemented in the external MTA. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
841 .P |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
842 The |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
843 .I mmailid |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
844 masquerading type is the oldest one of the three and the only one |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
845 available in the original MH. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
846 It provided a |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
847 .I username |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
848 to |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
849 .I fakeusername |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
850 mapping, based on the password file's GECOS field. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
851 The man page |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
852 .Mp mh-tailor(5) |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
853 described the use case as being the following: |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
854 .QS |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
855 This is useful if you want the messages you send to always |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
856 appear to come from the name of an MTA alias rather than your |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
857 actual account name. For instance, many organizations set up |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
858 `First.Last' sendmail aliases for all users. If this is |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
859 the case, the GECOS field for each user should look like: |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
860 ``First [Middle] Last <First.Last>'' |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
861 .QE |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
862 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
863 As mmh sends outgoing mail via the local MTA only, |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
864 the best location to do such global rewrites is there. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
865 Besides, the MTA is conceptionally the right location because it |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
866 does the reverse mapping for incoming mail (aliasing), too. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
867 Further more, masquerading set up there is readily available for all |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
868 mail software on the system. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
869 Hence, mmailid masquerading was removed. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
870 .Ci 0836c8000ccb34b59410ef1c15b1b7feac70ce5f |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
871 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
872 The |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
873 .I username_extension |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
874 masquerading type did not replace the username but would append a suffix, |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
875 specified by the |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
876 .Ev USERNAME_EXTENSION |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
877 environment variable, to it. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
878 This provided support for the |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
879 .I user-extension |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
880 feature of qmail and the similar |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
881 .I "plussed user |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
882 processing of sendmail. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
883 The decision to remove this username_extension masquerading was |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
884 motivated by the fact that |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
885 .Pn spost |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
886 hadn't supported it already. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
887 .Ci 2abae0bfd0ad5bf898461e50aa4b466d641f23d9 |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
888 Username extensions are possible in mmh, but less convenient to use. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
889 .\" XXX format file %(getenv USERNAME_EXTENSION) |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
890 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
891 The |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
892 .I draft_from |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
893 masquerading type instructed |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
894 .Pn post |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
895 to use the value of the |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
896 .Hd From |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
897 header field as SMTP envelope sender. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
898 Sender addresses could be replaced completely. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
899 .Ci b14ea6073f77b4359aaf3fddd0e105989db9 |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
900 Mmh offers a kind of masquerading similar in effect, but |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
901 with technical differences. |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
902 As mmh does not transfer messages itself, the local MTA has final control |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
903 over the sender's address. Any masquerading mmh introduces may be reverted |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
904 by the MTA. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
905 In times of pedantic spam checking, an MTA will take care to use |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
906 sensible envelope sender addresses to keep its own reputation up. |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
907 Nonetheless, the MUA can set the |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
908 .Hd From |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
909 header field and thereby propose |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
910 a sender address to the MTA. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
911 The MTA may then decide to take that one or generate the canonical sender |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
912 address for use as envelope sender address. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
913 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
914 In mmh, the MTA will always extract the recipient and sender from the |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
915 message header (\c |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
916 .Pn sendmail 's |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
917 .Sw -t |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
918 switch). |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
919 The |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
920 .Hd From |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
921 header field of the draft may be set arbitrary by the user. |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
922 If it is missing, the canonical sender address will be generated by the MTA. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
923 |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
924 .U3 "Remaining Options |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
925 .P |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
926 Two configure options remain in mmh. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
927 One is the locking method to use: |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
928 .Sw --with-locking=[dot|fcntl|flock|lockf] . |
76
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
929 The idea of removing all methods except the portable dot locking |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
930 and having that one as the default is appealing, but this change |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
931 requires deeper technical investigation into the topic. |
2e61e0004a8f
Rework of existing text.
markus schnalke <meillo@marmaro.de>
parents:
74
diff
changeset
|
932 The other option, |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
933 .Sw --enable-debug , |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
934 compiles the programs with debugging symbols and does not strip them. |
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
935 This option is likely to stay. |
72
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
936 |
bae9273b5802
Wrote about configure options (not finished yet).
markus schnalke <meillo@marmaro.de>
parents:
69
diff
changeset
|
937 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
938 |
63 | 939 |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
940 .H2 "Removal of Switches |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
941 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
942 The command line switches of MH tools follow the X Window style. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
943 They are words, introduced by a single dash. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
944 For example: |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
945 .Cl "-truncate" . |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
946 Every program in mmh has two generic switches: |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
947 .Sw -help , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
948 to print a short message on how to use the program, and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
949 .Sw -Version , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
950 to tell what version of mmh the program belongs to. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
951 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
952 Switches change the behavior of programs. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
953 Programs that do one thing in one way require no switches. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
954 In most cases, doing something in exactly one way is too limiting. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
955 If there is basically one task to accomplish, but it should be done |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
956 in various ways, switches are a good approach to alter the behavior |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
957 of a program. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
958 Changing the behavior of programs provides flexibility and customization |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
959 to users, but at the same time it complicates the code, documentation and |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
960 usage of the program. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
961 .\" XXX: Ref |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
962 Therefore, the number of switches should be kept small. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
963 A small set of well-chosen switches does no harm. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
964 But usually, the number of switches increases over time. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
965 Already in 1985, Rose and Romine have identified this as a major |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
966 problem of MH: |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
967 .[ [ |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
968 rose romine real work |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
969 .], p. 12] |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
970 .QS |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
971 A complaint often heard about systems which undergo substantial development |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
972 by many people over a number of years, is that more and more options are |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
973 introduced which add little to the functionality but greatly increase the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
974 amount of information a user needs to know in order to get useful work done. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
975 This is usually referred to as creeping featurism. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
976 .QP |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
977 Unfortunately MH, having undergone six years of off-and-on development by |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
978 ten or so well-meaning programmers (the present authors included), |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
979 suffers mightily from this. |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
980 .QE |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
981 .P |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
982 Being reluctant to adding new switches \(en or `options', |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
983 as Rose and Romine call them \(en is one part of a counter-action, |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
984 the other part is removing hardly used switches. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
985 Nmh's tools had lots of switches already implemented, |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
986 hence, cleaning up by removing some of them was the more important part |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
987 of the counter-action. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
988 Removing existing functionality is always difficult because it |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
989 breaks programs that use these functions. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
990 Also, for every obsolete feature, there'll always be someone who still |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
991 uses it and thus opposes its removal. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
992 This puts the developer into the position, |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
993 where sensible improvements to style are regarded as destructive acts. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
994 Yet, living with the featurism is far worse, in my eyes, because |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
995 future needs will demand adding further features, |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
996 worsening the situation more and more. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
997 Rose and Romine added in a footnote, |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
998 ``[...] |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
999 .Pn send |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1000 will no doubt acquire an endless number of switches in the years to come.'' |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1001 Although clearly humorous, the comment points to the nature of the problem. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1002 Refusing to add any new switches would encounter the problem at its root, |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1003 but this is not practical. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1004 New needs will require new switches and it would be unwise to block |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1005 them strictly. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1006 Nevertheless, removing obsolete switches still is an effective approach |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1007 to deal with the problem. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1008 Working on an experimental branch without an established user base, |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1009 eased my work because I did not offend users when I removed existing |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1010 funtions. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1011 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1012 Rose and Romine counted 24 visible and 9 more hidden switches for |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1013 .Pn send . |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1014 In nmh, they increased up to 32 visible and 12 hidden ones. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1015 At the time of writing, no more than 7 visible switches and 1 hidden switch |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1016 have remained in mmh's |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1017 .Pn send . |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1018 (These numbers include two generic switches, help and version.) |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1019 .P |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1020 Fig. XXX |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1021 .\" XXX Ref |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1022 displays the number of switches for each of the tools that is available |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1023 in both, nmh and mmh. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1024 Visible as well as hidden switches were counted, |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1025 but not the generic help and version switches. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1026 Whereas in the beginning of the project, the average tool had 11 switches, |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1027 now it has no more than 5 \(en only half as many. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1028 If the `no' switches and similar inverse variant are folded onto |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1029 their counter-parts, the average tool has 8 switches in pre-mmh to 4 now. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1030 The total number of functional switches in mmh dropped from 465 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1031 to 234. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1032 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1033 .KS |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1034 .in 1c |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1035 .so input/switches.grap |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1036 .KE |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1037 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1038 .P |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1039 A part of the switches vanished after functions were removed. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1040 This was the case for network mail transfer, for instance. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1041 Sometimes, however, the work flow was the other way: |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1042 I looked through the |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1043 .Mp mh-chart (7) |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1044 man page to identify the tools with apparently too many switches. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1045 Then considering the value of each of the switches by examining |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1046 the tool's man page and source code, aided by recherche and testing. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1047 This way, the removal of functions was suggested by the aim to reduce |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1048 the number of switches per command. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1049 |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1050 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1051 .U3 "Draft Folder Facility |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1052 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1053 A change early in the project was the completely transition from |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1054 the single draft message to the draft folder facility. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1055 .Ci 337338b404931f06f0db2119c9e145e8ca5a9860 |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1056 The draft folder facility was introduced in the mid-Eighties. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1057 (Rose and Romine called it a ``relatively new feature'' |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1058 .[ |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1059 rose romine real work |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1060 .] |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1061 in 1985.) |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1062 Since then, the facility had existed but was deactivated by default. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1063 The default activation and the related rework of the tools made it |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1064 possible to remove the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1065 .Sw -[no]draftfolder , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1066 and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1067 .Sw -draftmessage |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1068 switches from |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1069 .Pn comp , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1070 .Pn repl , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1071 .Pn forw , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1072 .Pn dist , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1073 .Pn whatnow , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1074 and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1075 .Pn send . |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1076 .Ci 337338b404931f06f0db2119c9e145e8ca5a9860 |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1077 The only flexibility removed with this change is having multiple |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1078 draft folders within one profile. |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1079 I consider this a theoretical problem only. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1080 In the same go, the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1081 .Sw -draft |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1082 switch of |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1083 .Pn anno , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1084 .Pn refile , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1085 and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1086 .Pn send |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1087 was removed. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1088 The special-casing of `the' draft message became irrelevant after |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1089 the rework of the draft system. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1090 (See Sec. XXX.) |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1091 Equally, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1092 .Pn comp |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1093 lost its |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1094 .Sw -file |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1095 switch. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1096 The draft folder facility, together with the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1097 .Sw -form |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1098 switch, are sufficient. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1099 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1100 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1101 .U3 "Inplace Editing |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1102 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1103 .Pn anno |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1104 had the switches |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1105 .Sw -[no]inplace |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1106 to either annotate the message inplace and thus preserve hard links, |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1107 or annotate a copy to replace the original message, breaking hard links. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1108 Following the assumption that linked messages should truly be the |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1109 same message, and annotating it should not break the link, the |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1110 .Sw -[no]inplace |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1111 switches were removed and the previous default |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1112 .Sw -inplace |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1113 was made the only behavior. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1114 .Ci c8195849d2e366c569271abb0f5f60f4ebf0b4d0 |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1115 The |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1116 .Sw -[no]inplace |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1117 switches of |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1118 .Pn repl , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1119 .Pn forw , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1120 and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1121 .Pn dist |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1122 could be removed, too, as they were simply passed through to |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1123 .Pn anno . |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1124 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1125 .Pn burst |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1126 also had |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1127 .Sw -[no]inplace |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1128 switches, but with different meaning. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1129 With |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1130 .Sw -inplace , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1131 the digest had been replaced by the table of contents (i.e. the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1132 introduction text) and the bursted messages were placed right |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1133 after this message, renumbering all following messages. |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1134 Also, any trailing text of the digest was lost, though, |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1135 in practice, it usually consists of an end-of-digest marker only. |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1136 Nontheless, this behavior appeared less elegant than the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1137 .Sw -noinplace |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1138 behavior, which already had been the default. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1139 Nmh's |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1140 .Mp burst (1) |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1141 man page reads: |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1142 .sp \n(PDu |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1143 .QS |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1144 If -noinplace is given, each digest is preserved, no table |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1145 of contents is produced, and the messages contained within |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1146 the digest are placed at the end of the folder. Other messages |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1147 are not tampered with in any way. |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1148 .QE |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1149 .LP |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1150 The decision to drop the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1151 .Sw -inplace |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1152 behavior was supported by the code complexity and the possible data loss |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1153 it caused. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1154 .Sw -noinplace |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1155 was chosen to be the definitive behavior. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1156 .Ci 68a686adeb39223a5e1ad35e4a24890ec053679d |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1157 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1158 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1159 .U3 "Forms and Format Strings |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1160 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1161 Historically, the tools that had |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1162 .Sw -form |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1163 switches to supply a form file had |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1164 .Sw -format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1165 switches as well to supply the contents of a form file as a string |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1166 on the command line directly. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1167 In consequence, the following two lines equaled: |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1168 .VS |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1169 scan -form scan.mailx |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1170 scan -format "`cat .../scan.mailx`" |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1171 VE |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1172 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1173 .Sw -format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1174 switches were dropped in favor for extending the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1175 .Sw -form |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1176 switches. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1177 .Ci f51956be123db66b00138f80464d06f030dbb88d |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1178 If their argument starts with an equal sign (`='), |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1179 then the rest of the argument is taken as a format string, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1180 otherwise the arguments is treated as the name of a format file. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1181 Thus, now the following two lines equal: |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1182 .VS |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1183 scan -form scan.mailx |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1184 scan -form "=`cat .../scan.mailx`" |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1185 VE |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1186 This rework removed the prefix collision between |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1187 .Sw -form |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1188 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1189 .Sw -format . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1190 Now, typing |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1191 .Sw -fo |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1192 suffices to specify form or format string. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1193 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1194 The different meaning of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1195 .Sw -format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1196 for |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1197 .Pn repl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1198 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1199 .Pn forw |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1200 was removed in mmh. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1201 .Pn forw |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1202 was completely switched to MIME-type forwarding, thus removing the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1203 .Sw -[no]format . |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1204 .Ci 6e271608b7b9c23771523f88d23a4d3593010cf1 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1205 For |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1206 .Pn repl , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1207 the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1208 .Sw -[no]format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1209 switches were reworked to |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1210 .Sw -[no]filter |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1211 switches. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1212 .Ci 67411b1f95d6ec987b4c732459e1ba8a8ac192c6 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1213 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1214 .Sw -format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1215 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1216 .Pn send |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1217 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1218 .Pn post , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1219 which had a third meaning, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1220 were removed likewise. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1221 .Ci f3cb7cde0e6f10451b6848678d95860d512224b9 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1222 Eventually, the ambiguity of the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1223 .Sw -format |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1224 switches was resolved by not anymore having any such switch in mmh. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1225 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1226 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1227 .U3 "MIME Tools |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1228 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1229 The MIME tools, which were once part of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1230 .Pn mhn , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1231 had several switches that added little practical value to the programs. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1232 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1233 .Sw -[no]realsize |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1234 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1235 .Pn mhbuild |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1236 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1237 .Pn mhlist |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1238 were removed, doing real size calculations always now |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1239 .Ci 8d8f1c3abc586c005c904e52c4adbfe694d2201c , |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1240 as |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1241 ``This provides an accurate count at the expense of a small delay.'' |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1242 This small delay is not noticable on modern systems. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1243 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1244 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1245 .Sw -[no]check |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1246 switches were removed together with the support for |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1247 .Hd Content-MD5 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1248 header fields. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1249 .[ |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1250 rfc 1864 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1251 .] |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1252 .Ci 31dc797eb5178970d68962ca8939da3fd9a8efda |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1253 (See Sec. XXX) |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1254 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1255 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1256 .Sw -[no]ebcdicsafe |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1257 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1258 .Sw -[no]rfc934mode |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1259 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1260 .Pn mhbuild |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1261 were removed because they are considered obsolete. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1262 .Ci 01a3480928da485b4d6109d36d751dfa71799d58 |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1263 .Ci 3363e2624dce0eb8164cf8b3f1ab385c8ff72e88 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1264 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1265 Content caching of external MIME parts, activated with the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1266 .Sw -rcache |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1267 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1268 .Sw -wcache |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1269 switches was completely removed. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1270 .Ci d1fefd9f614e4dc3cda16da6c69133c1b2005269 |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1271 External MIME parts are rare today, having a caching facility |
96 | 1272 for them is appears to be unnecessary. |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1273 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1274 In pre-MIME times, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1275 .Pn mhl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1276 had covered many tasks that are part of MIME handling today. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1277 Therefore, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1278 .Pn mhl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1279 could be simplified to a large extend, reducing the number of its |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1280 switches from 21 to 6. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1281 .Ci 350ad6d3542a07639213cf2a4fe524e829c1e7b6 |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1282 .Ci 0e46503be3c855bddaeae3843e1b659279c35d70 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1283 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1284 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1285 .U3 "Mail Transfer Switches |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1286 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1287 With the removal of the mail transfer facilities, a lot of switches |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1288 vanished automatically. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1289 .Pn inc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1290 lost 9 switches, namely |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1291 .Sw -host , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1292 .Sw -port , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1293 .Sw -user , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1294 .Sw -proxy , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1295 .Sw -snoop , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1296 .Sw -[no]pack , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1297 as well as |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1298 .Sw -sasl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1299 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1300 .Sw -saslmech . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1301 .Pn send |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1302 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1303 .Pn post |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1304 lost 11 switches each, namely |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1305 .Sw -server , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1306 .Sw -port , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1307 .Sw -client , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1308 .Sw -user , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1309 .Sw -mail , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1310 .Sw -saml , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1311 .Sw -send , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1312 .Sw -soml , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1313 .Sw -snoop , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1314 as well as |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1315 .Sw -sasl , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1316 .Sw -saslmech , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1317 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1318 .Sw -tls . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1319 .Pn send |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1320 had the switches only to pass them further to |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1321 .Pn post , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1322 because the user would invoke |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1323 .Pn post |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1324 not directly, but through |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1325 .Pn send . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1326 All these switches, except |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1327 .Sw -snoop |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1328 were usually defined as default switches in the user's profile, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1329 but hardly given in interactive usage. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1330 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1331 Of course, those switches did not really ``vanish'', but the configuration |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1332 they did was handed over to external MSAs and MRAs. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1333 Instead of setting up the mail transfer in mmh, it is set up in |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1334 external tools. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1335 Yet, this simplifies mmh. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1336 Specialized external tools will likely have simple configuration files. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1337 Hence, instead of having one complicated central configuration file, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1338 the configuration of each domain is separate. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1339 Although the user needs to learn to configure each of the tools, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1340 each configuration is likely much simpler. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1341 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1342 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1343 .U3 "Maildrop Formats |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1344 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1345 With the removal of MMDF maildrop format support, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1346 .Pn packf |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1347 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1348 .Pn rcvpack |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1349 no longer needed their |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1350 .Sw -mbox |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1351 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1352 .Sw -mmdf |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1353 switches. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1354 .Sw -mbox |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1355 is the sole behavior now. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1356 .Ci 3916ab66ad5d183705ac12357621ea8661afd3c0 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1357 In the same go, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1358 .Pn packf |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1359 and |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1360 .Pn rcvpack |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1361 were reworked (see Sec. XXX) and their |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1362 .Sw -file |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1363 switch became unnecessary. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1364 .Ci ca1023716d4c2ab890696f3e41fa0d94267a940e |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1365 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1366 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1367 .U3 "Terminal Magic |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1368 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1369 Mmh's tools will no longer clear the screen (\c |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1370 .Pn scan 's |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1371 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1372 .Pn mhl 's |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1373 .Sw -[no]clear |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1374 switches |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1375 .Ci e57b17343dcb3ff373ef4dd089fbe778f0c7c270 |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1376 .Ci 943765e7ac5693ae177fd8d2b5a2440e53ce816e ). |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1377 Neither will |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1378 .Pn mhl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1379 ring the bell (\c |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1380 .Sw -[no]bell |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1381 .Ci e11983f44e59d8de236affa5b0d0d3067c192e24 ) |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1382 nor page the output itself (\c |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1383 .Sw -length |
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1384 .Ci 5b9d883db0318ed2b84bb82dee880d7381f99188 ). |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1385 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1386 Generally, the pager to use is no longer specified with the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1387 .Sw -[no]moreproc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1388 command line switches for |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1389 .Pn mhl |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1390 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1391 .Pn show /\c |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1392 .Pn mhshow . |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1393 .Ci 39e87a75b5c2d3572ec72e717720b44af291e88a |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1394 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1395 .Pn prompter |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1396 lost its |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1397 .Sw -erase |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1398 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1399 .Sw -kill |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1400 switches because today the terminal cares for the line editing keys. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1401 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1402 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1403 .U3 "Header Printing |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1404 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1405 .Pn folder 's |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1406 data output is self-explaining enough that |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1407 displaying the header line makes few sense. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1408 Hence, the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1409 .Sw -[no]header |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1410 switch was removed and headers are never printed. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1411 .Ci 601cc73d1fa05ce96faa728f036d6c51b91701c7 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1412 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1413 In |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1414 .Pn mhlist , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1415 the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1416 .Sw -[no]header |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1417 switches were removed, too. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1418 .Ci b24f96523aaf60e44e04a3ffb1d22e69a13a602f |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1419 But in this case headers are always printed, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1420 because the output is not self-explaining. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1421 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1422 .Pn scan |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1423 also had |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1424 .Sw -[no]header |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1425 switches. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1426 Printing the header had been sensible until the introduction of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1427 format strings made it impossible to display the column headings. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1428 Only the folder name and the current date remained to be printed. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1429 As this information can be perfectly retrieved by |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1430 .Pn folder |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1431 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1432 .Pn date , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1433 consequently, the switches were removed. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1434 .Ci c477dc5d1d03fa6d9a8ab3dd3508c63cbddc044e |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1435 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1436 By removing all |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1437 .Sw -header |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1438 switches, the collision with |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1439 .Sw -help |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1440 on the first two letters was resolved. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1441 Currently, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1442 .Sw -h |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1443 evaluates to |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1444 .Sw -help |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1445 for all tools of mmh. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1446 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1447 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1448 .U3 "Suppressing Edits or the WhatNow Shell |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1449 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1450 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1451 .Sw -noedit |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1452 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1453 .Pn comp , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1454 .Pn repl , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1455 .Pn forw , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1456 .Pn dist , |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1457 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1458 .Pn whatnow |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1459 was removed, but it can now be replaced by specifying |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1460 .Sw -editor |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1461 with an empty argument. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1462 .Ci 75fca31a5b9d5c1a99c74ab14c94438d8852fba9 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1463 (Specifying |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1464 .Cl "-editor true |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1465 is nearly the same, only differing by the previous editor being set.) |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1466 .P |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1467 The more important change is the removal of the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1468 .Sw -nowhatnowproc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1469 switch. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1470 .Ci ee4f43cf2ef0084ec698e4e87159a94c01940622 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1471 This switch had introduced an awkward behavior, as explained in nmh's |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1472 man page for |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1473 .Mp comp (1): |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1474 .QS |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1475 The \-editor editor switch indicates the editor to use for |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1476 the initial edit. Upon exiting from the editor, comp will |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1477 invoke the whatnow program. See whatnow(1) for a discussion |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1478 of available options. The invocation of this program can be |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1479 inhibited by using the \-nowhatnowproc switch. (In truth of |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1480 fact, it is the whatnow program which starts the initial |
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1481 edit. Hence, \-nowhatnowproc will prevent any edit from |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1482 occurring.) |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1483 .QE |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1484 .P |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1485 Effectively, the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1486 .Sw -nowhatnowproc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1487 switch stored a copy of the form file into the draft folder. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1488 As |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1489 .Cl "-whatnowproc true |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1490 causes the same behavior, the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1491 .Sw -nowhatnowproc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1492 switch was removed for being redundant. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1493 Likely, however, the intention for specifying |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1494 .Sw -nowhatnowproc |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1495 is sending a fully prepared form file at once. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1496 This can be done with |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1497 .Cl "-whatnowproc send" . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1498 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1499 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1500 .U3 "Compatibility Switches |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1501 .BU |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1502 The hidden |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1503 .Sw -[no]total |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1504 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1505 .Pn flist . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1506 They were simply the inverse of the visible |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1507 .Sw -[no]fast |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1508 switches: |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1509 .Sw -total |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1510 was |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1511 .Sw -nofast |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1512 and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1513 .Sw -nototal |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1514 was |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1515 .Sw -fast . |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1516 I removed the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1517 .Sw -[no]total |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1518 legacy. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1519 .Ci ea21fe2c4bd23c639bef251398fae809875732ec |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1520 .BU |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1521 The |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1522 .Sw -subject |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1523 switch of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1524 .Pn sortm |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1525 existed for compatibility only. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1526 It can be fully replaced by |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1527 .Cl "-textfield subject |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1528 thus it was removed. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1529 .Ci 00140a3c86e9def69d98ba2ffd4d6e50ef6326ea |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1530 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1531 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1532 .U3 "Various |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1533 .BU |
96 | 1534 In order to avoid prefix collisions among switch names, the |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1535 .Sw -version |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1536 switch was renamed to |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1537 .Sw -Version |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1538 (with capital `V'). |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1539 .Ci 32b2354dbaf4bf934936eb5b102a4a3d2fdd209a |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1540 Every program has the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1541 .Sw -version |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1542 switch but its first three letters collided with the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1543 .Sw -verbose |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1544 switch, present in many programs. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1545 The rename solved this problem once for all. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1546 Although this rename breaks a basic interface, having the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1547 .Sw -V |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1548 abbreviation to display the version information, isn't all too bad. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1549 .BU |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1550 .Sw -[no]preserve |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1551 of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1552 .Pn refile |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1553 was removed because what use was it anyway? |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1554 .QS |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1555 Normally when a message is refiled, for each destination |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1556 folder it is assigned the number which is one above the current |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1557 highest message number in that folder. Use of the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1558 \-preserv [sic!] switch will override this message renaming, and try |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1559 to preserve the number of the message. If a conflict for a |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1560 particular folder occurs when using the \-preserve switch, |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1561 then refile will use the next available message number which |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1562 is above the message number you wish to preserve. |
98
d894191d7a33
style: Changed the block quote approach. New QS and QE.
markus schnalke <meillo@marmaro.de>
parents:
97
diff
changeset
|
1563 .QE |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1564 .BU |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1565 The removal of the |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1566 .Sw -[no]reverse |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1567 switches of |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1568 .Pn scan |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1569 .Ci 8edc5aaf86f9f77124664f6801bc6c6cdf258173 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1570 is a bug fix, supported by the comments |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1571 ``\-[no]reverse under #ifdef BERK (I really HATE this)'' |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1572 by Rose and |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1573 ``Lists messages in reverse order with the `\-reverse' switch. |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1574 This should be considered a bug.'' by Romine in the documentation. |
97
29a7454fcded
Added references to commits.
markus schnalke <meillo@marmaro.de>
parents:
96
diff
changeset
|
1575 The question remains why neither Rose and Romine had fixed this |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1576 bug in the Eighties when they wrote these comments nor has anyone |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1577 thereafter. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1578 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1579 |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1580 .ig |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1581 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1582 forw: [no]dashstuffing(mhl) |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1583 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1584 mhshow: [no]pause [no]serialonly |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1585 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1586 mhmail: resent queued |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1587 inc: snoop, (pop) |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1588 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1589 mhl: [no]faceproc folder sleep |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1590 [no]dashstuffing(forw) digest list volume number issue number |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1591 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1592 prompter: [no]doteof |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1593 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1594 refile: [no]preserve [no]unlink [no]rmmproc |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1595 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1596 send: [no]forward [no]mime [no]msgid |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1597 [no]push split [no]unique (sasl) width snoop [no]dashstuffing |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1598 attach attachformat |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1599 whatnow: (noedit) attach |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1600 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1601 slocal: [no]suppressdups |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1602 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1603 spost: [no]filter [no]backup width [no]push idanno |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1604 [no]check(whom) whom(whom) |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1605 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1606 whom: ??? |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1607 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1608 .. |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1609 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1610 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1611 .ig |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1612 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1613 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1614 To ease typing, the switches can be abbreviated as much as the remaining |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1615 prefix remains unambiguous. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1616 If in our example no other switch would start with the letter `t', then |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1617 .Cl "-truncate" , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1618 .Cl "-trunc" , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1619 .Cl "-tr" , |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1620 and |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1621 .Cl "-t |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1622 would all be the same. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1623 As a result, switches can neither be grouped (as in |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1624 .Cl "ls -ltr" ) |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1625 nor can switch arguments be appended directly to the switch (as in |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1626 .Cl "sendmail -q30m" ). |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1627 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1628 Many switches have negating counter-parts, which start with `no'. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1629 For example |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1630 .Cl "-notruncate |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1631 inverts the |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1632 .Cl "-truncate |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1633 switch. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1634 They exist to undo the effect of default switches in the profile. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1635 If the user has chosen to change the default behavior of some tool |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1636 by adding a default switch to the profile, |
96 | 1637 he can still undo this change in behavior by specifying the inverse |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1638 switch on the command line. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1639 .P |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1640 In the best case, all switches are unambiguous on the first character, |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1641 or on the three-letter prefix for the `no' variants. |
96 | 1642 Reducing switch prefix collisions, shortens the necessary prefix length |
93
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1643 the user must type. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1644 Having less switches helps best. |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1645 |
093ccf39a45e
Write text about removal of switches; Included the grap figure.
markus schnalke <meillo@marmaro.de>
parents:
89
diff
changeset
|
1646 .. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1647 |
95
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1648 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1649 |
edac7e46a9f2
More text about switches.
markus schnalke <meillo@marmaro.de>
parents:
93
diff
changeset
|
1650 |
74
cefaa856d431
A lot of new text about configure switches.
markus schnalke <meillo@marmaro.de>
parents:
72
diff
changeset
|
1651 .H1 "Modernizing |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1652 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1653 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1654 .H2 "Removal of Code Relicts |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1655 .P |
51 | 1656 The code base of mmh originates from the late Seventies, |
1657 had been extensively | |
1658 worked on in the mid Eighties, and had been partly reorganized and extended | |
1659 in the Nineties. Relicts of all those times had gathered in the code base. | |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1660 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
|
1661 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
|
1662 was dropping obsolete functions. |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1663 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1664 As I'm not even thirty years old and have no more than seven years of |
51 | 1665 Unix experience, I needed to learn about the history in retrospective. |
1666 Older people likely have used those ancient constructs themselves | |
1667 and have suffered from their incompatibilities and have longed for | |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1668 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
|
1669 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
|
1670 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
|
1671 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
|
1672 and past POSIX. Although I knew about the times before, I took the |
51 | 1673 current state implicitly for granted most of the time. |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1674 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1675 Being aware of |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1676 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
|
1677 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
|
1678 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
|
1679 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
|
1680 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
|
1681 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
|
1682 mmh. |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1683 .P |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1684 The other task \(en dropping ancient functionality to remove old code \(en |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1685 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
|
1686 frequently used features is much more revolutional than the nmh community |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1687 likes it. Without the need to justify my decisions, I was able to quickly |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1688 remove functionality I considered ancient. |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1689 The need to discuss my decisions with |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1690 peers likely would have slowed this process down. Of course, I researched |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1691 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
|
1692 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
|
1693 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
|
1694 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
|
1695 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
|
1696 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
|
1697 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
|
1698 |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1699 .U2 "MMDF maildrop support |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1700 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1701 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
|
1702 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
|
1703 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
|
1704 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
|
1705 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
|
1706 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
|
1707 the MMDF maildrop format had vanished. |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
1708 .P |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1709 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
|
1710 be removed from tools like |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1711 .L packf , |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1712 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
|
1713 mbox. |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1714 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
|
1715 .L sbr/m_getfld.c . |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1716 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
|
1717 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
|
1718 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
|
1719 of |
db3567c9cc3f
style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
1720 .Fu m_getfld() . |
db3567c9cc3f
style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
1721 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
|
1722 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
|
1723 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
|
1724 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
|
1725 if possible. |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1726 |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1727 .U2 "UUCP Bang Paths |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1728 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1729 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
|
1730 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
|
1731 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
|
1732 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
|
1733 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
|
1734 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
|
1735 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
|
1736 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
|
1737 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
|
1738 |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1739 .U2 "Hardcopy terminal support |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1740 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1741 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
|
1742 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
|
1743 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
|
1744 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
|
1745 .P |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1746 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
|
1747 program (\c |
db3567c9cc3f
style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
1748 .Pn mhl ) |
db3567c9cc3f
style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
1749 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
|
1750 the |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
1751 .Sw -nomoreproc |
18
db3567c9cc3f
style: Added format macros for files, functions, switches, etc.
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
1752 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
|
1753 |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1754 .U2 "Removed support for header fields |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1755 .P |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1756 The |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1757 .Hd Encrypted |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1758 header field had been introduced by RFC\^822, but already |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1759 marked legacy in RFC 2822. It was superseded by FIXME. |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1760 Mmh does no more support this header field. |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1761 .P |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1762 Native support for |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1763 .Hd Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1764 header fields had been removed, as well. |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1765 The feature is similar to the |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1766 .Hd X-Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1767 header field in its intent, |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1768 but takes a different approach to store the image. |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1769 Instead of encoding the image data directly into the header field, |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1770 the it contains the hostname and UDP port where the image |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1771 date could be retrieved. |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1772 Neither |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1773 .Hd X-Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1774 nor the here described |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1775 .Hd Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1776 system |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1777 \** |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1778 .FS |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1779 There is also a newer but different system, invented 2005, |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1780 using |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1781 .Hd Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1782 headers. |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1783 It is the successor of |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1784 .Hd X-Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1785 providing colored PNG images. |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1786 .FE |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1787 became well used in the large scale. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1788 It's still possible to use a Face systems, |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1789 although mmh does not provide support for any of the different systems |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1790 anymore. It's fairly easy to write a small shell script to |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1791 extract the embedded or fetch the external Face data and display the image. |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1792 Own |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1793 .Hd Face |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1794 header field can be added into the draft template files. |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1795 .P |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1796 .Hd Content-MD5 |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1797 header fields were introduced by RFC\^1864. They provide only |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1798 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
|
1799 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
|
1800 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
|
1801 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
|
1802 (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
|
1803 integrity of the transmission. In combinations these two approaches |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1804 make the |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1805 .Hd Content-MD5 |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1806 header field useless. In consequence, I removed |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1807 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
|
1808 anywhere in mmh. Hence, over 500 lines of code were removed by this one |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1809 change. Even if the |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1810 .Hd Content-MD5 |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1811 header field is useful sometimes, |
89 | 1812 I value its usefulness less than the improvement in maintainability, caused |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1813 by the removal. |
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1814 |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1815 .U2 "Prompter's Control Keys |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1816 .P |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1817 The program |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1818 .Pn prompter |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1819 queries the user to fill in a message form. When used by |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1820 .Pn comp |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1821 as: |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
1822 .VS |
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
1823 comp -editor prompter |
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
1824 VE |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1825 the resulting behavior is similar to |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1826 .Pn mailx . |
51 | 1827 Apparently, |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1828 .Pn prompter |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1829 hadn't been touched lately. Otherwise it's hardly explainable why it |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1830 still offered the switches |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1831 .Sw -erase |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1832 .Ar chr |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1833 and |
84
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1834 .Sw -kill |
c35ec2b7de5d
style: New macros .Ar (argument) and .Hd (header field)
markus schnalke <meillo@marmaro.de>
parents:
82
diff
changeset
|
1835 .Ar chr |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1836 to name the characters for command line editing. |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1837 The times when this had been necessary are long time gone. |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1838 Today these things work out-of-the-box, and if not, are configured |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1839 with the standard tool |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1840 .Pn stty . |
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
1841 |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1842 .U2 "Vfork and Retry Loops |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1843 .P |
51 | 1844 MH creates many processes, which is a consequence of the tool chest approach. |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1845 In earlier times |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1846 .Fu fork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1847 had been an expensive system call, as the process's whole image needed |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1848 to be duplicated. One common case is replacing the image with |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1849 .Fu exec() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1850 right after having forked the child process. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1851 To speed up this case, the |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1852 .Fu vfork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1853 system call was invented at Berkeley. It completely omits copying the |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1854 image. If the image gets replaced right afterwards then unnecessary |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1855 work is omited. On old systems this results in large speed ups. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1856 MH uses |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1857 .Fu vfork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1858 whenever possible. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1859 .P |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1860 Memory management units that support copy-on-write semantics make |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1861 .Fu fork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1862 almost as fast as |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1863 .Fu vfork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1864 in the cases when they can be exchanged. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1865 With |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1866 .Fu vfork() |
51 | 1867 being more error-prone and hardly faster, it's preferable to simply |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1868 use |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1869 .Fu fork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1870 instead. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1871 .P |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1872 Related to the costs of |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1873 .Fu fork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1874 is the probability of its success. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1875 Today on modern systems, the system call will succeed almost always. |
51 | 1876 In the Eighties on heavy loaded systems, as they were common at |
21
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1877 universities, this had been different. Thus, many of the |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1878 .Fu fork() |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1879 calls were wrapped into loops to retry to fork several times in |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1880 short intervals, in case of previous failure. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1881 In mmh, the program aborts at once if the fork failed. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1882 The user can reexecute the command then. This is expected to be a |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1883 very rare case on modern systems, especially personal ones, which are |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1884 common today. |
bb8a8be49024
Wrote about Face support and vfork().
markus schnalke <meillo@marmaro.de>
parents:
20
diff
changeset
|
1885 |
12
7ca384d68edc
Wrote some text for removal of old code.
markus schnalke <meillo@marmaro.de>
parents:
0
diff
changeset
|
1886 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1887 .H2 "Attachments |
22
99409e4546d2
Wrote about the removal of tools.
markus schnalke <meillo@marmaro.de>
parents:
21
diff
changeset
|
1888 .P |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1889 MIME |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1890 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1891 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1892 .H2 "Digital Cryptography |
22
99409e4546d2
Wrote about the removal of tools.
markus schnalke <meillo@marmaro.de>
parents:
21
diff
changeset
|
1893 .P |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1894 Signing and encryption. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1895 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1896 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1897 .H2 "Good Defaults |
22
99409e4546d2
Wrote about the removal of tools.
markus schnalke <meillo@marmaro.de>
parents:
21
diff
changeset
|
1898 .P |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1899 foo |
22
99409e4546d2
Wrote about the removal of tools.
markus schnalke <meillo@marmaro.de>
parents:
21
diff
changeset
|
1900 |
99409e4546d2
Wrote about the removal of tools.
markus schnalke <meillo@marmaro.de>
parents:
21
diff
changeset
|
1901 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1902 |
14
55ec590cfa07
Wrote about the draft folder.
markus schnalke <meillo@marmaro.de>
parents:
12
diff
changeset
|
1903 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1904 .H1 "Code style |
16
81f703140554
Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents:
14
diff
changeset
|
1905 .P |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1906 foo |
16
81f703140554
Wrote about the trash folder.
markus schnalke <meillo@marmaro.de>
parents:
14
diff
changeset
|
1907 |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
1908 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1909 .H2 "Standard Code |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1910 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1911 POSIX |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1912 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1913 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1914 .H2 "Separation |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1915 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
1916 .U2 "MH Directory Split |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
1917 .P |
19
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1918 In MH and nmh, a personal setup had consisted of two parts: |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1919 The MH profile, named |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1920 .Fn \&.mh_profile |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1921 and being located directly in the user's home directory. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1922 And the MH directory, where all his mail messages and also his personal |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1923 forms, scan formats, other configuration files are stored. The location |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1924 of this directory could be user-chosen. The default was to name it |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1925 .Fn Mail |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1926 and have it directly in the home directory. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1927 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1928 I've never liked the data storage and the configuration to be intermixed. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1929 They are different kinds of data. One part, are the messages, |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1930 which are the data to operate on. The other part, are the personal |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1931 configuration files, which are able to change the behavior of the operations. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1932 The actual operations are defined in the profile, however. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1933 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1934 When storing data, one should try to group data by its type. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1935 There's sense in the Unix file system hierarchy, where configuration |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1936 file are stored separate (\c |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1937 .Fn /etc ) |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1938 to the programs (\c |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1939 .Fn /bin |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1940 and |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1941 .Fn /usr/bin ) |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1942 to their sources (\c |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1943 .Fn /usr/src ). |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1944 Such separation eases the backup management, for instance. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1945 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1946 In mmh, I've reorganized the file locations. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1947 Still there are two places: |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1948 There's the mail storage directory, which, like in MH, contains all the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1949 messages, but, unlike in MH, nothing else. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1950 Its location still is user-chosen, with the default name |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1951 .Fn Mail , |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1952 in the user's home directory. This is much similar to the case in nmh. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1953 The configuration files, however, are grouped together in the new directory |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1954 .Fn \&.mmh |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1955 in the user's home directory. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1956 The user's profile now is a file, named |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1957 .Fn profile , |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1958 in this mmh directory. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1959 Consistently, the context file and all the personal forms, scan formats, |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1960 and the like, are also there. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1961 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1962 The naming changed with the relocation. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1963 The directory where everything, except the profile, had been stored (\c |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1964 .Fn $HOME/Mail ), |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1965 used to be called \fIMH directory\fP. Now, this directory is called the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1966 user's \fImail storage\fP. The name \fImmh directory\fP is now given to |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1967 the new directory |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1968 (\c |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1969 .Fn $HOME/.mmh ), |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1970 containing all the personal configuration files. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1971 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1972 The separation of the files by type of content is logical and convenient. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1973 There are no functional differences as any possible setup known to me |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1974 can be implemented with both approaches, although likely a bit easier |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1975 with the new approach. The main goal of the change had been to provide |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1976 sensible storage locations for any type of personal mmh file. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1977 .P |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1978 In order for one user to have multiple MH setups, he can use the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1979 environment variable |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1980 .Ev MH |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1981 the point to a different profile file. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1982 The MH directory (mail storage plus personal configuration files) is |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1983 defined by the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1984 .Pe Path |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1985 profile entry. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1986 The context file could be defined by the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1987 .Pe context |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1988 profile entry or by the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1989 .Ev MHCONTEXT |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1990 environment variable. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1991 The latter is useful to have a distinct context (e.g. current folders) |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1992 in each terminal window, for instance. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1993 In mmh, there are three environment variables now. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1994 .Ev MMH |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1995 may be used to change the location of the mmh directory. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1996 .Ev MMHP |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1997 and |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1998 .Ev MMHC |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
1999 change the profile and context files, respectively. |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2000 Besides providing a more consistent feel (which simply is the result |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2001 of being designed anew), the set of personal configuration files can |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2002 be chosen independently from the profile (including mail storage location) |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2003 and context, now. Being it relevant for practical use or not, it |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2004 de-facto is an improvement. However, the main achievement is the |
ab5253e48c74
Wrote about the directory split.
markus schnalke <meillo@marmaro.de>
parents:
18
diff
changeset
|
2005 split between mail storage and personal configuration files. |
17
b3c37947764e
Several minor text improvements.
markus schnalke <meillo@marmaro.de>
parents:
16
diff
changeset
|
2006 |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
2007 |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2008 .H2 "Modularization |
20
7a100c80fa91
Some new text (show/mhshow; prompter).
markus schnalke <meillo@marmaro.de>
parents:
19
diff
changeset
|
2009 .P |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2010 whatnowproc |
0
dc2bfef4cda7
Initial commit: Basic structure, macros and fonts.
markus schnalke <meillo@marmaro.de>
parents:
diff
changeset
|
2011 .P |
49 | 2012 The \fIMH library\fP |
2013 .Fn libmh.a | |
2014 collects a bunch of standard functions that many of the MH tools need, | |
2015 like reading the profile or context files. | |
2016 This doesn't hurt the separation. | |
2017 | |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2018 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2019 .H2 "Style |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2020 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2021 Code layout, goto, ... |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2022 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2023 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2024 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2025 |
89 | 2026 .H1 "Concept Exploitation/Homogeneity |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2027 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2028 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2029 .H2 "Draft Folder |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2030 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2031 Historically, MH provided exactly one draft message, named |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2032 .Fn draft |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2033 and |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2034 being located in the MH directory. When starting to compose another message |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2035 before the former one was sent, the user had been questioned whether to use, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2036 refile or replace the old draft. Working on multiple drafts at the same time |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2037 was impossible. One could only work on them in alteration by refiling the |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2038 previous one to some directory and fetching some other one for reediting. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2039 This manual draft management needed to be done each time the user wanted |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2040 to switch between editing one draft to editing another. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2041 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2042 To allow true parallel editing of drafts, in a straight forward way, the |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2043 draft folder facility exists. It had been introduced already in July 1984 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2044 by Marshall T. Rose. The facility was deactivated by default. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2045 Even in nmh, the draft folder facility remained deactivated by default. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2046 At least, Richard Coleman added the man page |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2047 .Mp mh-draft(5) |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2048 to document |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2049 the feature well. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2050 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2051 The only advantage of not using the draft folder facility is the static |
89 | 2052 name of the draft file. This could be an issue for MH front-ends like mh-e. |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2053 But as they likely want to provide working on multiple drafts in parallel, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2054 the issue is only concerning compatibility. The aim of nmh to stay compatible |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2055 prevented the default activation of the draft folder facility. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2056 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2057 On the other hand, a draft folder is the much more natural concept than |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2058 a draft message. MH's mail storage consists of folders and messages, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2059 the messages named with ascending numbers. A draft message breaks with this |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2060 concept by introducing a message in a file named |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2061 .Fn draft . |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2062 This draft |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2063 message is special. It can not be simply listed with the available tools, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2064 but instead requires special switches. I.e. corner-cases were |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2065 introduced. A draft folder, in contrast, does not introduce such |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2066 corner-cases. The available tools can operate on the messages within that |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2067 folder like on any messages within any mail folders. The only difference |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2068 is the fact that the default folder for |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2069 .Pn send |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2070 is the draft folder, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2071 instead of the current folder, like for all other tools. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2072 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2073 The trivial part of the change was activating the draft folder facility |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2074 by default and setting a default name for this folder. Obviously, I chose |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2075 the name |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2076 .Fn +drafts . |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2077 This made the |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2078 .Sw -draftfolder |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2079 and |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2080 .Sw -draftmessage |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2081 switches useless, and I could remove them. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2082 The more difficult but also the part that showed the real improvement, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2083 was updating the tools to the new concept. |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2084 .Sw -draft |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2085 switches could |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2086 be dropped, as operating on a draft message became indistinguishable to |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2087 operating on any other message for the tools. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2088 .Pn comp |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2089 still has its |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2090 .Sw -use |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2091 switch for switching between its two modes: (1) Compose a new |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2092 draft, possibly by taking some existing message as a form. (2) Modify |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2093 an existing draft. In either case, the behavior of |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2094 .Pn comp is |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2095 deterministic. There is no more need to query the user. I consider this |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2096 a major improvement. By making |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2097 .Pn send |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2098 simply operate on the current |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2099 message in the draft folder by default, with message and folder both |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2100 overridable by specifying them on the command line, it is now possible |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2101 to send a draft anywhere within the storage by simply specifying its folder |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2102 and name. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2103 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2104 All theses changes converted special cases to regular cases, thus |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2105 simplifying the tools and increasing the flexibility. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2106 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2107 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2108 .H2 "Trash Folder |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2109 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2110 Similar to the situation for drafts is the situation for removed messages. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2111 Historically, a message was deleted by renaming. A specific |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2112 \fIbackup prefix\fP, often comma (\c |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2113 .Fn , ) |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2114 or hash (\c |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2115 .Fn # ), |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2116 being prepended to the file name. Thus, MH wouldn't recognize the file |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2117 as a message anymore, as only files whose name consists of digits only |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2118 are treated as messages. The removed messages remained as files in the |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2119 same directory and needed some maintenance job to truly delete them after |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2120 some grace time. Usually, by running a command similar to |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2121 .VS |
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2122 find /home/user/Mail -ctime +7 -name ',*' | xargs rm |
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2123 VE |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2124 in a cron job. Within the grace time interval |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2125 the original message could be restored by stripping the |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2126 the backup prefix from the file name. If however, the last message of |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2127 a folder is been removed \(en say message |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2128 .Fn 6 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2129 becomes file |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2130 .Fn ,6 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2131 \(en and a new message enters the same folder, thus the same |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2132 numbered being given again \(en in our case |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2133 .Fn 6 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2134 \(en, if that one |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2135 is removed too, then the backup of the former message gets overwritten. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2136 Thus, the ability to restore removed messages does not only depend on |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2137 the ``sweeping cron job'' but also on the removing of further messages. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2138 This is undesirable, because the real mechanism is hidden from the user |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2139 and the consequences of further removals are not always obvious. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2140 Further more, the backup files are scattered within the whole mail |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2141 storage, instead of being collected at one place. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2142 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2143 To improve the situation, the profile entry |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2144 .Pe rmmproc |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2145 (previously named |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2146 .Pe Delete-Prog ) |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2147 was introduced, very early. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2148 It could be set to any command, which would care for the mail removal |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2149 instead of taking the default action, described above. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2150 Refiling the to-be-removed files to some garbage folder was a common |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2151 example. Nmh's man page |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2152 .Mp rmm(1) |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2153 proposes |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2154 .Cl "refile +d |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2155 to move messages to the garbage folder and |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2156 .Cl "rm `mhpath +d all` |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2157 the empty the garbage folder. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2158 Managing the message removal this way is a sane approach. It keeps |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2159 the removed messages in one place, makes it easy to remove the backup |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2160 files, and, most important, enables the user to use the tools of MH |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2161 itself to operate on the removed messages. One can |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2162 .Pn scan |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2163 them, |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2164 .Pn show |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2165 them, and restore them with |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2166 .Pn refile . |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2167 There's no more |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2168 need to use |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2169 .Pn mhpath |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2170 to switch over from MH tools to Unix tools \(en MH can do it all itself. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2171 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2172 This approach matches perfect with the concepts of MH, thus making |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2173 it powerful. Hence, I made it the default. And even more, I also |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2174 removed the old backup prefix approach, as it is clearly less powerful. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2175 Keeping unused alternative in the code is a bad choice as they likely |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2176 gather bugs, by not being constantly tested. Also, the increased code |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2177 size and more conditions crease the maintenance costs. By strictly |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2178 converting to the trash folder approach, I simplified the code base. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2179 .Pn rmm |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2180 calls |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2181 .Pn refile |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2182 internally to move the to-be-removed |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2183 message to the trash folder (\c |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2184 .Fn +trash |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2185 by default). Messages |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2186 there can be operated on like on any other message in the storage. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2187 The sweep clean, one can use |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2188 .Cl "rmm -unlink +trash a" , |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2189 where the |
82
ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
markus schnalke <meillo@marmaro.de>
parents:
78
diff
changeset
|
2190 .Sw -unlink |
58
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2191 switch causes the files to be truly unliked instead |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2192 of moved to the trash folder. |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2193 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2194 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2195 .H2 "Path Notations |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2196 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2197 foo |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2198 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2199 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2200 .H2 "MIME Integration |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2201 .P |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2202 user-visible access to whole messages and MIME parts are inherently |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2203 different |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2204 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2205 |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2206 .H2 "Of One Cast |
814c33b96d89
Restructured the content in ch03.
markus schnalke <meillo@marmaro.de>
parents:
51
diff
changeset
|
2207 .P |