source: trunk/third/nmh/man/rmm.man @ 12455

Revision 12455, 2.1 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: rmm.man,v 1.1.1.1 1999-02-07 18:14:22 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH RMM %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10rmm \- remove messages
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14rmm
15\%[+folder] \%[msgs]
16\%[\-unlink] \%[\-nounlink]
17.br
18\%[\-version]
19\%[\-help]
20.in -.5i
21.SH DESCRIPTION
22By default, \fIrmm\fR will remove the specified messages by renaming
23the message files with preceding commas.  Such files will then need to
24be removed in some manner after a certain amount of time.  Many sites
25arrange for \fIcron\fR\0(8) to remove these files once a day, so check
26with your system administrator.
27
28Alternately, if you wish for \fIrmm\fR to really remove the files
29representing these messages, you can use the `-unlink' switch.  But
30messages removed by this method cannot be later recovered.
31
32If you prefer a more sophisticated method of `removing' messages, you
33can define the \fIrmmproc\fR profile component.  For example, you can
34add a profile component such as
35
36        rmmproc:        /home/coleman/bin/rmm_msgs
37
38then instead of simply renaming the message file, \fIrmm\fR will call
39the named program or script to handle the files that represent the
40messages to be deleted.
41
42Some users of csh prefer the following:
43
44        alias rmm 'refile +d'
45
46where folder +d is a folder for deleted messages, and
47
48        alias mexp 'rm `mhpath +d all`'
49
50is used to \*(lqexpunge\*(rq deleted messages.
51
52The current message is not changed by \fIrmm\fR, so a \fInext\fR  will
53advance to the next message in the folder as expected.
54.Fi
55^$HOME/\&.mh\(ruprofile~^The user profile
56.Pr
57^Path:~^To determine the user's nmh directory
58.Ps
59^Current\-Folder:~^To find the default current folder
60.Ps
61^rmmproc:~^Program to delete the message
62.Sa
63refile(1), rmf(1)
64.De
65`+folder' defaults to the current folder
66.Ds
67`msgs' defaults to cur
68.Ds
69`-nounlink'
70.Co
71If a folder is given, it will become the current folder.
72.Bu
73Since \fIrefile\fR uses your \fIrmmproc\fP to delete the message,
74the \fIrmmproc\fP must \fBNOT\fP call \fIrefile\fP without specifying
75`\-normmproc', or you will create an infinte loop.
76.En
Note: See TracBrowser for help on using the repository browser.