comparison discussion.roff @ 200:c299ed65d015

Spell checked.
author markus schnalke <meillo@marmaro.de>
date Thu, 12 Jul 2012 01:18:02 +0200
parents 5cd9bacdfcd3
children 9317d789cef9
comparison
equal deleted inserted replaced
199:5cd9bacdfcd3 200:c299ed65d015
337 .BU 337 .BU
338 .Pn rcvtty 338 .Pn rcvtty
339 was removed 339 was removed
340 .Ci 14767c94b3827be7c867196467ed7aea5f6f49b0 340 .Ci 14767c94b3827be7c867196467ed7aea5f6f49b0
341 because its use case of writing to the user's terminal 341 because its use case of writing to the user's terminal
342 on receival of mail is obsolete. 342 on reception of mail is obsolete.
343 If users like to be informed of new mail, the shell's 343 If users like to be informed of new mail, the shell's
344 .Ev MAILPATH 344 .Ev MAILPATH
345 variable or graphical notifications are technically more appealing. 345 variable or graphical notifications are technically more appealing.
346 Writing directly to terminals is hardly ever desired today. 346 Writing directly to terminals is hardly ever desired today.
347 If, though, one prefers this approach, the standard tool 347 If, though, one prefers this approach, the standard tool
1711 Being a tool chest, MH creates many processes. 1711 Being a tool chest, MH creates many processes.
1712 In earlier times 1712 In earlier times
1713 .Fu fork() 1713 .Fu fork()
1714 had been an expensive system call, because the process's image needed 1714 had been an expensive system call, because the process's image needed
1715 to be completely duplicated at once. 1715 to be completely duplicated at once.
1716 This expensive work was especially unnecessary in the commonly occuring 1716 This expensive work was especially unnecessary in the commonly occurring
1717 case wherein the image is replaced by a call to 1717 case wherein the image is replaced by a call to
1718 .Fu exec() 1718 .Fu exec()
1719 right after having forked the child process. 1719 right after having forked the child process.
1720 The 1720 The
1721 .Fu vfork() 1721 .Fu vfork()
2811 They suffer hard enough to get used to the tool chest approach, 2811 They suffer hard enough to get used to the tool chest approach,
2812 we developers should spare them further inconveniences. 2812 we developers should spare them further inconveniences.
2813 .P 2813 .P
2814 Maintaining compatibility for its own sake is bad, 2814 Maintaining compatibility for its own sake is bad,
2815 because the code base collects more and more compatibility code. 2815 because the code base collects more and more compatibility code.
2816 Sticking to the compatiblity code means remaining limited; 2816 Sticking to the compatibility code means remaining limited;
2817 whereas adjusting to the changes renders the compatibility unnecessary. 2817 whereas adjusting to the changes renders the compatibility unnecessary.
2818 Keeping unused alternatives in the code is a bad choice as they likely 2818 Keeping unused alternatives in the code is a bad choice as they likely
2819 gather bugs, by not being well tested. 2819 gather bugs, by not being well tested.
2820 Also, the increased code size and the greater number of conditions 2820 Also, the increased code size and the greater number of conditions
2821 increase the maintenance costs. 2821 increase the maintenance costs.
2925 programs to ensure the correct mixture of leading tabs and spaces. 2925 programs to ensure the correct mixture of leading tabs and spaces.
2926 The simple rules are: (1) Leading whitespace must consist of tabs only. 2926 The simple rules are: (1) Leading whitespace must consist of tabs only.
2927 (2) Any other whitespace should consist of spaces. 2927 (2) Any other whitespace should consist of spaces.
2928 These two rules ensure the integrity of the visual appearance. 2928 These two rules ensure the integrity of the visual appearance.
2929 Although reformatting existing code should be avoided, I did it. 2929 Although reformatting existing code should be avoided, I did it.
2930 I did not waste time arguing; I just reformated the code. 2930 I did not waste time arguing; I just reformatted the code.
2931 .Ci a485ed478abbd599d8c9aab48934e7a26733ecb1 2931 .Ci a485ed478abbd599d8c9aab48934e7a26733ecb1
2932 2932
2933 .U3 "Comments 2933 .U3 "Comments
2934 .P 2934 .P
2935 Section 1.6 of 2935 Section 1.6 of
3782 The location of the MH directory can be chosen freely by the user. 3782 The location of the MH directory can be chosen freely by the user.
3783 The default and usual name is a directory named 3783 The default and usual name is a directory named
3784 .Fn Mail 3784 .Fn Mail
3785 in the home directory. 3785 in the home directory.
3786 .P 3786 .P
3787 The way MH data is splitted between profile and MH directory is a legacy. 3787 The way MH data is split between profile and MH directory is a legacy.
3788 It is only sensible in a situation where the profile is the only 3788 It is only sensible in a situation where the profile is the only
3789 configuration file. 3789 configuration file.
3790 Why else should the mail storage and the configuration files be intermixed? 3790 Why else should the mail storage and the configuration files be intermixed?
3791 They are different kinds of data: 3791 They are different kinds of data:
3792 The data to be operated on and the configuration to change how 3792 The data to be operated on and the configuration to change how
3834 Therefore, it is necessary to select a different profile. 3834 Therefore, it is necessary to select a different profile.
3835 The profile is the single entry point to access the rest of a 3835 The profile is the single entry point to access the rest of a
3836 personal MH setup. 3836 personal MH setup.
3837 In nmh, the environment variable 3837 In nmh, the environment variable
3838 .Ev MH 3838 .Ev MH
3839 could be used to specifiy a different profile. 3839 could be used to specify a different profile.
3840 To operate in the same MH setup with a separate context, 3840 To operate in the same MH setup with a separate context,
3841 the 3841 the
3842 .Ev MHCONTEXT 3842 .Ev MHCONTEXT
3843 environment variable could be used. 3843 environment variable could be used.
3844 This allows having own current folders and current messages in 3844 This allows having own current folders and current messages in