comparison ch03.roff @ 62:24aabbfe5794

Minor rework of larger text areas.
author markus schnalke <meillo@marmaro.de>
date Fri, 01 Jun 2012 17:15:38 +0200
parents 6a92e0208de0
children abbaca05ee8e
comparison
equal deleted inserted replaced
61:058afce2a138 62:24aabbfe5794
138 .I mpop 138 .I mpop
139 and 139 and
140 .I fdm . 140 .I fdm .
141 141
142 142
143
144 .H2 "Removal of non-MUA Tools 143 .H2 "Removal of non-MUA Tools
145 .P 144 .P
146 Several of nmh's tools were removed from mmh because they didn't 145 Some of nmh's tools were removed from mmh because they didn't
147 match the main focus of adding to the MUA's task. 146 match the main focus of adding to the MUA's task.
148 .P 147 .BU
149 .Pn conflict 148 .Pn conflict
150 was removed because it is a mail system maintenance tool. 149 was removed because it is a mail system maintenance tool.
151 Besides, it also checks the 150 Besides, it even checks
152 .Fn /etc/passwd 151 .Fn /etc/passwd
153 and 152 and
154 .Fn /etc/group 153 .Fn /etc/group
155 files. 154 for consistency, which has nothing at all to do with emailing.
156 The tool might be useful, but it should not be shipped with mmh. 155 The tool might be useful, but it should not be shipped with mmh.
157 .P 156 .BU
158 .Pn rcvtty 157 .Pn rcvtty
159 was removed because its usecase of writing to the user's terminal 158 was removed because its usecase of writing to the user's terminal
160 on receiving of mail is hardly wanted today. If users like to be 159 on receiving of mail is hardly wanted today. If users like to be
161 informed of new mail, then using the shell's 160 informed of new mail, then using the shell's
162 .Ev MAILPATH 161 .Ev MAILPATH
163 variable or different (graphical) notifications are likely more 162 variable or graphical notifications are likely more
164 appealing. Writing directly to other terminals is hardly ever wanted 163 appealing.
165 today. If though one wants to have it this way, the standard tool 164 Writing directly to a terminals is hardly ever wanted today.
165 If though one wants to have it this way, the standard tool
166 .Pn write 166 .Pn write
167 can be used in a way similar to: 167 can be used in a way similar to:
168 .DS 168 .DS
169 scan -file - | write `id -un` 169 scan -file - | write `id -un`
170 .DE 170 .DE
171 .P 171 .BU
172 When the new attachment system was introduced,
173 .Pn viamail 172 .Pn viamail
174 was removed because then 173 was removed when the new attachment system was introduced, because
175 .Pn forw 174 .Pn forw
176 could cover the task itself. 175 could can now the task itself.
177 The wrapper program 176 The program
178 .Pn sendfiles 177 .Pn sendfiles
179 was rewritten as a shell script to use 178 was rewritten as a shell script wrapper around
180 .Pn forw . 179 .Pn forw .
181 .P 180 .BU
182 .Pn msgchk 181 .Pn msgchk
183 was removed as it became hardly useful when POP support was removed. 182 was removed, because it lost its usefulness when POP support was removed.
184 It is questionable if
185 .Pn msgchk 183 .Pn msgchk
186 provides more information than: 184 provides hardly more information than:
187 .DS 185 .DS
188 ls -l /var/mail/meillo 186 ls -l /var/mail/meillo
189 .DE 187 .DE
190 It does separate between old and new mail, but that's not very 188 It does separate between old and new mail, but that's merely a detail
191 useful and can be found out with 189 and can be done with
192 .Pn stat (1) 190 .Pn stat (1)
193 too. A very small shell script could care for the form of output. 191 too.
192 A very small shell script could be written to output the information
193 in a convenient way, if truly necessary.
194 As mmh's inc only incorporates mail from the user's local maildrop 194 As mmh's inc only incorporates mail from the user's local maildrop
195 and thus no long data transfers are involved, 195 and thus no data transfers over slow networks are involved,
196 there's no need to check for new mail before incorporating it. 196 there's hardly need to check for new mail before incorporating it.
197 .P 197 .BU
198 .Pn msh 198 .Pn msh
199 was removed because the tool was in conflict with the original 199 was removed because the tool was in conflict with the
200 philosophy of MH. It provided an interactive shell to access the 200 philosophy of MH. It provided an interactive shell to access the
201 features of MH. One major feature of MH is being a tool chest. 201 features of MH. One major feature of MH is being a tool chest.
202 .Pn msh 202 .Pn msh
203 wouldn't be just another shell, tailored to the needs of mail 203 wouldn't be just another shell, tailored to the needs of mail
204 handling, but one large program to have the MH tools built in. 204 handling, but one large program to have the MH tools built in.
205 It's main use was for accessing Bulletin Boards, which have seized to 205 It's main use was for accessing Bulletin Boards, which have seized to
206 be popular. Removing 206 be popular.
207 .P
208 XXX discuss
209 .P
210 Removing
207 .Pn msh , 211 .Pn msh ,
208 together with the truly obsolete programs 212 together with the truly obsolete code relicts
209 .Pn vmh 213 .Pn vmh
210 and 214 and
211 .Pn wmh , 215 .Pn wmh ,
212 saved more than 7\|000 lines of C code \(en a major achievement. 216 saved more than 7\|000 lines of C code \(en
213 217 that's about 15\|% less code in the project.
214 218
215 .H2 "mhshow show Merge 219
220 .H2 "Merge of \f(CWshow\fP and \f(CWmhshow\fP
216 .P 221 .P
217 Since the very beginning, already in the first concept paper, 222 Since the very beginning, already in the first concept paper,
218 .Pn show 223 .Pn show
219 had been MH's mail display program. 224 had been MH's message display program.
220 .Pn show 225 .Pn show
221 found out which pathnames the relevant messages had and invoked 226 found out which pathnames the relevant messages had and invoked
222 .Pn mhl 227 .Pn mhl
223 then to let it render the content. 228 then to have the content formated.
224 With the advent of MIME, this approach wasn't sufficient anymore. 229 With the advent of MIME, this approach wasn't sufficient anymore.
225 MIME messages can consist of multiple parts, some of which aren't 230 MIME messages can consist of multiple parts, some of which aren't
226 directly displayable, and text content can be encoded in 231 directly displayable, and text content might be encoded in
227 foreign charsets. 232 foreign charsets.
228 .Pn show 's 233 .Pn show 's
229 simple approach and 234 simple approach and
230 .Pn mhl 's 235 .Pn mhl 's
231 limited display facilities couldn't cope with the task any longer. 236 limited display facilities couldn't cope with the task any longer.
237 .P
232 Instead of extending these tools, new ones were written from scratch 238 Instead of extending these tools, new ones were written from scratch
233 and then added to the MH tool chest. Doing so is encouraged by the 239 and then added to the MH tool chest. Doing so is encouraged by the
234 tool chest approach. The new tools could be added without interfering 240 tool chest approach. The new tools could be added without interfering
235 with the existing ones. This is great. It allowed MH to be the 241 with the existing ones. This is great. The ease of adding new tools
236 first MUA to implement MIME. 242 even made MH the first MUA to implement MIME.
237 .P 243 .P
238 The new MIME features were added in form of the single program 244 First, the new MIME features were added in form of the single program
239 .Pn mhn . 245 .Pn mhn .
240 The command 246 The command
241 .DS 247 .Cl "mhn \-show 42
242 mhn \-show 42
243 .DE
244 would show the MIME message numbered 42. 248 would show the MIME message numbered 42.
245 With the 1.0 release of nmh in February 1999, Richard Coleman finished 249 With the 1.0 release of nmh in February 1999, Richard Coleman finished
246 the split of 250 the split of
247 .Pn mhn 251 .Pn mhn
248 into a set of specialized programs, which together covered the 252 into a set of specialized programs, which together covered the
249 aspects of MIME. One of these resulting tools was 253 multiple aspects of MIME. One of these resulting tools was
250 .Pn mhshow . 254 .Pn mhshow .
255 .Pn mhshow
256 resembled the
257 .Cl "mhn \-show
258 call.
259 .P
251 260
252 261
253 .H2 "Removal of Configure Options 262 .H2 "Removal of Configure Options
254 .P 263 .P
255 264