comparison conf/doc/rmm.rf @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children 441a2190cfae
comparison
equal deleted inserted replaced
-1:000000000000 0:bce86c4163a3
1 .\" @(MHWARNING)
2 .\" @(#)$Id$
3 .SC RMM 1
4 .NA
5 rmm \- remove messages
6 .SY
7 rmm
8 \%[+folder] \%[msgs]
9 \%[\-help]
10 .DE
11 \fIRmm\fR removes the specified messages by renaming the message
12 files with preceding commas. Many sites consider files that start with a
13 comma to be a temporary backup, and arrange for \fIcron\fR\0(8)
14 to remove such files once a day.
15
16 If the user has a profile component such as
17
18 rmmproc: /bin/rm
19
20 then instead of simply renaming the message file,
21 \fIrmm\fR
22 will call the named program to delete the file.
23 Note that at most installations,
24 \fIcron\fR\0(8) is told to remove files that begin with a comma once a night.
25
26 Some users of csh prefer the following:
27
28 alias rmm 'refile +d'
29
30 where folder +d is a folder for deleted messages, and
31
32 alias mexp 'rm `mhpath +d all`'
33
34 is used to \*(lqexpunge\*(rq deleted messages.
35
36 The current message is not changed by \fIrmm\fR, so a \fInext\fR will
37 advance to the next message in the folder as expected.
38 .Fi
39 ^$HOME/\&.mh\(ruprofile~^The user profile
40 .Pr
41 ^Path:~^To determine the user's MH directory
42 .Ps
43 ^Current\-Folder:~^To find the default current folder
44 .Ps
45 ^rmmproc:~^Program to delete the message
46 .Sa
47 rmf(1)
48 .De
49 `+folder' defaults to the current folder
50 .Ds
51 `msgs' defaults to cur
52 .Co
53 If a folder is given, it will become the current folder.
54 .Bu
55 Since \fIrefile\fR uses your \fIrmmproc\fP to delete the message,
56 the \fIrmmproc\fP must \fBNOT\fP call \fIrefile\fP without
57 specifying `\-normmproc',
58 or you will create an infinte loop.
59 .En