]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/rmm.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / rmm.1
1 .TH RMM 1 RAND
2 .SH NAME
3 rmm \- remove messages
4 .SH SYNOPSIS
5 .B rmm
6 \%[+folder] \%[msgs] \%[
7 .B \-help
8 ]
9 .SH DESCRIPTION
10 \fIRmm\fR removes the specified messages by renaming the message
11 files with preceding commas.
12 (This is the Rand-UNIX backup file
13 convention.)
14 .PP
15 If the user has a profile component such as
16 .br
17 delete-prog: /bin/rm
18 .br
19 then instead of simply renaming the message file,
20 .I rmm
21 will call the named program to delete the file.
22 .PP
23 Some users of csh prefer the following:
24 .br
25 alias rmm file +d
26 .br
27 where folder +d is a folder for deleted messages, and
28 .br
29 alias mexp 'rm `mhpath +d all`'
30 .br
31 is used to `exponge' deleted messages.
32 .PP
33 The current message is not changed by \fIrmm\fR, so a \fInext\fR will
34 advance to the next message in the folder as expected.
35 .SH FILES
36 .ta 2.4i
37 $HOME/\*.mh\(ruprofile The user profile
38 .SH PROFILE COMPONENTS
39 Path: To determine the user's MH directory
40 .br
41 Current-Folder: To find the default current folder
42 .br
43 Delete-prog: Optional program to delete the message
44 .SH SEE ALSO
45 rmf(1)
46 .SH DEFAULTS
47 .br
48 `+folder' defaults to current
49 .br
50 `msgs' defaults to cur
51 .SH CONTEXT
52 If a folder is given, it will become current.