Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / doc / RCS / mark.rf,v
1 head    1.9;
2 access;
3 symbols;
4 locks; strict;
5
6
7 1.9
8 date    93.08.20.00.04.30;      author jromine; state Exp;
9 branches;
10 next    1.8;
11
12 1.8
13 date    93.08.19.21.21.01;      author jromine; state Exp;
14 branches;
15 next    1.7;
16
17 1.7
18 date    92.02.12.00.23.13;      author jromine; state Exp;
19 branches;
20 next    1.6;
21
22 1.6
23 date    90.12.26.17.03.28;      author mh;      state Exp;
24 branches;
25 next    1.5;
26
27 1.5
28 date    90.04.05.15.12.51;      author sources; state Exp;
29 branches;
30 next    1.4;
31
32 1.4
33 date    90.03.22.11.31.10;      author sources; state Exp;
34 branches;
35 next    1.3;
36
37 1.3
38 date    90.03.20.19.41.49;      author sources; state Exp;
39 branches;
40 next    1.2;
41
42 1.2
43 date    90.03.20.17.36.05;      author sources; state Exp;
44 branches;
45 next    1.1;
46
47 1.1
48 date    90.03.20.17.20.51;      author sources; state Exp;
49 branches;
50 next    ;
51
52
53 desc
54 @@
55
56
57 1.9
58 log
59 @typo
60 @
61 text
62 @.\"    @@(MHWARNING)
63 .\" @@(#)$Id: mark.rf,v 1.8 1993/08/19 21:21:01 jromine Exp jromine $
64 .SC MARK 1
65 .NA
66 mark \- mark messages
67 .SY
68 mark
69 \%[+folder] \%[msgs]
70 \%[\-sequence\ name\ ...]
71 \%[\-add] \%[\-delete] \%[\-list] 
72 \%[\-public] \%[\-nopublic]
73 \%[\-zero] \%[\-nozero]
74 \%[\-help]
75 .DE
76 The \fImark\fR command manipulates message sequences by adding or
77 deleting message numbers from folder\-specific message sequences,
78 or by listing those sequences and messages.
79 A message sequence is a keyword, just like one of the
80 \*(lqreserved\*(rq message names,
81 such as \*(lqfirst\*(rq or \*(lqnext\*(rq.
82 Unlike the \*(lqreserved\*(rq message names,
83 which have a fixed semantics on a per\-folder basis,
84 the semantics of a message sequence may be defined, modified, and
85 removed by the user.
86 Message sequences are folder\-specific, e.g.,
87 the sequence name \*(lqseen\*(rq in the context of folder \*(lq+inbox\*(rq
88 need not have any relation whatsoever to the sequence of the same name
89 in a folder of a different name.
90
91 Three action switches direct the operation of \fImark\fR.
92 These switches are mutually exclusive:
93 the last occurrence of any of them overrides any previous occurrence of the
94 other two.
95
96 The `\-add' switch tells \fImark\fR to add messages to sequences
97 or to create a new sequence.
98 For each sequence named via the `\-sequence\ name' argument
99 (which must occur at least once)
100 the messages named via `msgs'
101 (which defaults to \*(lqcur\*(rq if no `msgs' are given),
102 are added to the sequence.
103 The messages to be added need not be absent from the sequence.
104 If the `\-zero' switch is specified,
105 the sequence will be emptied prior to adding the messages.
106 Hence, `\-add\ \-zero' means that each sequence should be initialized
107 to the indicated messages,
108 while `\-add\ \-nozero' means that each sequence should be appended to
109 by the indicated messages.
110
111 The `\-delete' switch tells \fImark\fR to delete messages from
112 sequences, and is the dual of `\-add'.
113 For each of the named sequences,
114 the named messages are removed from the sequence.
115 These messages need not be already present in the sequence.
116 If the `\-zero' switch is specified,
117 then all messages in the folder are appended to the sequence prior to
118 removing the messages.
119 Hence, `\-delete\ \-zero' means that each sequence should contain all
120 messages except those indicated,
121 while `\-delete\ \-nozero' means that only the indicated messages
122 should be removed from each sequence.
123 As expected, the command `mark\0\-sequence\0seen\0\-delete\0all'
124 deletes the sequence \*(lqseen\*(rq from the current folder.
125
126 When creating (or modifying) a sequence,
127 the `\-public' switch indicates that the sequence should be made readable
128 for other \fIMH\fR users.
129 In contrast, the `\-nopublic' switch indicates that the sequence should be
130 private to the user's \fIMH\fR environment.
131
132 The `\-list' switch tells \fImark\fR to list both the sequences defined
133 for the folder and the messages associated with those sequences.
134 \fIMark\fR will list the name of each sequence given by
135 `\-sequence\ name' and the messages associated with that sequence.
136 If `\-sequence' isn't used, all sequences will be listed,
137 with private sequences being so indicated.
138 The `\-zero' switch does not affect the operation of `\-list'.
139
140 The current restrictions on sequences are:
141
142 .in +.25i
143 The name used to denote a message sequence must consist of
144 an alphabetic character followed by zero or more
145 alphanumeric characters, and cannot be one of the (reserved)
146 message names \*(lqnew\*(rq, \*(lqfirst\*(rq,
147 \*(lqlast\*(rq, \*(lqall\*(rq, \*(lqnext\*(rq, or \*(lqprev\*(rq.
148
149 Only a certain number of sequences may be defined for a given folder.
150 This number is usually limited to 26 (10 on small systems).
151
152 Message ranges with user\-defined 
153 sequence names are restricted to the form \*(lqname:n\*(rq or
154 \*(lqname:-n\*(rq, and refer to the first or last `n' messages
155 of the sequence `name', respectively.
156 Constructs of the form \*(lqname1\-name2\*(rq are forbidden.
157 .in -.25i
158 .Fi
159 ^$HOME/\&.mh\(ruprofile~^The user profile
160 .Pr
161 ^Path:~^To determine the user's MH directory
162 .Ps
163 ^Current\-Folder:~^To find the default current folder
164 .Sa
165 pick (1), mh-sequence (5)
166 .De
167 `+folder' defaults to the current folder
168 .Ds
169 `\-add' if `\-sequence' is specified, `\-list' otherwise
170 .Ds
171 `msgs' defaults to cur (or all if `\-list' is specified)
172 .Ds
173 `\-nopublic' if the folder is read\-only, `\-public' otherwise
174 .Ds
175 `\-nozero'
176 .Co
177 If a folder is given, it will become the current folder.
178 .Hh
179 Use \*(lqpick sequence \-list\*(rq
180 to enumerate the messages in a sequence (such as for use 
181 by a shell script).
182 .En
183 @
184
185
186 1.8
187 log
188 @list reserved message sequence names
189 @
190 text
191 @d2 1
192 a2 1
193 .\" @@(#)$Id: mark.rf,v 1.7 1992/02/12 00:23:13 jromine Exp jromine $
194 d84 3
195 a86 3
196 alphanumeric characters, and cannot be one of the reserved
197 message names (\*(lqnew\*(rq, \*(lqall\*(rq, \*(lqfirst\*(rq,
198 \*(lqlast\*(rq, \*(lqnext\*(rq, and \*(lqprev\*(rq).
199 @
200
201
202 1.7
203 log
204 @add hints
205 @
206 text
207 @d2 1
208 a2 1
209 .\" @@(#)$Id: mark.rf,v 1.6 1990/12/26 17:03:28 mh Exp jromine $
210 d84 3
211 a86 3
212 alphanumeric characters, and can not be one of the \*(lqreserved\*(rq
213 message names
214 (e.g., \*(lqfirst\*(rq, \*(lqcur\*(rq, and so forth).
215 @
216
217
218 1.6
219 log
220 @document user-defined sequence ranges
221 jlr
222 @
223 text
224 @d2 1
225 a2 1
226 .\" @@(#)$Id: mark.rf,v 1.5 90/04/05 15:12:51 sources Exp Locker: mh $
227 d73 4
228 a76 3
229 \fIMark\fR will list each sequence named via `\-sequence\ name'
230 (or all of them if `\-sequence' isn't used),
231 and the messages associated with that sequence.
232 d89 1
233 a89 1
234 This number is usually limited to 10.
235 d104 1
236 a104 1
237 pick (1)
238 d117 4
239 @
240
241
242 1.5
243 log
244 @add ID
245 @
246 text
247 @d2 1
248 a2 1
249 .\" @@(#)$Id:$
250 d81 3
251 a83 2
252 The name used to denote a message sequence must consist solely of
253 alphabetic characters, and can not be one of the \*(lqreserved\*(rq
254 d90 5
255 a94 3
256 The name used to denote a message sequence can not occur as part of a
257 message range, e.g., constructs like \*(lqseen:20\*(rq or
258 \*(lqseen\-10\*(rq are forbidden.
259 @
260
261
262 1.4
263 log
264 @put things back, do .NA stuff another way
265 @
266 text
267 @d2 1
268 @
269
270
271 1.3
272 log
273 @typo
274 @
275 text
276 @d2 2
277 a3 2
278 .TH MARK 1 @@(MHCENTERFOOT) @@(MHLEFTFOOT)
279 .SH .NA
280 d5 1
281 a5 1
282 .SH .SY
283 @
284
285
286 1.2
287 log
288 @fixup for makewhatis
289 @
290 text
291 @d2 1
292 a2 1
293 .TH MARK 1 [mh.6] MH
294 @
295
296
297 1.1
298 log
299 @Initial revision
300 @
301 text
302 @d2 2
303 a3 2
304 .SC MARK 1
305 .NA
306 d5 1
307 a5 1
308 .SY
309 @