| 1 |
.\" BEGINPART A |
| 2 |
.TH NN 1 "Release 6.6" |
| 3 |
.\" (c) Copyright 1988, 1990, Kim F. Storm. All rights reserved. |
| 4 |
.\" Copyright (c) 1996-2026 Michael T Pins. All rights reserved. |
| 5 |
.\" |
| 6 |
.\" NOTICE: Some versions of the -man package may have problems with |
| 7 |
.\" ======= the @ characters in this manual. Fix your man package by |
| 8 |
.\" substituting ALL occurrences of the @ character in |
| 9 |
.\" tmac.an (or perhaps tmac.an.new) by a BEL (^G) character. |
| 10 |
.\" |
| 11 |
.UC 4 |
| 12 |
.SH NAME |
| 13 |
nn \- efficient net news interface (No News is good news) |
| 14 |
.SH SYNOPSIS |
| 15 |
.B nn |
| 16 |
[ \fIoptions\fP ] [ \fInewsgroup\fP | +\fIfolder\fP | \fIfile\fP ]... |
| 17 |
.br |
| 18 |
.B nn |
| 19 |
-g [ -r ] |
| 20 |
.br |
| 21 |
.B nn |
| 22 |
-a0 [ \fInewsgroup\fP ]... |
| 23 |
.SH DESCRIPTION |
| 24 |
Net news is a world-wide information exchange service covering |
| 25 |
numerous topics in science and every day life. Topics are organized |
| 26 |
in \fInews\ groups\fP, and these groups are open for everybody to post |
| 27 |
\fIarticles\fP on a subject related to the topic of the group. |
| 28 |
.LP |
| 29 |
\fINn\fP is a `point-and-shoot' net news interface program, or a |
| 30 |
\fInews reader\fP for short (not to be confused with the \fIhuman\fP |
| 31 |
news reader). When you use \fInn\fP, you can decide which of the many |
| 32 |
news groups you are interested in, and you can unsubscribe to those |
| 33 |
which don't interest you. \fInn\fP will let you read the new (and |
| 34 |
old) articles in each of the groups you subscribe to using a menu |
| 35 |
based article selection prior to reading the articles in the news |
| 36 |
group. |
| 37 |
.PP |
| 38 |
When a news group is entered, \fInn\fP will locate all the presently |
| 39 |
unread articles in the group, and extract their sender, subject, and |
| 40 |
other relevant information. This information is then rearranged, |
| 41 |
sorted, and marked in various ways to give it a pleasant format when |
| 42 |
it is presented on the screen. |
| 43 |
.PP |
| 44 |
This will be done very quickly, because \fInn\fP uses its own database |
| 45 |
to maintain all the necessary information on a directly accessible |
| 46 |
form (this database is built and maintained by the \fInnmaster\fP(8) |
| 47 |
program). |
| 48 |
.PP |
| 49 |
When the article menu appears on the screen, \fInn\fP will be in a |
| 50 |
mode called \fBselection mode\fP. In this mode, the articles which |
| 51 |
seems to be interesting can be selected by single keystrokes (using |
| 52 |
the keys a-z and 0-9). When all the interesting articles among the |
| 53 |
ones presently displayed have been selected, the space bar is hit, |
| 54 |
which causes \fInn\fP to enter reading mode. |
| 55 |
.PP |
| 56 |
In \fBreading mode\fP, each of the selected articles will be presented. |
| 57 |
You use the \fBspace bar\fP to go on to the next page of |
| 58 |
the current article, or to the next article. Of course, there are |
| 59 |
all sorts of commands to scroll text up and down, skip to the next |
| 60 |
article, responding to an article, decrypt an article, and so on. |
| 61 |
.PP |
| 62 |
When all the selected articles in the current group have been read, |
| 63 |
the last hit on the space bar will cause \fInn\fP will continue to the |
| 64 |
next group with unread articles, and enter selection mode on that group. |
| 65 |
.SH FREQUENTLY USED OPTIONS |
| 66 |
\fInn\fP accepts a lot of command line options, but here only the |
| 67 |
frequently used options are described. Options can also be set |
| 68 |
permanently by including appropriate \fIvariable\fP settings in the |
| 69 |
\fIinit\fP file described later. All options are described in the |
| 70 |
section on Command Line Options towards the end of this manual. |
| 71 |
.LP |
| 72 |
The frequently used command line options are: |
| 73 |
.TP |
| 74 |
\-\fBa0\fP |
| 75 |
Catch up on unread articles and groups. See the section "Catch up" |
| 76 |
below. |
| 77 |
.TP |
| 78 |
\-\fBg\fP |
| 79 |
Prompt for the name of a news group or folder to be entered (with |
| 80 |
completion). |
| 81 |
.TP |
| 82 |
\-\fBr\fP |
| 83 |
Used with \-\fBg\fP to repeatedly prompt for groups to enter. |
| 84 |
.TP |
| 85 |
\-\fBl\fP\fIN\fP |
| 86 |
Print only the first \fIN\fP lines of the first page of each article |
| 87 |
before prompting to continue. This is useful on slow terminals and |
| 88 |
modem lines to be able to see the first few lines of longer articles. |
| 89 |
.TP |
| 90 |
\-\fBs\fP\fIWORD\fP |
| 91 |
Collect only articles which contain the string |
| 92 |
.I WORD |
| 93 |
in their subject (case is ignored). This is normally combined with |
| 94 |
the -x and -m options to find all articles on a specific subject. |
| 95 |
.TP |
| 96 |
\-\fBs/\fP\fIregexp\fP |
| 97 |
Collect only articles whose subject matches the regular expression |
| 98 |
.IR regexp . |
| 99 |
This is normally combined with the -x and -m options to find all |
| 100 |
articles on a specific subject. |
| 101 |
.TP |
| 102 |
\-\fBn\fP\fIWORD\fP or \-\fBn/\fP\fIregexp\fP |
| 103 |
Same as \-\fBs\fP except that it matches on the sender's name |
| 104 |
instead of the article's subject. |
| 105 |
This is normally combined with the -x and -m options to find all |
| 106 |
articles from a specific author. It cannot be mixed with the |
| 107 |
\-\fBs\fP option! |
| 108 |
.TP |
| 109 |
\-\fBi\fP |
| 110 |
Normally searches with \-\fBn\fP and \-\fBs\fP are case independent. |
| 111 |
Using this option, the case becomes significant. |
| 112 |
.TP |
| 113 |
\-\fBm\fP |
| 114 |
Merge all articles into one `meta group' instead of showing |
| 115 |
them one group at a time. This is normally used together with the -x |
| 116 |
and -s options to get all the articles on a specific subject presented |
| 117 |
on a single menu (when you don't care about which group they belong |
| 118 |
to). When -m is used, no articles will be marked as read. |
| 119 |
.TP |
| 120 |
\-\fBx\fP[\fIN\fP] |
| 121 |
Present (or scan) all (or the last \fIN\fP) unread as well as |
| 122 |
read articles. When this option is used, \fInn\fP will |
| 123 |
.I never |
| 124 |
mark unread articles as read (i.e. .newsrc is not updated). |
| 125 |
.TP |
| 126 |
\-\fBX\fP |
| 127 |
Read/scan unsubscribed groups also. Most useful when looking for |
| 128 |
a specific subject in \fBall\fP groups, e.g. |
| 129 |
.nf |
| 130 |
nn -mxX -sSubject all |
| 131 |
.fi |
| 132 |
.TP |
| 133 |
\fInews.group\fP or \fIfile\fP or \fI+folder\fP |
| 134 |
If none of these arguments are given, all subscribed news groups will |
| 135 |
be used. Otherwise, only the specified news groups and/or files will |
| 136 |
be collected and presented. In specifying a news groups, the |
| 137 |
following `meta notation' can be used: |
| 138 |
.br |
| 139 |
If the news group ends with a |
| 140 |
\&`.' (or `.all'), all subgroups of the news group will be collected, |
| 141 |
e.g. |
| 142 |
.nf |
| 143 |
comp.sources. |
| 144 |
.fi |
| 145 |
If a news group starts with a `.' (or `all.'), all the matching |
| 146 |
subgroups will be collected, e.g. |
| 147 |
.nf |
| 148 |
\&.sources.unix |
| 149 |
.fi |
| 150 |
The argument `all' identifies all (subscribed) news groups. |
| 151 |
.SH COMMAND INPUT |
| 152 |
In general, \fInn\fP commands consist of one or two key-strokes, and \fInn\fP |
| 153 |
reacts instantly to the commands you give it; you don't have to enter |
| 154 |
.B return |
| 155 |
after each command (except where explicitly stated). |
| 156 |
.LP |
| 157 |
Some commands have more serious effects than others, and therefore |
| 158 |
\fInn\fP |
| 159 |
requests you to confirm the command. You confirm by hitting the |
| 160 |
the |
| 161 |
.B y |
| 162 |
key, and reject by hitting the |
| 163 |
.B n |
| 164 |
key. Some `trivial' requests may also be confirmed simply by hitting |
| 165 |
.B space. |
| 166 |
For example, to confirm the creation of a save file, just hit |
| 167 |
.B space, |
| 168 |
but if one or more directories also have to be created, you must enter |
| 169 |
.B y. |
| 170 |
.LP |
| 171 |
Many commands will require that you enter a line of text, e.g. a file |
| 172 |
name or a shell command. If you enter |
| 173 |
.B space |
| 174 |
as the first character on a line, the line will be |
| 175 |
filled with a default value (if one is defined). For example, the |
| 176 |
default value for a file name is the last file name you have entered, |
| 177 |
and the default shell command is your previous shell command. You can |
| 178 |
edit this default value as well as a directly typed text, using the |
| 179 |
following editing commands. The \fBerase\fP, |
| 180 |
\fBkill\fP, and \fBinterrupt\fP keys are the keys |
| 181 |
defined by the current tty settings. On systems without job control, |
| 182 |
the |
| 183 |
.B suspend |
| 184 |
key will be |
| 185 |
.B control-Z |
| 186 |
while it is the current suspend character on system with job control. |
| 187 |
.TP |
| 188 |
.B erase |
| 189 |
.br |
| 190 |
Delete the last character on the line. |
| 191 |
.TP |
| 192 |
\fBdelete-word\fP (normally ^W) |
| 193 |
.br |
| 194 |
Delete the last word or component of the input. |
| 195 |
.TP |
| 196 |
.B kill |
| 197 |
.br |
| 198 |
Delete all characters on the line. |
| 199 |
.TP |
| 200 |
\fBinterrupt\fP and \fBcontrol-G\fP |
| 201 |
.br |
| 202 |
Cancel the command which needs the input. |
| 203 |
.TP |
| 204 |
\fBsuspend\fP |
| 205 |
Suspend \fInn\fP if supported by the system. Otherwise, spawn an |
| 206 |
interactive shell. |
| 207 |
.TP |
| 208 |
.B return |
| 209 |
.br |
| 210 |
Terminate the line, and continue with the command. |
| 211 |
.LP |
| 212 |
\fBRelated variables\fP: |
| 213 |
erase-key, flow-control, flush-typeahead, help-key, kill-key, word-key. |
| 214 |
.SH BASIC COMMANDS |
| 215 |
There are numerous commands in \fInn\fP, and most of them can be invoked |
| 216 |
by a single keystroke. The descriptions in this manual are based on |
| 217 |
the standard bindings of the commands to the keys, but it is possible |
| 218 |
to customize these using the |
| 219 |
.B map |
| 220 |
command described later. For each of the keystroke commands described |
| 221 |
in this manual, the corresponding command name will also be shown in |
| 222 |
curly braces, e.g. {\fBcommand\fP}. |
| 223 |
.LP |
| 224 |
The following commands work in both selection |
| 225 |
mode and in reading mode. The notation ^X means `control X': |
| 226 |
.TP |
| 227 |
\&\fB?\fP {\fBhelp\fP} |
| 228 |
Help. Gives a one page overview of the commands available in the |
| 229 |
current mode. |
| 230 |
.TP |
| 231 |
\&\fB^L\fP {\fBredraw\fP} |
| 232 |
Redraw screen. |
| 233 |
.TP |
| 234 |
\&\fB^R\fP {\fBredraw\fP} |
| 235 |
Redraw screen (Same as ^L). |
| 236 |
.TP |
| 237 |
\&\fB^P\fP {\fBmessage\fP} |
| 238 |
Repeat the last message shown on the message line. The command can be |
| 239 |
repeated to successively show previous messages (the maximum number of |
| 240 |
saved messages is controlled via the \fBmessage-history\fP variable.) |
| 241 |
.TP |
| 242 |
\&\fB!\fP {\fBshell\fP} |
| 243 |
Shell escape. The user is prompted for a command which is executed |
| 244 |
by your favorite shell (see the |
| 245 |
.B shell |
| 246 |
variable). Shell escapes are described in detail later on. |
| 247 |
.TP |
| 248 |
\&\fBQ\fP {\fBquit\fP} |
| 249 |
Quit \fInn\fP. When you use this command, you neither lose unread |
| 250 |
articles in the |
| 251 |
current group nor the selections you might have made (unless the |
| 252 |
articles are expired in the meantime of course). |
| 253 |
.TP |
| 254 |
\&\fBV\fP {\fBversion\fP} |
| 255 |
Print release and version information. |
| 256 |
.TP |
| 257 |
\fB:\fP\fIcommand\fP {\fBcommand\fP} |
| 258 |
Execute the \fIcommand\fP by name. This form can be used to invoke |
| 259 |
any of \fInn\fP's commands, also those which cannot be bound to a key |
| 260 |
(such as \fB:coredump\fP), or those which are not bound to a key by |
| 261 |
default (such as \fBpost\fP and \fBunshar\fP). |
| 262 |
.LP |
| 263 |
\fBRelated and basic variables\fP: |
| 264 |
backup, backup-suffix, confirm-auto-quit, expert, mail, |
| 265 |
message-history, |
| 266 |
new-group-action, newsrc, quick-count. |
| 267 |
.SH SELECTION MODE |
| 268 |
In selection mode, the screen is divided into four parts: the header |
| 269 |
line showing the name of the news group and the number of articles, |
| 270 |
the menu lines which show the collected articles - one article |
| 271 |
per line, the prompt line where you enter commands, and the message |
| 272 |
line where \fInn\fP prints various messages to you. |
| 273 |
.LP |
| 274 |
Each menu line begins with an \fIarticle id\fP which is a unique |
| 275 |
letter (or digit if your screen can show more than 26 menu lines). To |
| 276 |
select an articles for reading, you simply enter the corresponding |
| 277 |
\fIid\fP, and the menu line will be high-lighted to indicate that the |
| 278 |
article is selected. When you have selected all the interesting |
| 279 |
articles on the present menu, you simply hit \fBspace\fP. |
| 280 |
.LP |
| 281 |
If there are more articles collected for the current group than could |
| 282 |
be presented on one screenful of text, you will |
| 283 |
be presented with the next portion of articles to select from. When |
| 284 |
you have had the opportunity to select among all the articles in the |
| 285 |
group, hitting \fBspace\fP will enter reading mode. |
| 286 |
.LP |
| 287 |
If no articles have been selected in the current group, hitting |
| 288 |
\fBspace\fP will enter selection mode on the next news group, or exit |
| 289 |
\fInn\fP if the current group was the last news group with unread |
| 290 |
articles. It is thus possible to go through ALL unread articles |
| 291 |
(without reading any of them) just by hitting \fBspace\fP a few times. |
| 292 |
.LP |
| 293 |
The articles will be presented on the menu using one of the following |
| 294 |
layouts: |
| 295 |
.sp 0.5v |
| 296 |
.TP |
| 297 |
0: |
| 298 |
\fIx Name......... Subject.............. +123\fP |
| 299 |
.TP |
| 300 |
1: |
| 301 |
\fIx Name......... 123 Subject..............\fP |
| 302 |
.TP |
| 303 |
2: |
| 304 |
\fIx 123 Subject...................................\fP |
| 305 |
.TP |
| 306 |
3: |
| 307 |
\fIx Subject...........................................\fP |
| 308 |
.TP |
| 309 |
4: |
| 310 |
\fIx Subject........................................\fP |
| 311 |
.LP |
| 312 |
Here \fIx\fP is the letter or digit that must be entered to select the |
| 313 |
article, \fIName\fP is the real name of the sender (or the mail |
| 314 |
address if the real name cannot be found), \fISubject\fP is the |
| 315 |
contents of the "Subject:" line in the article, and \fI123\fP is the number |
| 316 |
of lines in the article. |
| 317 |
.LP |
| 318 |
Layout 0 and 1 are just two ways to present the same information, |
| 319 |
while layout 2 and 3 are intended for groups whose articles have very |
| 320 |
long subject lines, e.g. comp.sources. |
| 321 |
.PP |
| 322 |
Layout 4 is a hybrid between layout 1 and 3. It will normally use |
| 323 |
layout 1, but it will use layout 3 (with a little indentation) for |
| 324 |
menu lines where the subject is longer than the space available with |
| 325 |
layout 1. |
| 326 |
.LP |
| 327 |
Layout 1 is the default layout, and an alternative menu line layout is |
| 328 |
selected using the \-\fBL\fP option or by setting the |
| 329 |
.B layout |
| 330 |
variable. Once \fInn\fP is started the layout can be changed at any |
| 331 |
time using the \fB"\fP key {\fBlayout\fP}. |
| 332 |
.LP |
| 333 |
The \fIName\fP is limited to 16 characters, and to make maximum use of |
| 334 |
this space, \fInn\fP will perform a series of simplifications on the |
| 335 |
name, e.g. changing first names into initials, removing domain names |
| 336 |
from mail addresses (if the real name is not found) etc. It does a |
| 337 |
good job, but some people on the net put weird things into the From: |
| 338 |
field (or actually into their password file) which result in \fInn\fP |
| 339 |
producing quite cryptic, and sometimes funny "names". |
| 340 |
.LP |
| 341 |
One a usual 80 column terminal, the \fISubject\fP is limited to about |
| 342 |
60 characters (75 in layout 3) and is thus only an approximation to |
| 343 |
the actual subject line which may be much longer. To get as much out |
| 344 |
of this space, \fIRe:\fP prefixes (in various forms) are recognized |
| 345 |
and replaced by a single \&`>' character (see the \fBre-layout\fP |
| 346 |
variable). |
| 347 |
.PP |
| 348 |
Since articles are sorted according to the subject, two or more |
| 349 |
adjacent articles may share the same subject (ignoring any `>'s). In |
| 350 |
this case, only the first article will show the subject of the |
| 351 |
article; the rest will only show the `>' character in the subject |
| 352 |
field (or a `-' if there is no `>' at the beginning of the line). A |
| 353 |
typical menu will thus only show each subject once, saving a lot of |
| 354 |
time in scanning the news articles. |
| 355 |
.LP |
| 356 |
If \fIconsolidated menus\fP (see section below) are enabled, adjacent |
| 357 |
articles sharing the same subject will be shown with a \fIsingle\fP |
| 358 |
line on the menu corresponding to the \fIfirst\fP of the articles. |
| 359 |
The number of articles with the same subject will be shown as a |
| 360 |
bracketed number in front of the subject, e.g. with layout 1: |
| 361 |
.nf |
| 362 |
\fIx Name......... 123 [4] Subject..............\fP |
| 363 |
.fi |
| 364 |
For further information see the section on consolidated menus below. |
| 365 |
.LP |
| 366 |
\fBRelated variables\fP: |
| 367 |
collapse-subject, columns, confirm-entry, confirm-entry-limit, |
| 368 |
entry-report-limit, fsort, kill, layout, limit, lines, long-menu, |
| 369 |
re-layout, repeat, slow-mode, sort, sort-mode, split, |
| 370 |
subject-match-limit, subject-match-offset, subject-match-parts, |
| 371 |
subject-match-minimum. |
| 372 |
.SH ARTICLE ATTRIBUTES |
| 373 |
While \fInn\fP is running and between invocations, \fInn\fP associates |
| 374 |
an \fIattribute\fP with each |
| 375 |
article on your system. These attributes are used to differentiate |
| 376 |
between read and unread articles, selected articles, articles marked |
| 377 |
for later treatment, etc. Depending on how \fInn\fP is configured, |
| 378 |
these attributes can be saved between invocations of \fInn\fP, or some |
| 379 |
of them may only be used while \fInn\fP is running. |
| 380 |
.LP |
| 381 |
The attribute is shown on the |
| 382 |
menu using either a single character following the \fIarticle id\fP |
| 383 |
or by high-lighting the menu line, depending on the attribute and the |
| 384 |
capabilities of the terminal. You can also change the attributes to |
| 385 |
your own taste (see the \fBattributes\fP variable). |
| 386 |
.LP |
| 387 |
The attribute of an article can be changed explicitly using the |
| 388 |
selection mode commands described below, or it will change |
| 389 |
automatically for example when you have read or saved a selected |
| 390 |
article. |
| 391 |
If a command may change any article attributes, it will be noted in |
| 392 |
the description of the command. The following descriptions of the |
| 393 |
attributes will only mention the most important commands that may set |
| 394 |
(or preserve) the attribute. |
| 395 |
.LP |
| 396 |
The following attributes may be associated with an article: |
| 397 |
.TP |
| 398 |
.B read |
| 399 |
Menu attribute "." - indicates that the article has been read or saved. |
| 400 |
When you leave the group, these articles will be marked permanently |
| 401 |
read, and are not presented the next time you enter the group. |
| 402 |
.TP |
| 403 |
.B seen |
| 404 |
Menu attribute "," - indicates that the article is unread, but that it |
| 405 |
has been \fIpresented\fP on a menu. Depending on how \fInn\fP is |
| 406 |
configured, these articles will automatically be marked \fIread\fP |
| 407 |
when you leave the group, they may remain \fIseen\fP, or they may just |
| 408 |
be \fIunread\fP the next time you enter the group (see the |
| 409 |
\fBauto-junk-seen\fP, \fBconfirm-junk-seen\fP, and |
| 410 |
\fBretain-seen-status\fP variables). |
| 411 |
.sp 0.5v |
| 412 |
Only the commands \fBcontinue\fP (\fBspace\fP) and \fBread-skip\fP |
| 413 |
(\fBX\fP) will mark \fIunread\fP articles on the current (or all) menu |
| 414 |
pages as \fIseen\fP when they are used. Other commands that scroll |
| 415 |
through the menu pages or enter reading mode will let unread articles |
| 416 |
remain unread. |
| 417 |
.TP |
| 418 |
.B unread |
| 419 |
Menu attribute " " - indicates an unread article. These articles were |
| 420 |
unread when you entered the group, and they may remain unread when you |
| 421 |
leave the group, unless they have been marked \fIseen\fP by the command |
| 422 |
that you used to leave the group or enter reading mode. |
| 423 |
.TP |
| 424 |
.B selected |
| 425 |
Menu line high-lighted (or menu attribute "*") - indicates that you have |
| 426 |
selected the article. If you leave the group, the selected articles |
| 427 |
will remain selected the next time you enter the group. When you have |
| 428 |
read a selected article, the attribute will automatically change to |
| 429 |
\fIread\fP. |
| 430 |
.TP |
| 431 |
.B auto-selected |
| 432 |
These articles have the same appearance as \fIselected\fP articles on |
| 433 |
the menu, and the only difference is that these articles have been |
| 434 |
selected automatically via the auto-selection facility rather than |
| 435 |
manually by you. Very few commands differentiate between these |
| 436 |
attributes and if they do, it is explicitly stated in this manual. |
| 437 |
The main difference is that these articles are only marked as |
| 438 |
\fIunread\fP when you leave the group (supposing they will also be |
| 439 |
auto-selected the next the group is entered). This simplifies the |
| 440 |
house-keeping between invocations of \fInn\fP. |
| 441 |
.TP |
| 442 |
.B leave |
| 443 |
Menu attribute "+" - indicates that the article is marked for later |
| 444 |
treatment by the \fBleave-article\fP (\fBl\fP) command. These |
| 445 |
articles may be selected (on demand) when you have read all selected |
| 446 |
articles in a group. However, if you do not select them then |
| 447 |
immediately, they are stored as the \fBleave-next\fP attribute |
| 448 |
described below. |
| 449 |
.TP |
| 450 |
.B leave-next |
| 451 |
Menu attribute "=" - indicates that the article is marked for later |
| 452 |
treatment by the \fBleave-next\fP (\fBL\fP) command. This is a |
| 453 |
permanent attribute, which will remain on the article until you either |
| 454 |
read the article, change the attribute, or it is expired. So |
| 455 |
assigning this attribute to an article will effectively keep it unread |
| 456 |
until \fIyou\fP do something. If the variable \fBselect-leave-next\fP |
| 457 |
is set, \fInn\fP will ask whether these articles should be |
| 458 |
\fBselected\fP on entry to a group (but naturally, doing so will |
| 459 |
change the \fBleave-next\fP attribute to \fBselect\fP). |
| 460 |
.TP |
| 461 |
.B cancelled |
| 462 |
Menu attribute "#" - indicates that the article has been cancelled. |
| 463 |
This is mainly useful when tidying a folder; it is set by the |
| 464 |
\fBcancel\fP (\fBC\fP) command, and can be cleared by any command that |
| 465 |
change attributes, e.g. you can select and deselect the article. |
| 466 |
.TP |
| 467 |
.B killed |
| 468 |
Menu attribute "!" - indicates that the article has been killed (e.g. |
| 469 |
by the \fBK\fP {\fBkill-select\fP} command). Killed articles are |
| 470 |
immediately removed from the menu, so you should not normally see |
| 471 |
articles with this attribute. If you do, report it as a bug! |
| 472 |
.LP |
| 473 |
The attributes are saved in two files: .newsrc (\fIread\fP articles) |
| 474 |
and .nn/select (other attributes). Plain \fIunread\fP articles are |
| 475 |
saved by not occurring in either of these files. Both files are |
| 476 |
described in more detail later on. |
| 477 |
.LP |
| 478 |
\fBRelated variables\fP: |
| 479 |
attributes, auto-junk-seen, confirm-junk-seen, retain-seen-status, |
| 480 |
select-leave-next. |
| 481 |
.SH SELECTION MODE COMMANDS |
| 482 |
The primary purpose of the selection mode is of course to select the |
| 483 |
articles to be read, but numerous other commands may also be |
| 484 |
performed in this mode: saving of articles in files, replying and |
| 485 |
following up on articles, mailing/forwarding articles, shell escapes |
| 486 |
etc. |
| 487 |
.PP |
| 488 |
As described above, the \fIselected\fP articles are marked either by |
| 489 |
showing the corresponding menu line in standout mode (reverse video), |
| 490 |
or if the terminal does not have this capability by placing an |
| 491 |
asterisk (*) after the selection letter or digit. |
| 492 |
.LP |
| 493 |
Most commands which are used to select articles will work as toggle |
| 494 |
commands. If the article is not already selected, the |
| 495 |
\fIselected\fPattribute on the article(s), independent on the previous |
| 496 |
attribute. Otherwise, the article(s) will be \fIdeselected\fP and |
| 497 |
marked \fIunread\fP. Consequently, any article can be marked |
| 498 |
\fIunread\fP simply be selecting and deselecting it. |
| 499 |
.LP |
| 500 |
During selection, the cursor will normally be placed on the article |
| 501 |
following the last article whose attribute was changed (initially the |
| 502 |
first article). The article pointed out by the cursor is called the |
| 503 |
\fIcurrent article\fP, and the following commands work relative to the |
| 504 |
current article and cursor position. |
| 505 |
.TP |
| 506 |
\&\fBabc...z 01..9\fP {\fIarticle N\fP} |
| 507 |
The article with the given identification letter or digit is |
| 508 |
selected or deselected. The following article becomes the current |
| 509 |
article. If the variable \fBauto-select-subject\fP is set, all |
| 510 |
articles with the same subject as the given article are selected. |
| 511 |
.TP |
| 512 |
\&\fB.\fP {\fBselect\fP} |
| 513 |
Select or deselect the current article and move the cursor to the next |
| 514 |
article. |
| 515 |
.TP |
| 516 |
\&\fB,\fP {\fBline+1\fP} |
| 517 |
Move the cursor to the next article. You can use the \fIdown arrow\fP |
| 518 |
as well. |
| 519 |
.TP |
| 520 |
\&\fB/\fP {\fBline-1\fP} |
| 521 |
Move cursor to previous article. You can use the \fIup arrow\fP |
| 522 |
as well. |
| 523 |
.TP |
| 524 |
\&\fB*\fP {\fBselect-subject\fP} |
| 525 |
Select or deselect all articles with same subject as current |
| 526 |
article. This will work across several menu pages if necessary. |
| 527 |
.TP |
| 528 |
\&\fB-\fP\fIx\fP {\fBselect-range\fP} |
| 529 |
Select or deselect the range of articles between the current article |
| 530 |
and the article specified by \fIx\fP. For example you can select all |
| 531 |
articles from \fIe\fP to \fIk\fP by simply typing \fBe-k\fP. |
| 532 |
.LP |
| 533 |
The following commands may change the attributes on all articles on |
| 534 |
the current menu page, or on all articles on all menu pages. |
| 535 |
.TP |
| 536 |
\&\fB@\fP {\fBselect-invert\fP} |
| 537 |
.br |
| 538 |
Reverse selections. All selected articles on the current page are |
| 539 |
deselected, and vice-versa. (Use the \fBfind\fP command to select all |
| 540 |
articles.) |
| 541 |
.TP |
| 542 |
\&\fB~\fP {\fBunselect-all\fP} |
| 543 |
Deselect all \fIauto-selected\fP articles in the group (this works |
| 544 |
across all menu pages). If the command is executed twice, the |
| 545 |
\fIselected\fP articles will also be deselected. |
| 546 |
.TP |
| 547 |
\&\fB+\fP {\fBselect-auto\fP} |
| 548 |
Perform auto-selections in the group (see the section on "auto |
| 549 |
kill/select" below). |
| 550 |
.TP |
| 551 |
\&\fB=\fP {\fBfind\fP} |
| 552 |
Prompts for a regular expression, and selects all articles on the menu |
| 553 |
(all pages) which matches the regular expression. Depending on the |
| 554 |
variable \fBselect-on-sender\fP matching is performed against the |
| 555 |
subject (default) or the sender of the articles. An empty |
| 556 |
answer (\fB= return\fP) will reuse the previous expression. |
| 557 |
Example: The command \fB= . return\fP will select \fIall\fP articles |
| 558 |
in the group. |
| 559 |
.TP |
| 560 |
\&\fBJ\fP {\fBjunk-articles\fP} |
| 561 |
This is a very versatile command which can be used to perform all |
| 562 |
sorts of attribute changes, either on individual articles, all |
| 563 |
articles on the current menu page, all articles with a specific |
| 564 |
attribute, or all available articles. To access all the functions of |
| 565 |
this command, the \fBJ\fP key may have to be hit up to four times, |
| 566 |
to loop through different one-line menus. The full functionality of |
| 567 |
the \fBjunk-articles\fP command is described in a separate section |
| 568 |
below. |
| 569 |
.TP |
| 570 |
\&\fBL\fP {\fBleave-next\fP} |
| 571 |
This is a specialized version of the generic \fBJ\fP |
| 572 |
{\fBjunk-articles\fP} command to set the \fIleave-next\fP attribute on |
| 573 |
a subset of the articles on the menu. It is also described further |
| 574 |
below. |
| 575 |
.LP |
| 576 |
The following commands move between the pages belonging to the same |
| 577 |
news group when there are more articles than will fit on a single |
| 578 |
page. These commands will not change any article attributes. |
| 579 |
.TP |
| 580 |
\&\fB>\fP {\fBpage+1\fP} |
| 581 |
Goto next menu page. |
| 582 |
.TP |
| 583 |
\&\fB<\fP {\fBpage-1\fP} |
| 584 |
Goto previous menu page, or to last menu page if on first menu page. |
| 585 |
.TP |
| 586 |
\&\fB$\fP {\fBpage=$\fP} |
| 587 |
Goto last menu page. |
| 588 |
.TP |
| 589 |
\&\fB^\fP {\fBpage=1\fP} |
| 590 |
Goto first menu page. |
| 591 |
.LP |
| 592 |
The following commands are used to enter reading mode for the selected |
| 593 |
articles, and to move between news groups (in selection mode). They |
| 594 |
may change article attributes if noted below. |
| 595 |
.TP |
| 596 |
\&\fBspace\fP {\fBcontinue\fP} |
| 597 |
Continue to next menu page, or if on last menu page, read the selected |
| 598 |
articles. If no articles have been selected, continue to the next news |
| 599 |
group. The \fIunread\fP articles on the current menu page will |
| 600 |
automatically be marked \fIseen\fP. |
| 601 |
.TP |
| 602 |
\&\fBreturn\fP {\fBcontinue-no-mark\fP} |
| 603 |
Identical to the \fBcontinue\fP command, except that the \fIunread\fP |
| 604 |
articles on the current menu page will remain \fIunread\fP. |
| 605 |
(The |
| 606 |
.B newline |
| 607 |
key has the same effect). |
| 608 |
.TP |
| 609 |
\&\fBZ\fP {\fBread-return\fP} |
| 610 |
Enter reading mode |
| 611 |
.I immediately |
| 612 |
with the currently selected articles. When all |
| 613 |
articles have been read, return to selection mode in the |
| 614 |
.I current |
| 615 |
group. It will mark \fIselected\fP articles \fIread\fP as they are |
| 616 |
read, but \fIunread\fP articles are not normally changed (can be |
| 617 |
controlled with the variable \fBmarked-by-read-return\fP.) |
| 618 |
.TP |
| 619 |
\&\fBX\fP {\fBread-skip\fP} |
| 620 |
Mark all \fIunmarked\fP articles \fIseen\fP on all menu pages (or the |
| 621 |
pages defined by the \fBmarked-by-read-skip\fP variable), and enter |
| 622 |
reading mode \fIimmediately\fP with the currently selected articles. |
| 623 |
As the selected articles are read, they are marked \fIread\fP. When |
| 624 |
all selected articles have been read, \fInn\fP will enter selection |
| 625 |
mode in the \fInext\fP news group. \fBWhen no articles are selected, |
| 626 |
it goes directly to the next group\fP. This can be used to skip all |
| 627 |
the articles in a large news group without having to go through all |
| 628 |
the menu pages. |
| 629 |
.LP |
| 630 |
If you don't want to read the current group now, but want to keep it |
| 631 |
for later, you can use the following commands which will only mark |
| 632 |
\fIseen\fP and \fIread\fP articles as read. Currently selected |
| 633 |
articles will still be selected the next time you enter the group. |
| 634 |
None of these commands will change any attributes themselves (by default). |
| 635 |
.TP |
| 636 |
\&\fBN\fP {\fBnext-group\fP} |
| 637 |
Go forward to the next group in the presentation sequence. If the |
| 638 |
variable \fBmarked-by-next-group\fP is set articles on the menu can |
| 639 |
optionally be marked \fIseen\fP |
| 640 |
.TP |
| 641 |
\&\fBP\fP {\fBprevious\fP} |
| 642 |
Go back to the previous group. This command will enter selection mode |
| 643 |
on the last active group (two P commands in sequence will bring you to |
| 644 |
the current group). If there are still some \fIunread\fP articles in |
| 645 |
the group, only those articles will be shown. Otherwise, all the |
| 646 |
articles which were unread when \fInn\fP was invoked will be shown |
| 647 |
marked with the \fIread\fP attribute (which can be changed as usual). |
| 648 |
.LP |
| 649 |
As described in the "Article Attributes" section, the \fIread\fP and |
| 650 |
\fIseen\fP articles will normally be marked read when you leave the |
| 651 |
group, and these articles are not shown the next time you enter the |
| 652 |
group. |
| 653 |
.LP |
| 654 |
In all releases prior to release 6.4, it was impossible to have |
| 655 |
individual articles in a group marked \fIunread\fP when you left a |
| 656 |
group, and the default behaviour of release 6.4 onwards will closely |
| 657 |
match the traditional behaviour. This means that the \fIseen\fP and |
| 658 |
\fIread\fP articles are treated alike for most practical purposes |
| 659 |
with the default variable settings. |
| 660 |
.LP |
| 661 |
If you don't like \fInn\fP to silently mark the \fIseen\fP articles |
| 662 |
read, you can \fIset\fP the variable \fBconfirm-junk-seen\fP to get |
| 663 |
\fInn\fP to prompt you for confirmation before doing this, or you can |
| 664 |
\fIunset\fP the variable \fBauto-junk-seen\fP to simply keep the seen |
| 665 |
articles for the next time you enter the group. You then have to use |
| 666 |
the \fBJ\fP {\fBjunk-articles\fP} to mark articles read. |
| 667 |
.LP |
| 668 |
Using \fBreturn\fP {\fBcontinue-no-mark\fP} will also allow you to keep |
| 669 |
articles \fIunread\fP rather than marking them \fIseen\fP when |
| 670 |
scrolling through the menu pages and entering reading mode. If this |
| 671 |
is your preferred reading style, you can remap \fBspace\fP to this |
| 672 |
command. |
| 673 |
.LP |
| 674 |
\fBRelated variables\fP: |
| 675 |
auto-junk-seen, auto-preview-mode, auto-select-subject, case-fold-search, |
| 676 |
confirm-auto-quit, confirm-entry, confirm-junk-seen, |
| 677 |
marked-by-next-group, marked-by-read-return, marked-by-read-skip, |
| 678 |
retain-seen-status, select-on-sender. |
| 679 |
.SH CONSOLIDATED MENUS |
| 680 |
Normally, \fInn\fP will use one menu line for each article, so if |
| 681 |
there are many articles with identical subjects, each menu page will |
| 682 |
only contain a few different subjects. To have each subject occur |
| 683 |
only once on the menu, \fInn\fP can operate with consolidated menus by |
| 684 |
setting the variable \fBconsolidated-menu\fP. |
| 685 |
.LP |
| 686 |
When consolidated menus are used, \fInn\fP operates with two kinds of |
| 687 |
subjects: open and closed. |
| 688 |
.LP |
| 689 |
An \fIopen subject\fP is a subject which is shown in the traditional way |
| 690 |
with one menu line for each article with the given subject. In other |
| 691 |
words, when consolidated menus are not used, all subjects are open (by |
| 692 |
default). |
| 693 |
.LP |
| 694 |
A \fIclosed subject\fP is a multi-article subject which is presented |
| 695 |
by a single menu line. This line will be the normal menu line for the |
| 696 |
first (oldest) article with the subject, but with the subject field |
| 697 |
annotated with a bracketed number showing the number of articles with |
| 698 |
that subject, e.g. |
| 699 |
.sp 0.5v |
| 700 |
.nf |
| 701 |
a Kim F. Storm 12 [4] Future plans for nn |
| 702 |
b.Kim F. Storm 43 [3] More plans for nn |
| 703 |
.fi |
| 704 |
.sp 0.5v |
| 705 |
In this example, there are four unread articles with subject `a' of |
| 706 |
which the first is posted by me and has 12 lines. The rest of the |
| 707 |
articles are hidden, and will only be shown on request. The `.' |
| 708 |
marker on subject `b' shows that all three articles within that |
| 709 |
subject have been read (or seen). |
| 710 |
.LP |
| 711 |
To select (or deselect) ALL the articles within a closed subject, |
| 712 |
simply select the article shown on the menu; this will automatically |
| 713 |
select (or deselect) the rest (see auto-select-closed). When all the |
| 714 |
unread articles within a closed subject are selected, the menu line |
| 715 |
will be high-lighted. |
| 716 |
.LP |
| 717 |
If you want to view the individual articles in a subject (maybe to |
| 718 |
select individual articles), you can open the subject with the |
| 719 |
commands: |
| 720 |
.TP |
| 721 |
\fB(x\fP |
| 722 |
Open subject \fIx\fP on menu. |
| 723 |
.TP |
| 724 |
\fB((\fP |
| 725 |
Open current subject. |
| 726 |
.LP |
| 727 |
When you have completed viewing the opened subject, you can close it |
| 728 |
again using the commands: |
| 729 |
.TP |
| 730 |
\fB)x\fP |
| 731 |
Close subject \fIx\fP on menu (\fIx\fP is any article with the subject). |
| 732 |
.TP |
| 733 |
\fB))\fP |
| 734 |
Close current subject. |
| 735 |
.LP |
| 736 |
In the basic layout of the menu line for a closed subject as shown |
| 737 |
above, ALL articles in the closed subject are supposed to be either: |
| 738 |
.TP |
| 739 |
\fIunread\fP |
| 740 |
The menu line is \fInot\fP high-lighted. |
| 741 |
.TP |
| 742 |
\fIselected\fP |
| 743 |
Menu line is fully high-lighted (if all UNREAD are selected). |
| 744 |
.TP |
| 745 |
\fBread/seen\fP |
| 746 |
There is a `.' (read attribute) following the article id. |
| 747 |
.LP |
| 748 |
If neither of these cases apply, i.e. there is a mixture of unread, |
| 749 |
selected, and seen/read articles, the bracketed number will have one |
| 750 |
of the following formats: |
| 751 |
.TP |
| 752 |
[U:T] |
| 753 |
There are U unread articles of T total (U<T). |
| 754 |
.TP |
| 755 |
[S/T] |
| 756 |
There are S selected articles of T total (S<U=T). |
| 757 |
.TP |
| 758 |
[S/U:T] |
| 759 |
There are S selected of U unread of T total (S<U<T). |
| 760 |
.LP |
| 761 |
If there are any selected articles (S>0), the information between the |
| 762 |
brackets will be high-lighted (to show that something is selected, but |
| 763 |
not all the unread articles). |
| 764 |
.LP |
| 765 |
\fBNotice\fP: Consolidated menus only work with the `subject' and |
| 766 |
`lexical' sorting methods. |
| 767 |
.LP |
| 768 |
Variables related to consolidated menus are: |
| 769 |
auto-select-closed, |
| 770 |
consolidated-menu, |
| 771 |
counter-delim-left, counter-delim-right, |
| 772 |
counter-padding, |
| 773 |
save-closed-mode. |
| 774 |
.SH THE JUNK-ARTICLES AND LEAVE-NEXT COMMANDS |
| 775 |
The \fBJ\fP {\fBjunk-articles\fP} command is a very flexible command |
| 776 |
which can perform all sorts of attribute changes, either on individual |
| 777 |
articles, all articles on the current menu page, all articles with a |
| 778 |
specific attribute, or all available articles. |
| 779 |
.LP |
| 780 |
To access all the functions of this command, the \fBJ\fP key may have |
| 781 |
to be hit up to four times, to loop through different one-line menus: |
| 782 |
.TP |
| 783 |
\fBMark Read\fP |
| 784 |
This submenu allows you to mark articles \fIread\fP. |
| 785 |
.TP |
| 786 |
\fBUnmark\fP |
| 787 |
This submenu allows you to mark articles \fIunread\fP. |
| 788 |
.TP |
| 789 |
\fBSelect\fP |
| 790 |
This submenu allows you to select articles based on their attribute. |
| 791 |
.TP |
| 792 |
\fBKill\fP |
| 793 |
This submenu allows you to mark articles \fIread\fP and remove them |
| 794 |
from the menu based on their attribute. |
| 795 |
.LP |
| 796 |
The \fBL\fP {\fBleave-next\fP} command is an extension of the \fBJ\fP |
| 797 |
command with a fifth menu: |
| 798 |
.TP |
| 799 |
\fBLeave\fP |
| 800 |
This menu allows you to mark articles for later handling with the |
| 801 |
\fIleave-next\fP attribute which will keep the article unread until |
| 802 |
you explicitly change the attribute (e.g. by reading it) or it is |
| 803 |
expired. |
| 804 |
.LP |
| 805 |
For each of these submenus, \fInn\fP will list the most plausible |
| 806 |
choices you may use, but all of the following answers can be used at |
| 807 |
all submenus. When you have entered a choice, \fInn\fP will afterward |
| 808 |
ask whether the change should be made to all menu pages or only the |
| 809 |
current page. |
| 810 |
.TP |
| 811 |
\fBJ\fP |
| 812 |
Show next submenu. |
| 813 |
.TP |
| 814 |
\fBL\fP |
| 815 |
Change attribute on all \fIleave\fP articles. |
| 816 |
.TP |
| 817 |
\fBN\fP |
| 818 |
Change attribute on all \fIleave-next\fP articles. |
| 819 |
.TP |
| 820 |
\fBR\fP |
| 821 |
Change attribute on all \fIread\fP articles. |
| 822 |
.TP |
| 823 |
\fBS\fP |
| 824 |
Change attribute on all \fIseen\fP articles. |
| 825 |
.TP |
| 826 |
\fBU\fP |
| 827 |
Change attribute on all unmarked (i.e. \fIunread\fP) articles. |
| 828 |
.TP |
| 829 |
\fBA\fP |
| 830 |
Change attribute on \fIall\fP articles no matter their current attribute. |
| 831 |
.TP |
| 832 |
\fB*\fP |
| 833 |
Change attribute on all \fIselected\fP articles on \fIthe current\fP page. |
| 834 |
.TP |
| 835 |
\fB+\fP |
| 836 |
Change attribute on all \fIselected\fP articles on \fIall\fP pages. |
| 837 |
.TP |
| 838 |
\fBa-z0-9\fP |
| 839 |
Change attribute on one or more specific articles on the current page. |
| 840 |
You end the list of articles by a \fBspace\fP or by using one of the |
| 841 |
other choices described above. |
| 842 |
.TP |
| 843 |
\fB.\fP |
| 844 |
Change attribute on \fIcurrent\fP article. |
| 845 |
.TP |
| 846 |
\fB, /\fP |
| 847 |
Move the current article down or up the menu without changing any |
| 848 |
attributes. |
| 849 |
.SH READING MODE COMMANDS |
| 850 |
In reading mode, the \fIselected\fP articles are presented one page at |
| 851 |
a time. To get the next page of an article, simply hit \fBspace\fP, |
| 852 |
and when you are on the last page of an article, hit \fBspace\fP to |
| 853 |
get to the next selected article. Articles are normally marked read |
| 854 |
when you go to the next article, while going back to the menu, |
| 855 |
quitting \fInn\fP, etc. will retain the attribute on the current |
| 856 |
article. |
| 857 |
.LP |
| 858 |
When you are on the last page of the last article, hit \fBspace\fP to |
| 859 |
enter selection mode on the next group (or the current group if |
| 860 |
reading mode was entered using the \fBZ\fP command). |
| 861 |
.LP |
| 862 |
To read an article, the following text scrolling commands are |
| 863 |
available: |
| 864 |
.TP |
| 865 |
\&\fBspace\fP {\fBcontinue\fP} |
| 866 |
Scroll \fIone page forward\fP or continue with the next article or |
| 867 |
group as described above. |
| 868 |
.TP |
| 869 |
\&\fBbackspace / delete\fP {\fBpage-1\fP} |
| 870 |
Go \fIone page backwards\fP in article. |
| 871 |
.TP |
| 872 |
\&\fBd\fP {\fBpage+1/2\fP} |
| 873 |
Scroll one \fIhalf page forward\fP. |
| 874 |
.TP |
| 875 |
\&\fBu\fP {\fBpage-1/2\fP} |
| 876 |
Go one \fIhalf page backwards\fP. |
| 877 |
.TP |
| 878 |
\&\fBreturn\fP {\fBline+1\fP} |
| 879 |
Scroll \fIone line forward\fP in the article. |
| 880 |
.TP |
| 881 |
\&\fBtab\fP {\fBskip-lines\fP} |
| 882 |
Skip over lines starting with the same character as the last line on |
| 883 |
the current page. This is useful to skip over included text or to the |
| 884 |
next file in a shell archive. |
| 885 |
.TP |
| 886 |
\&\fB^\fP {\fBpage=1\fP} |
| 887 |
Move to the \fIfirst page\fP (excluding the header) of the article. |
| 888 |
.TP |
| 889 |
\&\fB$\fP {\fBpage=$\fP} |
| 890 |
Move to the \fIlast page\fP of the article. |
| 891 |
.TP |
| 892 |
\&\fBg\fP\fIN\fP {\fBline=@\fP} |
| 893 |
Move to line \fIN\fP in the article. |
| 894 |
.TP |
| 895 |
\&\fB/\fP\fIregexp\fP {\fBfind\fP} |
| 896 |
Search forward for text matching the regular expression \fIregexp\fP |
| 897 |
in the article. If a matching text is found, it will be high-lighted. |
| 898 |
.TP |
| 899 |
\&\fB.\fP {\fBfind-next\fP} |
| 900 |
Repeat search for last regular expression. |
| 901 |
.TP |
| 902 |
\&\fBh\fP {\fBpage=0\fP} |
| 903 |
Show the \fIheader\fP of the article, and continue from the top of the |
| 904 |
article. |
| 905 |
.TP |
| 906 |
\&\fBH\fP {\fBfull-digest\fP} |
| 907 |
If the current article is extracted from a digest, show the entire |
| 908 |
digest article including its header. |
| 909 |
Another \fBH\fP command will return to the current subarticle. |
| 910 |
.TP |
| 911 |
\&\fBD\fP {\fBrot13\fP} |
| 912 |
Turn \fIrot13\fP (caesar) decryption on and off for the current |
| 913 |
article, and redraw current page. If the article is saved while it is |
| 914 |
decrypted on the screen, it will be saved in decrypted form as well! |
| 915 |
.TP |
| 916 |
\&\fBc\fP {\fBcompress\fP} |
| 917 |
Turn compression on and off for the current article and redraw current |
| 918 |
page. With compression turned on, multiple spaces and tabs are shown |
| 919 |
as a single space. This makes it much easier to read right justified |
| 920 |
text which separate words with several spaces. (See also the |
| 921 |
\fBcompress\fP variable) |
| 922 |
.LP |
| 923 |
The following commands are used to move among the selected articles. |
| 924 |
.TP |
| 925 |
\&\fBn\fP {\fBnext-article\fP} |
| 926 |
Move to next selected article. This command skips the rest of the |
| 927 |
current article, marks it \fIread\fP, and jumps directly to the first |
| 928 |
page of the next selected article (or to the next group if it was the |
| 929 |
last selected article). |
| 930 |
.TP |
| 931 |
\&\fBl\fP {\fBleave-article\fP} |
| 932 |
Mark the current article with the \fIleave\fP attribute and continue |
| 933 |
with the next selected article. When all the selected articles |
| 934 |
in the current group have been read, these \fIleft over\fP articles |
| 935 |
can be automatically selected and shown once more, or the treatment |
| 936 |
can be postponed to the next time you enter the group. |
| 937 |
This is particularly useful if you see an article |
| 938 |
which you may want to respond to unless one the following articles is |
| 939 |
already saying what you intended to say. |
| 940 |
.TP |
| 941 |
\&\fBL\fP {\fBleave-next\fP} |
| 942 |
Mark the current article with the \fIleave-next\fP attribute and |
| 943 |
continue with the next selected article. |
| 944 |
.TP |
| 945 |
\&\fBp\fP {\fBprevious\fP} |
| 946 |
Goto previous article. |
| 947 |
.TP |
| 948 |
\&\fBk\fP {\fBnext-subject\fP} |
| 949 |
Kill subject. Skips rest of current article, and all following |
| 950 |
articles with the same subject. The skipped articles are marked |
| 951 |
\fIread\fP. To kill a subject permanently use the \fBK\fP command. |
| 952 |
.TP |
| 953 |
\&\fB*\fP {\fBselect-subject\fP} |
| 954 |
Show next article with \fIsame\fP subject (even if it is not |
| 955 |
selected). This command will \fIselect\fP all following articles with |
| 956 |
the same subject as the current article |
| 957 |
(similar to the `*' command in selection mode). This can be used to |
| 958 |
select only the first article on a subject in selection mode, and then |
| 959 |
select all follow-ups in reading mode if you find the article |
| 960 |
interesting. |
| 961 |
.TP |
| 962 |
\&\fBa\fP {\fBadvance-article\fP} |
| 963 |
Goto the following article on the menu even if it is not selected. |
| 964 |
This command skips the rest of the current article |
| 965 |
and jumps directly to the first page of the next article (it will not skip |
| 966 |
to the next group if it is the last article). The attribute on the |
| 967 |
current article will be restored, except for the \fIunread\fP |
| 968 |
attribute which will be changed to \fIseen\fP. |
| 969 |
.TP |
| 970 |
\&\fBb\fP {\fBback-article\fP} |
| 971 |
Goto the article before current article on the menu even if it is not |
| 972 |
selected. This is similar to the \fBa\fP command, except for the |
| 973 |
direction. |
| 974 |
.LP |
| 975 |
The following commands perform an |
| 976 |
immediate return from reading mode to selection mode in |
| 977 |
the |
| 978 |
.I current |
| 979 |
group or skip to the next group. |
| 980 |
.TP |
| 981 |
\&\fB=\fP {\fBgoto-menu\fP} |
| 982 |
Return to selection mode in the current group (think of = as the |
| 983 |
\&"icon" of the selection menu). The articles read so far will be |
| 984 |
marked \fIread\fP. |
| 985 |
.TP |
| 986 |
\&\fBN\fP {\fBnext-group\fP} |
| 987 |
Skip the rest of the \fIselected\fP and \fIunread\fP articles in the |
| 988 |
current group and go directly to the next group. Only the \fIread\fP |
| 989 |
(and \fIseen\fP) articles in the current group are marked as read. |
| 990 |
.TP |
| 991 |
\&\fBX\fP {\fBread-skip\fP} |
| 992 |
Mark \fIall\fP articles in the current group as read and go directly |
| 993 |
to the next group. (You will be asked to confirm this command.) |
| 994 |
.LP |
| 995 |
\fBRelated variables\fP: |
| 996 |
case-fold-search, charset, compress, data-bits, date, header-lines, |
| 997 |
mark-overlap, monitor, overlap, scroll-clear-page, stop, |
| 998 |
trusted-escape-codes, wrap-header-margin. |
| 999 |
.SH PREVIEWING ARTICLES IN SELECTION MODE |
| 1000 |
In selection mode, it is possible to read a specific article on the |
| 1001 |
menu without entering reading mode for all the selected articles on |
| 1002 |
the menu. Using the commands described below will enter reading mode |
| 1003 |
for one article only, and then return to the menu mode immediately |
| 1004 |
after (depending on the setting of the \fBpreview-continuation\fP |
| 1005 |
variable). |
| 1006 |
.PP |
| 1007 |
If there are more than 5 free lines at the bottom of the menu screen, |
| 1008 |
\fInn\fP will use that space to show the article (a minimal preview |
| 1009 |
window can be permanently allocated with the |
| 1010 |
.B window |
| 1011 |
variable). Otherwise, |
| 1012 |
the screen will be cleared to show the article. |
| 1013 |
.PP |
| 1014 |
After previewing an article, it will be marked read (if the |
| 1015 |
\fBpreview-mark-read\fP variable is set), and the following article |
| 1016 |
will become the current article. |
| 1017 |
.TP |
| 1018 |
\&\fB%\fP\fIx\fP {\fBpreview\fP} |
| 1019 |
Preview article |
| 1020 |
.IR x . |
| 1021 |
.TP |
| 1022 |
\&\fB%%\fP {\fBpreview\fP} |
| 1023 |
Preview the current article. |
| 1024 |
.LP |
| 1025 |
When the article is being shown, the following reading mode commands |
| 1026 |
are very useful: |
| 1027 |
.TP |
| 1028 |
\&\fB=\fP {\fBgoto-menu\fP} |
| 1029 |
Skip the rest of the current article, and return to menu mode. |
| 1030 |
.TP |
| 1031 |
\&\fBn\fP {\fBnext-article\fP} |
| 1032 |
Skip the rest of the current article, and \fIpreview the next article\fP. |
| 1033 |
.TP |
| 1034 |
\&\fBl\fP {\fBleave-article\fP} |
| 1035 |
Mark the article as \fIselected\fP (!) on the menu for handling later |
| 1036 |
on. Then skip the rest of the current article, and preview the next |
| 1037 |
article. |
| 1038 |
.TP |
| 1039 |
\&\fB%\fP\fIy\fP {\fBpreview\fP} |
| 1040 |
Preview article |
| 1041 |
.I y . |
| 1042 |
.LP |
| 1043 |
If the variable \fBauto-preview-mode\fP is set, just hitting the |
| 1044 |
article id in menu mode will enter preview mode on the specified |
| 1045 |
article. |
| 1046 |
.LP |
| 1047 |
\fBRelated variables\fP: |
| 1048 |
auto-preview-mode, min-window, preview-continuation, |
| 1049 |
preview-mark-read, window. |
| 1050 |
.SH SAVING ARTICLES |
| 1051 |
The following commands are used to save articles in files, unpack |
| 1052 |
archives, decode binaries, etc. It is possible to use the commands in |
| 1053 |
both reading mode to save the current article and in selection mode to |
| 1054 |
save one or more articles on the menu. |
| 1055 |
.LP |
| 1056 |
The saved articles will be \fIappended\fP to the specified file(s) |
| 1057 |
followed by an empty line each. Both files and directories will be |
| 1058 |
created as needed. When an article has been saved in a file, a |
| 1059 |
message reporting the number of lines saved will be shown if the |
| 1060 |
\fBsave-report\fP variable is set (default on). |
| 1061 |
.TP |
| 1062 |
\&\fBS\fP {\fBsave-full\fP} |
| 1063 |
Save articles including the full article header. |
| 1064 |
.TP |
| 1065 |
\&\fBO\fP {\fBsave-short\fP} |
| 1066 |
Save articles with a short header |
| 1067 |
containing only the name of the sender, the subject, and the posting |
| 1068 |
date of the article. |
| 1069 |
.TP |
| 1070 |
\&\fBE\fP {\fBsave-header\fP} |
| 1071 |
Save only the header of the articles. |
| 1072 |
.TP |
| 1073 |
\&\fBW\fP {\fBsave-body\fP} |
| 1074 |
Write article |
| 1075 |
.I without |
| 1076 |
a header. |
| 1077 |
.TP |
| 1078 |
\&\fB:print\fP {\fBprint\fP} |
| 1079 |
Print article. Instead of a file name, |
| 1080 |
this command will prompt for the print command to which the current |
| 1081 |
article will be piped. The default print command is specified at |
| 1082 |
compile time, but it can be changed by setting the |
| 1083 |
.B printer |
| 1084 |
variable. The output will be identical to that of the |
| 1085 |
.B O |
| 1086 |
command. |
| 1087 |
.TP |
| 1088 |
\&\fB:patch\fP {\fBpatch\fP} |
| 1089 |
Send articles through \fBpatch\fP(1) (or the program defined in the |
| 1090 |
\fBpatch-command\fP variable). Instead of a file name, you will be |
| 1091 |
prompted for the name of a directory in which you want the patch |
| 1092 |
command to be executed. \fInn\fP will then pipe the body of the |
| 1093 |
article through the patch command. |
| 1094 |
The output from the patch process will be shown on the screen and |
| 1095 |
also appended to a file named \fIPatch.Result\fP in the patch directory. |
| 1096 |
.TP |
| 1097 |
\&\fB:unshar\fP {\fBunshar\fP} |
| 1098 |
Unshar articles. You will be prompted for the name of a directory in |
| 1099 |
which you want \fInn\fP to unshar the articles. \fInn\fP will then |
| 1100 |
pipe the proper parts of the article body into a Bourne Shell whose |
| 1101 |
working directory will be set to the specified directory. |
| 1102 |
During the unpacking, the normal output from the unshar process will |
| 1103 |
appear on the screen, and the menu or article text will be redrawn when |
| 1104 |
the process is finished. |
| 1105 |
The output is also appended to a file named \fIUnshar.Result\fP in |
| 1106 |
the unshar directory. |
| 1107 |
The file specified in \fBunshar-header-file\fP (default |
| 1108 |
"Unshar.Headers") in the unshar directory will |
| 1109 |
contain the header and initial text (before the shar data) from the |
| 1110 |
article. You can use the `G' {\fBgoto-group\fP} command to look at |
| 1111 |
the Unshar.Headers file. |
| 1112 |
.TP |
| 1113 |
\&\fB:decode\fP {\fBdecode\fP} |
| 1114 |
Decode \fIuuencoded\fP articles into binary files. You will be |
| 1115 |
prompted for the name of a directory in which you want \fInn\fP to |
| 1116 |
place the decoded binary files (the file names are taken from the |
| 1117 |
uuencoded data). |
| 1118 |
\fInn\fP will combine several articles into single files as needed, |
| 1119 |
and you can even decode unrelated packages (into the same directory) |
| 1120 |
with one \fBdecode\fP command. |
| 1121 |
To be able to decode a binary file which spans several articles, |
| 1122 |
\fInn\fP may have to \fIignore\fP lines which fail the normal sanity checks |
| 1123 |
on uuencoded data instead of treating them as \fItransmission errors\fP. |
| 1124 |
Consequently, it is strongly recommended to check the resulting |
| 1125 |
decoded file using the checksum which is normally contained in the |
| 1126 |
original article. (Actually, you are also supposed to do this after |
| 1127 |
decoding with a stand-alone uudecode program). |
| 1128 |
The header and initial information in the decoded articles are saved |
| 1129 |
in the file specified in \fBdecode-header-file\fP (default |
| 1130 |
"Decode.Headers") in the same directory as the decoded files. |
| 1131 |
If \fBdecode-skip-prefix\fP is non-null, \fB:decode\fP will attempt |
| 1132 |
to ignore up to that many characters on each line to find the encoded data. |
| 1133 |
This is particularly useful in some binaries groups where files are |
| 1134 |
both uuencoded and packed with shar; \fInn\fP will ignore the prefix |
| 1135 |
added to each line by shar, and thus be able to unshar, concatenate, |
| 1136 |
and decode multi-part postings automatically. |
| 1137 |
.LP |
| 1138 |
In reading mode, the following keys can also be used to invoke the |
| 1139 |
save commands: |
| 1140 |
.TP |
| 1141 |
.B s |
| 1142 |
Same as |
| 1143 |
.BR S . |
| 1144 |
.TP |
| 1145 |
.B o |
| 1146 |
Same as |
| 1147 |
.BR O . |
| 1148 |
.TP |
| 1149 |
.B w |
| 1150 |
Same as |
| 1151 |
.BR W . |
| 1152 |
.TP |
| 1153 |
.B P |
| 1154 |
Same as |
| 1155 |
.BR :print . |
| 1156 |
.LP |
| 1157 |
The save commands will prompt for a file name which is expanded |
| 1158 |
according to the rules described in the section on file name expansion |
| 1159 |
below. For each group, it is possible to specify a default save file |
| 1160 |
in the init file, either in connection with the group presentation |
| 1161 |
sequence or in a separate \fBsave-files\fP section (see below). |
| 1162 |
If a default save file is specified for the group, \fInn\fP will show |
| 1163 |
this on the prompt line when it prompts for the file name. You can |
| 1164 |
edit this name as usual, but if you kill the entire name immediately, |
| 1165 |
\fInn\fP will replace the default name with the last file name you |
| 1166 |
entered. If you kill this as well, \fInn\fP will leave you with a |
| 1167 |
blank line. |
| 1168 |
.LP |
| 1169 |
If the |
| 1170 |
.B quick-save |
| 1171 |
variable is set, \fInn\fP will only prompt for a save file name when |
| 1172 |
the current article is inside a folder; otherwise, the default save |
| 1173 |
file defined in the init file will be used unconditionally. |
| 1174 |
.LP |
| 1175 |
If the file (and directories in the path) does not exist, |
| 1176 |
\fInn\fP |
| 1177 |
will ask whether the file (and the directories) should be created. |
| 1178 |
.LP |
| 1179 |
If the file name contains an asterisk, e.g. |
| 1180 |
.nf |
| 1181 |
part*.shar |
| 1182 |
.fi |
| 1183 |
\fInn\fP will save each of the articles in uniquely named files |
| 1184 |
constructed by replacing the asterisk by numbers from the sequence 1, |
| 1185 |
2, 3, etc. The format of the string that replaces the * can be |
| 1186 |
changed with the \fBsave-counter\fP variable, and the first number to |
| 1187 |
use can be changed via \fBsave-counter-offset\fP. |
| 1188 |
.PP |
| 1189 |
In \fIselection\fP mode, \fInn\fP will prompt you for the identifier |
| 1190 |
of one or more articles you want to save. When you don't want to save |
| 1191 |
more articles, just hit \fBspace\fP. The saved articles will be |
| 1192 |
marked \fIread\fP. |
| 1193 |
.LP |
| 1194 |
If you enter an asterisk `*' when you are prompted for an article to |
| 1195 |
save, \fInn\fP will automatically save all the \fIselected\fP articles |
| 1196 |
on the \fIcurrent\fP menu page and mark them \fIread\fP. |
| 1197 |
.LP |
| 1198 |
Likewise, if you enter a plus `+', \fInn\fP will save all the selected |
| 1199 |
articles on \fIall\fP menu pages and mark them \fIread\fP. |
| 1200 |
.LP |
| 1201 |
This is very useful to unpack an entire package using the |
| 1202 |
\fB:unshar\fP and \fB:decode\fP commands. It can also be used in |
| 1203 |
combination with the \fIsave selected articles\fP feature to save a |
| 1204 |
selection of articles in separate, successively numbered files. But do |
| 1205 |
not confuse these two concepts! The |
| 1206 |
.B S* |
| 1207 |
and |
| 1208 |
.B S+ |
| 1209 |
commands can be used to save the selected articles in a single file as |
| 1210 |
well as in separate files, and the \fIsave in separate files\fP |
| 1211 |
feature can be used also when saving individual articles, either in |
| 1212 |
the selection mode, or in the article reading mode. |
| 1213 |
.LP |
| 1214 |
When articles are saved in a file with a full or partial header, any |
| 1215 |
header lines in the |
| 1216 |
.I body |
| 1217 |
of the article will be escaped by a tilde (e.g. ~From: ...) to enable |
| 1218 |
\fInn\fP to split the folder into separate articles. |
| 1219 |
The escape string can be redefined via the |
| 1220 |
\fBembedded-header-escape\fP variable. |
| 1221 |
.LP |
| 1222 |
Articles can optionally be saved in MAIL or MMDF compatible format by |
| 1223 |
setting the \fBmail-format\fP and \fBmmdf-format\fP variables. |
| 1224 |
These variables only specify the format used when creating a new folder, |
| 1225 |
while appending to an existing folder will be done in the format of the |
| 1226 |
folder (unless \fBfolder-format-check\fP is false). |
| 1227 |
.LP |
| 1228 |
\fBRelated variables\fP: |
| 1229 |
confirm-append, confirm-create, decode-header-file, |
| 1230 |
decode-skip-prefix, default-save-file, folder-save-file, |
| 1231 |
edit-patch-command, edit-print-command, edit-unshar-command, folder, |
| 1232 |
folder-format-check, |
| 1233 |
mail-format, mmdf-format, patch-command, printer, quick-save, |
| 1234 |
save-counter, save-counter-offset, save-report, |
| 1235 |
suggest-default-save, unshar-command, unshar-header-file. |
| 1236 |
.SH FOLDER MAINTENANCE |
| 1237 |
When more than one article is saved in a folder, \fInn\fP is able to |
| 1238 |
split the folder, and each article in the folder can be treated like |
| 1239 |
a separate article. |
| 1240 |
.LP |
| 1241 |
This means that you can save, decode, reply, follow-up, etc. just as |
| 1242 |
with the original article. |
| 1243 |
.LP |
| 1244 |
You can also \fIcancel\fP (delete) individual articles in a folder |
| 1245 |
using the normal \fBC\fP {\fBcancel\fP} command described later. |
| 1246 |
When you quit from the folder, you will then be given the option to |
| 1247 |
remove the cancelled articles from the folder. |
| 1248 |
.LP |
| 1249 |
The original folder is saved in a file named `BackupFolder~' in the |
| 1250 |
\&.nn directory (see the \fBbackup-folder-path\fP variable) by |
| 1251 |
renaming or copying the old folder as appropriate. |
| 1252 |
When the folder |
| 1253 |
has been compressed, the backup folder will be removed unless the |
| 1254 |
variable \fBkeep-backup-folder\fP is set. |
| 1255 |
.LP |
| 1256 |
If all articles in a folder are cancelled, the folder will be removed |
| 1257 |
or truncated to zero length (whatever is allowed by directory and file |
| 1258 |
permissions). |
| 1259 |
In this case no backup folder is retained even when |
| 1260 |
\fBkeep-backup-folder\fP is set! |
| 1261 |
.LP |
| 1262 |
If the variable \fBtrace-folder-packing\fP is set, \fInn\fP will show |
| 1263 |
which articles are kept and which are removed as the folder is |
| 1264 |
rewritten. |
| 1265 |
.LP |
| 1266 |
Folders are rewritten in the format of the original folder, i.e. the |
| 1267 |
\fBmail-format\fP and \fBmmdf-format\fP variables are ignored. |
| 1268 |
.LP |
| 1269 |
\fBRelated variables\fP: |
| 1270 |
backup-folder-path, |
| 1271 |
keep-backup-folder, |
| 1272 |
trace-folder-packing. |
| 1273 |
.\" ENDPART A |
| 1274 |
.\" BEGINPART B |
| 1275 |
.SH FILE NAME EXPANSION |
| 1276 |
When the save commands prompts for a file name, the following file |
| 1277 |
name expansions are performed on the file name you enter: |
| 1278 |
.TP |
| 1279 |
\fB+\fP\fIfolder\fP |
| 1280 |
The |
| 1281 |
.B + |
| 1282 |
is replaced by the contents of the |
| 1283 |
.B folder |
| 1284 |
variable (default value "~/News/") resulting in the name of a file in the |
| 1285 |
.I folder |
| 1286 |
.IR directory . |
| 1287 |
Examples: |
| 1288 |
.nf |
| 1289 |
+emacs, +nn, +sources/shar/nn |
| 1290 |
.fi |
| 1291 |
.TP |
| 1292 |
\fB+\fP |
| 1293 |
A single plus is replaced by the expansion of the file name contained in the |
| 1294 |
.B default-save-file |
| 1295 |
variable (or by \fBfolder-save-file\fP when saving from a folder). |
| 1296 |
.TP |
| 1297 |
\fB~/\fP\fIfile\fP |
| 1298 |
The |
| 1299 |
.B ~ |
| 1300 |
is replaced by the contents of the environment variable HOME, i.e. the |
| 1301 |
path name of your home directory. |
| 1302 |
Examples: |
| 1303 |
.nf |
| 1304 |
~/News/emacs, ~/News/nn, ~/src/shar/nn |
| 1305 |
.fi |
| 1306 |
.TP |
| 1307 |
\fB~\fP\fIuser\fP\fB/\fP\fIfile\fP |
| 1308 |
The \fB~\fP\fIuser\fP part is replaced by the \fIuser\fP's home |
| 1309 |
directory as defined in the /etc/passwd file. |
| 1310 |
.TP |
| 1311 |
\fB|\fP\fIcommand-line\fP |
| 1312 |
Instead of writing to a file, the articles are piped to the given |
| 1313 |
shell (/bin/sh) command-line. Each save or write command will create a |
| 1314 |
separate pipe, but all articles saved or written in one command (in |
| 1315 |
selection mode) are given |
| 1316 |
as input to the same shell command. Example: |
| 1317 |
.nf |
| 1318 |
| pr | lp |
| 1319 |
.fi |
| 1320 |
This will print the articles on the printer after they have been piped |
| 1321 |
through pr. |
| 1322 |
It is possible to create separate pipes for each saved article by |
| 1323 |
using a double pipe symbol in the beginning of the command, e.g. |
| 1324 |
.nf |
| 1325 |
|| cd ~/src/nn ; patch |
| 1326 |
.fi |
| 1327 |
.LP |
| 1328 |
The following symbols are expanded in a file name or command: |
| 1329 |
.TP |
| 1330 |
.B $F |
| 1331 |
will be expanded to the name of the current group with the periods |
| 1332 |
replaced by slashes, e.g. rec/music/synth. |
| 1333 |
.TP |
| 1334 |
.B $G |
| 1335 |
will be expanded to the name of the current group. |
| 1336 |
.TP |
| 1337 |
.B $L |
| 1338 |
will be expanded to the \fIlast component\fP of the name of the |
| 1339 |
current group. You may use this to create default save file names |
| 1340 |
like +src/$L in the comp.sources groups. |
| 1341 |
.TP |
| 1342 |
.B $N |
| 1343 |
will be expanded to the (local) article number, e.g. 1099. In |
| 1344 |
selection mode it is only allowed at the end of the file name! |
| 1345 |
.TP |
| 1346 |
.B $(VAR) |
| 1347 |
is replaced by the string value of the environment variable \fIVAR\fP. |
| 1348 |
.LP |
| 1349 |
Using these symbols, a simple naming scheme for `default folder name' is |
| 1350 |
.B +$G |
| 1351 |
which will use the group name as folder name. Another possibility is |
| 1352 |
.BR +$F/$N . |
| 1353 |
.LP |
| 1354 |
As mentioned above, you can also instruct \fInn\fP to save a series of |
| 1355 |
files in separate, unique files. All that is required is that the |
| 1356 |
file name contains an asterisk, e.g. |
| 1357 |
.nf |
| 1358 |
+src/hype/part*.shar |
| 1359 |
.fi |
| 1360 |
This will cause each of the articles to be saved in separate, unique |
| 1361 |
files named part1.shar, part2.shar, and so on, always choosing a part |
| 1362 |
number that results in a unique file name (i.e. if part1.shar did |
| 1363 |
already exist, the first article would be saved in part2.shar, the |
| 1364 |
next in part3.shar, and so on). |
| 1365 |
.LP |
| 1366 |
\fBRelated variables\fP: |
| 1367 |
default-save-file, folder, folder-save-file, save-counter, save-counter-offset. |
| 1368 |
.SH FILE AND GROUP NAME COMPLETION |
| 1369 |
When entering a file name or a news group name, a simple |
| 1370 |
.B completion |
| 1371 |
feature is available using the \fBspace\fP, \fBtab\fP, and \fB?\fP keys. |
| 1372 |
.LP |
| 1373 |
Hitting \fBspace\fP anywhere during input will complete the |
| 1374 |
.I current |
| 1375 |
.I component |
| 1376 |
of the file name or group name with the |
| 1377 |
.I first |
| 1378 |
available possibility. |
| 1379 |
.LP |
| 1380 |
If this possibility is not the one you want, keep on hitting |
| 1381 |
.B space |
| 1382 |
until it appears. |
| 1383 |
.LP |
| 1384 |
When the right completion has appeared, you can just continue typing |
| 1385 |
the file or group name, or you can hit |
| 1386 |
.B tab |
| 1387 |
to fix the current component, and get the |
| 1388 |
.I first |
| 1389 |
possibility for the next component, and then use |
| 1390 |
.B space |
| 1391 |
to go through the other possible completions. |
| 1392 |
.LP |
| 1393 |
The |
| 1394 |
.B ? |
| 1395 |
key will produce a list of the possible |
| 1396 |
.I completions |
| 1397 |
of the current component. If the list is too long for the available |
| 1398 |
space on screen, the key can be repeated to get the next part of the |
| 1399 |
list. |
| 1400 |
.LP |
| 1401 |
The current completion can be deleted with the |
| 1402 |
.B erase |
| 1403 |
key. |
| 1404 |
.LP |
| 1405 |
The default value for a file name is the last file name you have |
| 1406 |
entered, so if you enter a |
| 1407 |
.B space |
| 1408 |
as the first character after the prompt, the last file name will be |
| 1409 |
repeated (and you can edit it if you like). In some cases, a string |
| 1410 |
will already be written for you in the prompt line, and to get the |
| 1411 |
default value in these cases, use the \fBkill\fP key. This also means |
| 1412 |
that if you neither want the initial value, nor the default value, you |
| 1413 |
will have to hit the \fBkill\fP twice to get a clean prompt line. |
| 1414 |
.LP |
| 1415 |
\fBRelated variables\fP: |
| 1416 |
comp1-key, comp2-key, help-key, suggest-default-save. |
| 1417 |
.SH POSTING AND RESPONDING TO ARTICLES |
| 1418 |
In both selection mode and reading mode you can post new articles, |
| 1419 |
post follow-ups to articles, send replies to the author of an article, |
| 1420 |
and you can send mail to another user with the option of including an |
| 1421 |
article in the letter. In reading mode, a response is made to the |
| 1422 |
current article, while in selection mode you will be prompted for an |
| 1423 |
article to respond to. |
| 1424 |
.LP |
| 1425 |
The following commands are available (the lower-case equivalents are |
| 1426 |
also available in reading mode): |
| 1427 |
.TP |
| 1428 |
\&\fBR\fP {\fBreply\fP} |
| 1429 |
Reply through mail to the author of the article. This is the preferred |
| 1430 |
way to respond to an article unless you think your reply is of general |
| 1431 |
interest. |
| 1432 |
.TP |
| 1433 |
\&\fBF\fP {\fBfollow\fP} |
| 1434 |
Follow-up with an article in the same newsgroup (unless an alternative |
| 1435 |
group is specified in the article header). |
| 1436 |
The distribution of the follow-up is normally the same as the original |
| 1437 |
article, but this can be modified via the \fBfollow-distribution\fP |
| 1438 |
variable. |
| 1439 |
.TP |
| 1440 |
\&\fBM\fP {\fBmail\fP} |
| 1441 |
Mail a letter or |
| 1442 |
.I forward |
| 1443 |
an article to a single recipient. |
| 1444 |
In selection mode, you will be prompted for an article to include |
| 1445 |
in your letter, and in reading mode you will be asked if the current |
| 1446 |
article should be included in the letter. |
| 1447 |
You will then be prompted for the recipient of the letter (default |
| 1448 |
recipient is yourself) |
| 1449 |
and the subject of the letter (if an article is included, you may hit |
| 1450 |
.B space |
| 1451 |
to get the default subject which is the subject of the included article). |
| 1452 |
The header of the article is only included in the posted letter if |
| 1453 |
it is forwarded (i.e. not edited), or if the variable |
| 1454 |
\fBinclude-full-header\fP is set. |
| 1455 |
.TP |
| 1456 |
\&\fB:post\fP {\fBpost\fP} |
| 1457 |
Post a new article to any newsgroup. This command will prompt you for |
| 1458 |
a |
| 1459 |
.I comma-separated |
| 1460 |
list of newsgroups to post to (you cannot enter a space because |
| 1461 |
.B space |
| 1462 |
is used for group name completion as described below). |
| 1463 |
If you enter \fB?\fP {\fBhelp-key\fP} as the first key, \fInn\fP |
| 1464 |
will show you a list of all available news groups and their purpose. |
| 1465 |
While paging through this list, you can enter \fBq\fP to quit looking |
| 1466 |
at the list. You can also enter \fB/\fP followed by a regular |
| 1467 |
expression (typically a single word) which will cause \fInn\fP to show |
| 1468 |
a (much shorter) list containing only the lines matching the regular |
| 1469 |
expression. |
| 1470 |
Normally, you will be prompted for the distribution of the article |
| 1471 |
with the default take from \fBdefault-distribution\fP, but this can be |
| 1472 |
changed via the \fBpost-distribution\fP variable. |
| 1473 |
.LP |
| 1474 |
Generally, \fInn\fP will construct a file with a suitable header, optionally |
| 1475 |
include a copy of the article in the file with each non-empty line |
| 1476 |
prefixed by a `>' character (except in mail mode), and invoke an |
| 1477 |
editor of your choice (using the EDITOR environment variable) on this |
| 1478 |
file, positioning you on the first line of the body of the article (if |
| 1479 |
it knows the editor). |
| 1480 |
.PP |
| 1481 |
When you have completed editing the message, it will compare it to the |
| 1482 |
unedited file, and if they are identical (i.e. you did not make any |
| 1483 |
changes to the file), or it is empty, the operation is cancelled. |
| 1484 |
Otherwise you will be prompted for an action to take on the |
| 1485 |
constructed article (enter first letter followed by \fBreturn\fP, or |
| 1486 |
just \fBreturn\fP to take the default action): |
| 1487 |
.sp 0.5v |
| 1488 |
.nf |
| 1489 |
a)bort c)c e)dit h)old i)spell m)ail p)ost r)eedit s)end v)iew w)rite 7)bit |
| 1490 |
Action: (post article) |
| 1491 |
.fi |
| 1492 |
.sp 0.5v |
| 1493 |
You now have the opportunity to perform one of the following actions: |
| 1494 |
.LP |
| 1495 |
.in +2m |
| 1496 |
.ta 5m |
| 1497 |
.\"ta 4 9 |
| 1498 |
\fBa\fP throw the response away (will ask for confirmation), |
| 1499 |
.br |
| 1500 |
\fBc\fP mail a copy of a \fIfollow-up\fP to the poster of the article, |
| 1501 |
.br |
| 1502 |
\fBe\fP edit the file again, |
| 1503 |
.br |
| 1504 |
\fBh\fP hold response for later completion, |
| 1505 |
.br |
| 1506 |
\fBi\fP run an (interactive) \fBspell-checker\fP on the text, |
| 1507 |
.br |
| 1508 |
\fBm\fP mail a (blind) copy to a specified recipient, |
| 1509 |
.br |
| 1510 |
\fBn\fP same as \fBa\fPbort (\fIno\fP don't post), |
| 1511 |
.br |
| 1512 |
\fBp\fP post article (same as \fBs\fPend), |
| 1513 |
.br |
| 1514 |
\fBr\fP throw away the edited text and edit the original text, |
| 1515 |
.br |
| 1516 |
\fBs\fP send the article or letter, |
| 1517 |
.br |
| 1518 |
\fBv\fP view the article (through the \fBpager\fP), |
| 1519 |
.br |
| 1520 |
\fBw\fP append it to a file (before you send it), |
| 1521 |
.br |
| 1522 |
\fBy\fP confirm \fIdefault answer\fP (e.g. \fIyes\fP post it), or |
| 1523 |
.br |
| 1524 |
\fB7\fP strip the high-order bit from all characters in the message |
| 1525 |
.in -2m |
| 1526 |
.DT |
| 1527 |
.LP |
| 1528 |
If you have selected a 7-bit character set (this is determined by the |
| 1529 |
values of the \fBcharset\fP and \fBdata-bits\fP variables), \fInn\fP |
| 1530 |
will not allow you to post an article or send a letter whose body |
| 1531 |
contains characters with the high-order bit set. It will warn you after |
| 1532 |
you have first edited the message and disable the c)c, m)ail, |
| 1533 |
p)ost, s)end and y)es actions. You can then either e)dit the message |
| 1534 |
to delete those characters, use 7)bit to strip the high-order bits, |
| 1535 |
a)bort the message, or h)old it and select an 8-bit character set from |
| 1536 |
\fInn\fP. |
| 1537 |
.LP |
| 1538 |
To complete an unfinished response saved by the h)old command, simply |
| 1539 |
enter any response action, e.g. \fBR\fP {\fBreply\fP}. This will |
| 1540 |
notice the unfinished response and ask you whether you want to |
| 1541 |
complete it now. Only one unfinished response can exist at a time. |
| 1542 |
Notice that the $A environment variable may no longer be valid as a |
| 1543 |
path to the original article when the response is completed. |
| 1544 |
.LP |
| 1545 |
If your message contains 8-bit characters, the \fBcharset\fP variable |
| 1546 |
is not set to "unknown" and the message does not already have a |
| 1547 |
\fBMIME-Version\fP or \fBContent-\fP\fIXXX\fP header, \fInn\fP will add |
| 1548 |
the following headers to your message before sending it: |
| 1549 |
.sp 0.5v |
| 1550 |
.nf |
| 1551 |
MIME-Version: 1.0 |
| 1552 |
Content-Type: text/plain; charset=\fIcharset\fP |
| 1553 |
Content-Transfer-Encoding: 8bit |
| 1554 |
.fi |
| 1555 |
.sp 0.5v |
| 1556 |
It must be noted that sending 8-bit characters over the current news |
| 1557 |
and mail networks is risky at best; although large parts of the network |
| 1558 |
will pass through such characters unchanged, high-order bits may occasionally |
| 1559 |
be stripped. Although the MIME standard provides solutions for this by |
| 1560 |
encoding the characters, this is not yet supported by \fInn\fP. |
| 1561 |
Adding the above headers is an interim solution that is compatible with |
| 1562 |
current practice and is much better than just sending the message without |
| 1563 |
any hints about the character set used. |
| 1564 |
.LP |
| 1565 |
\fBRelated variables\fP: |
| 1566 |
append-signature-mail, append-signature-post, charset, data-bits, |
| 1567 |
default-distribution, follow-distribution, post-distribution, |
| 1568 |
edit-response-check, editor, include-art-id, include-full-header, |
| 1569 |
included-mark, mail-header, mail-record, mail-script, mailer, |
| 1570 |
mailer-pipe-input, news-header, news-record, news-script, |
| 1571 |
orig-to-include-mask, pager, query-signature, |
| 1572 |
record, response-check-pause, response-default-answer, |
| 1573 |
save-counter, save-counter-offset, save-report, spell-checker. |
| 1574 |
.SH JUMPING TO OTHER GROUPS |
| 1575 |
By default \fInn\fP will present the news groups in a predefined |
| 1576 |
sequence (see the section on Presentation Sequence later on). |
| 1577 |
To override this sequence and have a look at any other group the |
| 1578 |
.B G |
| 1579 |
{\fBgoto-group\fP} command available in both selection and reading |
| 1580 |
mode enables you to move freely between all the newsgroups. |
| 1581 |
.LP |
| 1582 |
Furthermore, the |
| 1583 |
.B G |
| 1584 |
command enables you to open folders and other files, to read old |
| 1585 |
articles you have read before, and to grep for a specific subject in a |
| 1586 |
group. |
| 1587 |
.PP |
| 1588 |
It is important to notice that normally the goto command is recursive, |
| 1589 |
i.e. a new \fImenu level\fP is created when the specified group or |
| 1590 |
folder is presented, and when it has been read, \fInn\fP will continue |
| 1591 |
the activity in the group that was presented before the goto command |
| 1592 |
was executed. However, if there are unread articles in the target |
| 1593 |
group you can avoid entering a new menu level by using the |
| 1594 |
.B j |
| 1595 |
reply described below. The current menu level (i.e. number of nested |
| 1596 |
goto commands) will be shown in the prompt line as "<N>" (in reverse |
| 1597 |
video). |
| 1598 |
.PP |
| 1599 |
The goto command is very powerful, but unfortunately also a little bit |
| 1600 |
tricky at first sight, because the facilities it provides depend on |
| 1601 |
the context in which the command is used. |
| 1602 |
.PP |
| 1603 |
When executed, the goto command will prompt you for the name of the |
| 1604 |
newsgroup, folder, or file to open. It will use the first letter |
| 1605 |
you enter to distinguish these three possibilities: |
| 1606 |
.TP |
| 1607 |
.B return |
| 1608 |
An empty answer is equivalent to the current newsgroup. |
| 1609 |
.TP |
| 1610 |
\fIletter\fP |
| 1611 |
The answer is taken to be the name of a newsgroup. |
| 1612 |
If a news group with the given name does not exist, \fInn\fP will |
| 1613 |
treat the answer as a regular expression and locate the first group |
| 1614 |
in the presentation sequence (or among all groups) whose name matches |
| 1615 |
the expression. |
| 1616 |
.TP |
| 1617 |
.I + |
| 1618 |
.br |
| 1619 |
The answer is taken to be the name of a folder. If only `+' is |
| 1620 |
entered, it is equivalent to the default save file for the current |
| 1621 |
group. |
| 1622 |
.TP |
| 1623 |
\fI\&/ or ./ or ~/\fP |
| 1624 |
The answer is taken to be the name of a file, either relative to the |
| 1625 |
current directory, relative to your home directory, or an absolute |
| 1626 |
path name for the file. |
| 1627 |
.TP |
| 1628 |
.B % |
| 1629 |
In reading mode, this reply corresponds to reading the current article |
| 1630 |
(and splitting it as a digest). In selection mode, it will prompt for |
| 1631 |
an article on the menu to read. |
| 1632 |
.TP |
| 1633 |
.B @ |
| 1634 |
This choice is equivalent to the archive file for the current group. |
| 1635 |
\fInnmaster\fP maintains archive files with all old and current |
| 1636 |
articles for the groups which have the auto-archive option set in the |
| 1637 |
GROUPS file (see \fInnmaster\fP(8)). |
| 1638 |
.TP |
| 1639 |
\fB=\fP and \fInumber\fP |
| 1640 |
These answers are equivalent to the same answers described below |
| 1641 |
applied to the current group (e.g. \fBG return =\fP and \fBG =\fP are |
| 1642 |
equivalent). |
| 1643 |
.LP |
| 1644 |
Specifying a folder, a file, or an article (with \fB%\fP) will cause |
| 1645 |
\fInn\fP to treat the file like a digest and split it into separate |
| 1646 |
articles (not physically!) which are then presented on a menu in the |
| 1647 |
usual way, allowing you to read or save individual subarticles from |
| 1648 |
the folder. |
| 1649 |
.LP |
| 1650 |
When you enter a group name, \fInn\fP will ask you how many articles |
| 1651 |
in the group you want to see on the menu. You can give the following |
| 1652 |
answers: |
| 1653 |
.TP |
| 1654 |
.I a number N |
| 1655 |
In this case you will get the newest N articles in the group, or if |
| 1656 |
you specified the current group (by hitting \fBreturn\fP to the group |
| 1657 |
name prompt or entering the number directly), you will get that many |
| 1658 |
\fIextra\fP articles included on the same menu (without creating a new |
| 1659 |
menu level). |
| 1660 |
.TP |
| 1661 |
.B j |
| 1662 |
This answer can only be given if there are unread articles in the |
| 1663 |
group. It will instruct nn to jump directly to the specified group in |
| 1664 |
the presentation sequence \fIwithout\fP creating a new menu level. |
| 1665 |
.TP |
| 1666 |
.B u |
| 1667 |
This instructs \fInn\fP to present the \fIunread\fP articles in the |
| 1668 |
group (if there are any). If you have already read the group (in the |
| 1669 |
current invocation of \fInn\fP), the \fBu\fP answer will instruct |
| 1670 |
\fInn\fP to present the articles that were unread when you entered |
| 1671 |
\fInn\fP. |
| 1672 |
.TP |
| 1673 |
.B a |
| 1674 |
This instruct \fInn\fP to present \fBall\fP articles in the group. |
| 1675 |
.TP |
| 1676 |
\fBs\fP\fIword\fP or \fB=\fP\fIword\fP |
| 1677 |
This instructs \fInn\fP to search \fIall\fP articles in the groups, |
| 1678 |
but only present the articles containing the word \fIword\fP in the |
| 1679 |
subject. Notice that case is ignored when searching for the word in |
| 1680 |
the subject lines. |
| 1681 |
.TP |
| 1682 |
\fBn\fP\fIword\fP |
| 1683 |
Same as the \fBs\fP form except that it searched for articles where |
| 1684 |
the sender \fIname\fP matches \fIword\fP. |
| 1685 |
.TP |
| 1686 |
\fBe\fP\fIword\fP |
| 1687 |
Same as the \fBs\fP form except that it Psearched for articles where |
| 1688 |
\fIeither\fP the subject or the sender name matches \fIword\fP. |
| 1689 |
.TP |
| 1690 |
\fIword\fP = \fB/\fP\fIregexp\fP |
| 1691 |
When the first character of the \fIword\fP specified with the \fBs\fP, |
| 1692 |
\fBn\fP, and \fBe\fP forms is a slash `/', the rest of the input is |
| 1693 |
interpreted as a regular expression to search for. Notice that |
| 1694 |
regular expression matching is case insensitive when |
| 1695 |
\fBcase-fold-search\fP is set (default). |
| 1696 |
.TP |
| 1697 |
.B return |
| 1698 |
The meaning of an empty answer depends on the context: if there are |
| 1699 |
unread articles in the specified group the unread articles will be |
| 1700 |
presented, otherwise \fIall\fP articles in the group will be included |
| 1701 |
in the menu. |
| 1702 |
.LP |
| 1703 |
If you specified the current group, and the menu already contains all |
| 1704 |
the available articles, \fInn\fP will directly prompt for a word to |
| 1705 |
search for in the subject of all articles (the prompt will be an equal |
| 1706 |
sign.) |
| 1707 |
.LP |
| 1708 |
When the goto command creates a new menu level, \fInn\fP will not |
| 1709 |
perform auto kill or selection in the group. You can use the \fB+\fP |
| 1710 |
command in menu mode to perform the auto-selections. |
| 1711 |
.LP |
| 1712 |
There are three commands in the goto family: |
| 1713 |
.TP |
| 1714 |
\&\fBG\fP {\fBgoto-group\fP} |
| 1715 |
This is the general goto command described above. |
| 1716 |
.TP |
| 1717 |
\&\fBB\fP {\fBback-group\fP} |
| 1718 |
Backup one or more groups. You can hit this key one or more times to |
| 1719 |
go back in the groups already presented (including those without new |
| 1720 |
articles); when you have found the group you are looking for, hit |
| 1721 |
\fBspace\fP to enter it. |
| 1722 |
.TP |
| 1723 |
\&\fBA\fP {\fBadvance-group\fP} |
| 1724 |
Advance one or more groups. This command is similar to the \fBB\fP |
| 1725 |
command, but operates in the opposite direction. |
| 1726 |
.TP |
| 1727 |
\&\fBN\fP {\fBnext-group\fP} |
| 1728 |
When used within an \fBA\fP or \fBB\fP command, it skips forward to |
| 1729 |
the next group in the sequence with unread articles or which has |
| 1730 |
previously been visited. |
| 1731 |
.TP |
| 1732 |
\&\fBP\fP {\fBprevious\fP} |
| 1733 |
When used within an \fBA\fP or \fBB\fP command, it skips backwards to |
| 1734 |
the preceding group in the sequence with unread articles or which has |
| 1735 |
previously been visited. |
| 1736 |
.LP |
| 1737 |
Once you have entered an \fBA\fP or \fBB\fPcommand, you can freely mix |
| 1738 |
the \fBA\fP, \fBB\fP, \fBP\fP, and \fBN\fP commands to find the group |
| 1739 |
you want, and you can also use the \fBG\fP command to be prompted for |
| 1740 |
a group name. |
| 1741 |
.LP |
| 1742 |
To show the use of the goto command some typical examples on |
| 1743 |
its use are given below: |
| 1744 |
.sp |
| 1745 |
.nf |
| 1746 |
.I "Present the unread articles in the dk.general group" |
| 1747 |
.sp 0.5v |
| 1748 |
\fBG\fP dk.general \fBreturn\fP \fBu\fP |
| 1749 |
.sp |
| 1750 |
.I "Jump directly to the gnu.emacs group and continue from there" |
| 1751 |
.sp 0.5v |
| 1752 |
\fBG\fP gnu.emacs \fBreturn\fP \fBj\fP |
| 1753 |
.sp |
| 1754 |
.I "Include the last 10 READ articles in the current group menu" |
| 1755 |
.sp 0.5v |
| 1756 |
\fBG\fP 10 \fBreturn\fP |
| 1757 |
.sp |
| 1758 |
.I "Find all articles in rec.music.misc on the subject Floyd" |
| 1759 |
.sp 0.5v |
| 1760 |
\fBG\fP rec.music.misc \fBreturn\fP |
| 1761 |
\fB=\fP floyd \fBreturn\fP |
| 1762 |
.sp 0.5v |
| 1763 |
.sp |
| 1764 |
.I "Open the folder +nn" |
| 1765 |
.sp 0.5v |
| 1766 |
\fBG\fP +nn \fBreturn\fP |
| 1767 |
.sp |
| 1768 |
.I "Split current article as a digest (in reading mode)" |
| 1769 |
.sp 0.5v |
| 1770 |
\fBG\fP \fB%\fP |
| 1771 |
|
| 1772 |
.fi |
| 1773 |
.LP |
| 1774 |
\fBRelated variables\fP: |
| 1775 |
case-fold-search, default-save-file, folder-save-file |
| 1776 |
.SH AUTOMATIC KILL AND SELECTION |
| 1777 |
When there is a subject or an author which you are either very |
| 1778 |
interested in, or find completely uninteresting, you can easily |
| 1779 |
instruct \fInn\fP to \fIauto-select\fP or \fIauto-kill\fP articles |
| 1780 |
with specific subjects or from specific authors. These instructions |
| 1781 |
are stored in a \fIkill file\fP, and the most common types of entries |
| 1782 |
can be created using the following command: |
| 1783 |
.TP |
| 1784 |
\&\fBK\fP {\fBkill-select\fP} |
| 1785 |
Create an entry in your personal kill file. The contents of the entry |
| 1786 |
is specified during a short dialog that is described in details below. |
| 1787 |
This command is available in both selection and reading mode. |
| 1788 |
.LP |
| 1789 |
Entries in the kill file may apply to a single newsgroup or to all |
| 1790 |
newsgroups. Furthermore, entries may be permanent or they may be |
| 1791 |
expired a given number of days after their entry. |
| 1792 |
.LP |
| 1793 |
To increase performance, \fInn\fP uses a compiled version of the kill |
| 1794 |
file which is read in when \fInn\fP is invoked. The compiled kill |
| 1795 |
file will automatically be updated if the normal kill file has been |
| 1796 |
modified. |
| 1797 |
.LP |
| 1798 |
The following dialog is used to build the kill file entry: |
| 1799 |
.TP |
| 1800 |
\fIAUTO (k)ill or (s)elect (CR => Kill subject 30 days)\fP |
| 1801 |
If you simply want \fInn\fP to kill all articles with the subject of |
| 1802 |
the current article (in reading mode) or a specific article (which |
| 1803 |
\fInn\fP will prompt for in selection mode), just hit \fBreturn\fP. |
| 1804 |
This will cause \fInn\fP to create an entry in the kill file to kill |
| 1805 |
the current (or specified) subject in the current group for a period |
| 1806 |
of 30 days (which should be enough for the discussion to die out). |
| 1807 |
.sp 0.5v |
| 1808 |
You can control the default kill period, or change it into a "select" |
| 1809 |
period via the \fBdefault-kill-select\fP variable. |
| 1810 |
.sp 0.5v |
| 1811 |
If this "default behaviour" is not what you want, just answer either |
| 1812 |
\fIk\fP or \fIs\fP to kill or select articles, respectively, which |
| 1813 |
will bring you on to the rest of the questions. |
| 1814 |
.TP |
| 1815 |
\fIAUTO SELECT on (s)ubject or (n)ame (s)\fP |
| 1816 |
(The \fISELECT\fP will be substituted with \fIKILL\fP depending on the |
| 1817 |
previous answer). Here you specify whether you want the kill or |
| 1818 |
select to depend on the subject of the article (\fBs\fP or |
| 1819 |
\fBspace\fP), or on the name of the author (\fBn\fP). |
| 1820 |
.TP |
| 1821 |
\fISELECT NAME:\fP |
| 1822 |
(Again \fISELECT\fP may be substituted with \fIKILL\fP and |
| 1823 |
\fISUBJECT\fP may replace \fINAME\fP). You must now enter a name (or |
| 1824 |
subject) to select (or kill). In reading mode, you may just hit |
| 1825 |
\fBreturn\fP (or \fB%\fP) to use the name (or subject) of the current |
| 1826 |
article. In selection mode, you can use the name (or subject) from an |
| 1827 |
article on the menu by answering with \fB%\fP followed by the |
| 1828 |
corresponding article identifier. |
| 1829 |
.sp 0.5v |
| 1830 |
When the name or subject is taken from an article (the current or one |
| 1831 |
from the menu), \fInn\fP will only select or kill articles where the |
| 1832 |
name or subject matches the original name or subject exactly including |
| 1833 |
case. |
| 1834 |
.sp 0.5v |
| 1835 |
If the first character typed at the prompt is a slash `/', the rest of |
| 1836 |
the line is used as a \fIregular expression\fP which is used to match |
| 1837 |
the name or subject (case \fIin\fPsensitive). |
| 1838 |
.sp 0.5v |
| 1839 |
Otherwise, \fInn\fP will select or kill articles which \fIcontain\fP |
| 1840 |
the specified string anywhere in the name or subject (ignoring case). |
| 1841 |
.TP |
| 1842 |
\fISELECT in (g)roup `dk.general' or in (a)ll groups (g)\fP |
| 1843 |
You must now specify whether the selection or kill should apply to the |
| 1844 |
current group only (\fBg\fP or \fBspace\fP) or to all groups (\fBa\fP). |
| 1845 |
.TP |
| 1846 |
\fILifetime of entry in days (p)ermanent (30)\fP |
| 1847 |
You can now specify the lifetime of the entry, either by entering a |
| 1848 |
number specifying the number of days the entry should be active, or |
| 1849 |
\fBp\fP to specify the entry as a permanent entry. An empty reply is |
| 1850 |
equivalent to 30 days. |
| 1851 |
.TP |
| 1852 |
\fICONFIRM SELECT ....\fP |
| 1853 |
Finally, you will be asked to confirm the entry, and you should |
| 1854 |
especially note the presence or absence of the word \fBexact\fP which |
| 1855 |
specify whether an exact match applies for the entry. |
| 1856 |
.LP |
| 1857 |
\fBRelated variables\fP: |
| 1858 |
default-kill-select, kill. |
| 1859 |
.SH THE FORMAT OF THE KILL FILE |
| 1860 |
The kill file consists of one line for each entry. Empty lines and |
| 1861 |
lines starting with a # character are ignored. \fInn\fP automatically |
| 1862 |
places a # character in the first position of expired entries when it |
| 1863 |
compiles the kill file. You can then edit the kill file manually from |
| 1864 |
time to time to clean out these entries. |
| 1865 |
.LP |
| 1866 |
Each line has the following format |
| 1867 |
.nf |
| 1868 |
[\fIexpire time\fP :] [\fIgroup name\fP] : \fIflags\fP : \fIstring\fP [: \fIstring\fP]... |
| 1869 |
.fi |
| 1870 |
.LP |
| 1871 |
Permanent entries have no \fIexpire time\fP (in which case the colon |
| 1872 |
is omitted as well!). Otherwise, the \fIexpire time\fP defines the |
| 1873 |
time (as a time_t value) when the entry should be expired. |
| 1874 |
.LP |
| 1875 |
The \fIgroup name\fP field can have three forms: |
| 1876 |
.TP |
| 1877 |
\fInews.group.name\fP |
| 1878 |
If it is the name of a single news group (e.g. comp.unix), |
| 1879 |
the entry applies to that group only. |
| 1880 |
.TP |
| 1881 |
\fB/\fP\fIregular expression\fP |
| 1882 |
If it starts with a slash `/' followed by a \fIregular expression\fP |
| 1883 |
(e.g. /^news\e..*), the entry applies to all groups whose name are |
| 1884 |
matched by the regular expression. |
| 1885 |
.TP |
| 1886 |
\fIempty\fP |
| 1887 |
An empty group field will apply the entry to \fIall\fP groups. |
| 1888 |
.LP |
| 1889 |
The \fIflags\fP field consists of a list of characters which |
| 1890 |
identifies the type of entry, and the interpretation of each |
| 1891 |
\fIstring\fP field. When used, the flag characters must be used in |
| 1892 |
the order in which they are described below: |
| 1893 |
.TP |
| 1894 |
\fB~\fP (optional) |
| 1895 |
.br |
| 1896 |
When this flag is present on any of the entries for a specific group, |
| 1897 |
it causes all entries which \fIare not auto-selected\fP to be killed. |
| 1898 |
This is a simple way to say: I'm interested in this and that, but |
| 1899 |
nothing else. |
| 1900 |
.TP |
| 1901 |
\fB+\fP or \fB!\fP (optional) |
| 1902 |
.br |
| 1903 |
Specify an auto-select \fB+\fP or an auto-kill \fB!\fP entry, |
| 1904 |
respectively. If neither are used, the article is neither selected |
| 1905 |
nor killed which is useful in combination with the `\fB~\fP' flag. |
| 1906 |
.TP |
| 1907 |
\fB>\fP (optional) |
| 1908 |
When used with a subject (flag \fBs\fP), the kill entry only matches |
| 1909 |
follow-ups to that subject (i.e. where the Subject: line starts with |
| 1910 |
Re:). For example, to kill all "Re:"'s in rec.humor use the following |
| 1911 |
kill entry: rec.humor:!>s/:. |
| 1912 |
.TP |
| 1913 |
\fB<\fP (optional) |
| 1914 |
When used with a subject (flag \fBs\fP), the kill entry only matches |
| 1915 |
base articles with that subject (i.e. where the Subject: line does not |
| 1916 |
start with Re:). For example, to kill all articles asking for help |
| 1917 |
(but not follow-ups) in the tex group, add this to your kill file: |
| 1918 |
.nf |
| 1919 |
comp.text.tex:!s</:^HELP |
| 1920 |
.fi |
| 1921 |
.TP |
| 1922 |
\fBn\fP or \fBs\fP or \fBa\fP (mandatory) |
| 1923 |
.br |
| 1924 |
Specify whether the corresponding string applies to the name \fBn\fP |
| 1925 |
or to the subject \fBs\fP of an article. If flag \fBa\fP is used, the |
| 1926 |
corresponding string is ignored (but must be present), and the entry |
| 1927 |
applies to articles with a non-empty References: line. |
| 1928 |
.TP |
| 1929 |
\fB/\fP (optional) |
| 1930 |
.br |
| 1931 |
Specifies that the corresponding \fIstring\fP is a \fBregular expression\fP |
| 1932 |
which the sender or subject is matched against. If not specified, a simple |
| 1933 |
string match is performed using the given \fIstring\fP. |
| 1934 |
.TP |
| 1935 |
\fB=\fP (optional) |
| 1936 |
.br |
| 1937 |
Specifies that the match against the name or subject is \fIcase |
| 1938 |
sensitive\fP. Furthermore, when regular expression matching |
| 1939 |
is \fInot\fP used, the name or subject must be of the same length |
| 1940 |
of the \fIstring\fP to match. |
| 1941 |
Otherwise, the match will be case insensitive, and a \fIstring\fP may |
| 1942 |
occur anywhere in the name or subject to match. |
| 1943 |
.TP |
| 1944 |
\fB|\fP or \fB&\fP (mandatory if multiple strings) |
| 1945 |
.br |
| 1946 |
If more than one string is specified, the set of \fIflags\fP |
| 1947 |
corresponding to each \fIstring\fP must be separated by either an |
| 1948 |
\fIor operator\fP `\fB|\fP' or an \fIand operator\fP `\fB&\fP'. The |
| 1949 |
and operator has a higher precedence than the or operator, e.g. a |
| 1950 |
complex match expression \fIa|b&c|d\fP will succeed if either of |
| 1951 |
\fIa\fP, \fIb&c\fP, or \fId\fP matches. |
| 1952 |
.LP |
| 1953 |
The \fIstring\fP field in the entry is the name, subject or regular |
| 1954 |
expression that will be matched against the name or subject of each |
| 1955 |
article in the group (or all groups). Colons and backslashes must be |
| 1956 |
escaped with a backslash in the string. |
| 1957 |
.LP |
| 1958 |
Example 1: Auto-select articles from `Tom Collins' (exact) on subject |
| 1959 |
`News' in all groups: |
| 1960 |
.sp 0.5v |
| 1961 |
:+n=&s:Tom Collins:News |
| 1962 |
.sp |
| 1963 |
Example 2: Kill all articles which are neither from `Tom' or `Eve' in |
| 1964 |
some.group. Select only articles from Eve: |
| 1965 |
.sp 0.5v |
| 1966 |
some.group:~n:Tom |
| 1967 |
.br |
| 1968 |
some.group:+n:Eve |
| 1969 |
.sp |
| 1970 |
The second example can also be written as a single entry with an or |
| 1971 |
operator (in this case, the select/kill attribute only applies to the succeeding strings): |
| 1972 |
.br |
| 1973 |
some.group:~n|+n:Tom:Eve |
| 1974 |
.LP |
| 1975 |
To remove expired entries, to "undo" a \fBK\fP command, and to make |
| 1976 |
the more advanced entries with more than one string, you will have to |
| 1977 |
edit the kill file manually. To recompile the file, you can use the |
| 1978 |
\fB:compile\fP command. When you invoke \fInn\fP, it will also |
| 1979 |
recompile the kill file if the compiled version is out of date. |
| 1980 |
.SH SHELL ESCAPES |
| 1981 |
The |
| 1982 |
.B ! |
| 1983 |
commands available in selection and reading mode are identical in |
| 1984 |
operation (with one exception). When you enter the shell escape |
| 1985 |
command, you will be prompted for a shell command. This command will |
| 1986 |
be fed to the shell specified in the \fBshell\fP variable (default |
| 1987 |
loaded from the SHELL environment variable or /bin/sh) after the |
| 1988 |
following substitutions have been performed on the command: |
| 1989 |
.TP |
| 1990 |
\fIFile name expansion\fP |
| 1991 |
The earlier described file name expansions will be performed on all |
| 1992 |
arguments. |
| 1993 |
.TP |
| 1994 |
.B $G |
| 1995 |
will be substituted with the name of the current news group. |
| 1996 |
.TP |
| 1997 |
.B $L |
| 1998 |
will be substituted with the \fIlast component\fP of the name of the |
| 1999 |
current news group. |
| 2000 |
.TP |
| 2001 |
.B $F |
| 2002 |
will be substituted with the name of the current news group with the |
| 2003 |
periods replaced by slashes. |
| 2004 |
.TP |
| 2005 |
.B $N |
| 2006 |
will be substituted with the (local) article number (only defined in |
| 2007 |
reading mode). |
| 2008 |
.TP |
| 2009 |
.B $A |
| 2010 |
is replaced by the full path name of the file containing the current article |
| 2011 |
(only defined in reading mode). |
| 2012 |
.TP |
| 2013 |
.B % |
| 2014 |
Same as $A. |
| 2015 |
.TP |
| 2016 |
.B $(VAR) |
| 2017 |
is replaced by the string value of the environment variable \fIVAR\fP. |
| 2018 |
.LP |
| 2019 |
When the shell command is completed, you will be asked to hit any key |
| 2020 |
to continue. If you hit the |
| 2021 |
.B ! |
| 2022 |
key again, you will be prompted for a new shell command. Any other |
| 2023 |
key will redraw the screen and return you to the mode you came from. |
| 2024 |
.LP |
| 2025 |
\fBRelated variables\fP: |
| 2026 |
shell, shell-restrictions. |
| 2027 |
.SH MISCELLANEOUS COMMANDS |
| 2028 |
Below are more useful commands which are available in both |
| 2029 |
selection and reading modes. |
| 2030 |
.TP |
| 2031 |
\&\fBU\fP {\fBunsub\fP} |
| 2032 |
Unsubscribe to the current group. You will not see this group |
| 2033 |
any more unless you explicitly request it. If the variable |
| 2034 |
\fBunsubscribe-mark-read\fP is set, all articles in the group will be |
| 2035 |
marked read when you unsubscribe. |
| 2036 |
If the variable \fBkeep-unsubscribed\fP is not set, the group will |
| 2037 |
be removed from .newsrc. If you are not subscribing to the group, you |
| 2038 |
will be given the possibility to \fIresubscribe\fP to the group! This |
| 2039 |
may be used in connection with the \fBG\fP command to resubscribe a |
| 2040 |
group. |
| 2041 |
.TP |
| 2042 |
\&\fBC\fP {\fBcancel\fP} |
| 2043 |
Cancel (delete) an article in the current group or folder. Cancelling |
| 2044 |
articles in a folder will cause the folder to be rewritten when it is |
| 2045 |
closed. In selection mode, you will be prompted for the identifier of |
| 2046 |
the article to cancel. Normal users can only cancel their own |
| 2047 |
articles. |
| 2048 |
See also the section on folder maintenance. |
| 2049 |
.TP |
| 2050 |
\&\fBY\fP {\fBoverview\fP} |
| 2051 |
Provide an overview of the groups with unread articles. |
| 2052 |
.TP |
| 2053 |
\&\fB"\fP {\fBlayout\fP} |
| 2054 |
Change menu layout in selection mode. The menu will be redrawn using |
| 2055 |
the next layout (cycling through ..., 2, 3, 4, 0, 1, ...) |
| 2056 |
.LP |
| 2057 |
Most of the commands in \fInn\fP are bound to a key and can be activated |
| 2058 |
by a single keystroke. However, there are a few commands that |
| 2059 |
cannot be bound to a key directly. |
| 2060 |
.LP |
| 2061 |
As shown in the keystroke command descriptions, all commands have a |
| 2062 |
name, and it is possible to activate a command by name with the |
| 2063 |
\fIextended command\fP key (\fB:\fP). Hitting this key will prompt |
| 2064 |
you for the name of a command (and parameters). For example, an |
| 2065 |
alternative to hitting the \fBR\fP key to reply to an article is to |
| 2066 |
enter the extended command \fB:reply\fP followed by \fBreturn\fP. The |
| 2067 |
\fB:post\fP and \fB:unshar\fP commands described earlier can also be |
| 2068 |
bound to a key. The complete list of commands which can be bound to |
| 2069 |
keys is provided in the section on Key Mappings below. |
| 2070 |
.LP |
| 2071 |
The following extended commands \fIcannot\fP be bound to a key, mainly |
| 2072 |
because they require additional parameters on the prompt line, or |
| 2073 |
because it should not be possible to activate them too easily. |
| 2074 |
.TP |
| 2075 |
\fB:admin\fP |
| 2076 |
Enter administrative mode. This is identical in operation to the |
| 2077 |
.IR nnadmin (1M) |
| 2078 |
program. |
| 2079 |
.TP |
| 2080 |
\fB:bug\fP |
| 2081 |
Prepare and send a bug report to the nn-bugs mailing address. |
| 2082 |
.TP |
| 2083 |
\fB:cd\fP [ \fIdirectory\fP ] |
| 2084 |
Change current working directory. If the directory argument is not provided, |
| 2085 |
\fInn\fP will prompt for it. |
| 2086 |
.TP |
| 2087 |
\fB:clear\fP |
| 2088 |
Clear the screen (without redraw). This may be useful at the |
| 2089 |
beginning of the init file (possibly guarded by "on program nn"), or |
| 2090 |
in some macros. |
| 2091 |
.TP |
| 2092 |
\fB:compile\fP |
| 2093 |
Recompile the \fIkill\fP file. This is not necessary under normal |
| 2094 |
operation since \fInn\fP automatically compiles the file on start-up |
| 2095 |
if it has changed, but it can be used if you modify the kill file |
| 2096 |
while \fInn\fP is suspended. |
| 2097 |
.TP |
| 2098 |
\fB:coredump\fP |
| 2099 |
Abort with a core dump. For debugging purposes only. |
| 2100 |
.TP |
| 2101 |
\fB:define\fP \fImacro\fP |
| 2102 |
Define macro number \fImacro\fP as described in the Macro Definition |
| 2103 |
section below. If \fImacro\fP is omitted, the next free macro number |
| 2104 |
will be chosen. |
| 2105 |
.TP |
| 2106 |
\fB:dump\fP \fItable\fP |
| 2107 |
Same as the \fB:show\fP command described below. |
| 2108 |
.TP |
| 2109 |
\fB:help\fP [ \fIsubject\fP ] |
| 2110 |
Provide online help on the specified subject. If you omit the |
| 2111 |
subject, a list of the available topics will be given. |
| 2112 |
.TP |
| 2113 |
\fB:load\fP [ \fIfile\fP ] |
| 2114 |
Load the specified \fIfile\fP. If the \fIfile\fP argument is omitted, |
| 2115 |
the init file is reloaded. |
| 2116 |
The \fBsequence\fP part (if present) is ignored. |
| 2117 |
.TP |
| 2118 |
\fB:local\fP \fIvariable\fP [ \fIvalue\fP ] |
| 2119 |
Make the variable local to the current group. Subsequent changes to |
| 2120 |
the variable will only be effective until the current group is left. |
| 2121 |
If a value is specified, it will be assigned to the local variable. |
| 2122 |
To assign a new value to a boolean variable, the values \fBon\fP and |
| 2123 |
\fBoff\fP must be used. |
| 2124 |
.TP |
| 2125 |
\fB:lock\fP \fIvariable\fP |
| 2126 |
Lock the specified \fIvariable\fP so it cannot be modified. |
| 2127 |
.TP |
| 2128 |
\fB:man\fP |
| 2129 |
Call up the online manual. The manual is presented as a normal folder |
| 2130 |
with the program name in the `From' field and the section title in the |
| 2131 |
\&`subject' field. All the normal commands related to a folder works |
| 2132 |
for the online manual as well, e.g. you can save and print sections of |
| 2133 |
the manual. |
| 2134 |
.TP |
| 2135 |
\fB:map\fP \fIarguments\fP |
| 2136 |
This is the command used for binding commands to the keys. It is |
| 2137 |
fully described in the Key Mapping section below. |
| 2138 |
.TP |
| 2139 |
\fB:mkdir\fP [ \fIdirectory\fP ] |
| 2140 |
Create the directory (and the directories in its path). It will |
| 2141 |
prompt for at directory name if the argument is omitted. |
| 2142 |
.TP |
| 2143 |
\fB:motd\fP |
| 2144 |
Show the \fImessage of the day\fP (maintained by the news |
| 2145 |
administrator in the file "motd" in the lib directory. This file is |
| 2146 |
automatically displayed on start-up whenever it changes if the |
| 2147 |
\fBmotd\fP variable is set. |
| 2148 |
.TP |
| 2149 |
\fB:pwd\fP |
| 2150 |
Print path name of current working directory on message line. |
| 2151 |
.TP |
| 2152 |
\fB:q\fP |
| 2153 |
Has no effect besides redrawing the screen if necessary. If an |
| 2154 |
extended command (one which is prefixed by a :) produces any output |
| 2155 |
requiring the screen to be redrawn, the screen will not be redrawn |
| 2156 |
immediately if the variable \fBdelay-redraw\fP is set (useful on |
| 2157 |
slow terminals). Instead another \fB:\fP prompt is shown to allow you |
| 2158 |
to enter a new extended command immediately. It is sufficient to hit |
| 2159 |
.B return |
| 2160 |
to redraw the screen, but it has been my experience that entering |
| 2161 |
.B q return |
| 2162 |
in this situation happens quite often, so it was made a no-op. |
| 2163 |
.TP |
| 2164 |
\fB:q!\fP |
| 2165 |
Quit \fInn\fP without updating the \fB.newsrc\fP file. |
| 2166 |
.TP |
| 2167 |
\fB:Q\fP |
| 2168 |
Quit \fInn\fP. This is equivalent to the normal |
| 2169 |
.B Q |
| 2170 |
command. |
| 2171 |
.TP |
| 2172 |
\fB:rmail\fP |
| 2173 |
Open your mailbox (see the \fBmail\fP variable) as a folder to |
| 2174 |
read the incoming messages. This is \fInot\fP a full mail interface |
| 2175 |
(depending on the nn configuration, you may not be able to delete |
| 2176 |
messages, add cc: on replies, etc), but it can give |
| 2177 |
you a quick glance at new mail without leaving \fInn\fP. |
| 2178 |
.TP |
| 2179 |
\fB:set\fP \fIvariable\fP [ \fIvalue\fP ] |
| 2180 |
Set a boolean variable to true or assign the value to a string or |
| 2181 |
integer variable. The |
| 2182 |
.B :set |
| 2183 |
command is described in details in the section on VARIABLES. |
| 2184 |
.TP |
| 2185 |
\fB:sh\fP |
| 2186 |
Suspend \fInn\fP, or if that is not possible, spawn an interactive shell. |
| 2187 |
.TP |
| 2188 |
\fB:show groups\fP \fImode\fP |
| 2189 |
Show the total number or the number of unread articles in the current |
| 2190 |
group, depending on \fImode\fP: \fBall\fP (list the number of unread |
| 2191 |
articles in all groups including groups which you have unsubscribed |
| 2192 |
to), \fBtotal\fP (list the total number of articles in all existing |
| 2193 |
groups), \fBsequence\fP (list unread groups in presentation sequence |
| 2194 |
order), \fBsubscr\fP (list all subscribed |
| 2195 |
groups), \fBunsub\fP (list unsubscribed groups only). Any other |
| 2196 |
\fImode\fP results in a listing of the number of unread articles in |
| 2197 |
all subscribed groups including those you have suppressed with the `!' |
| 2198 |
symbol in the group presentation sequence. To get just the currently |
| 2199 |
unread groups in the presentation sequence, use the `Y' |
| 2200 |
{\fBoverview\fP} command. |
| 2201 |
.TP |
| 2202 |
\fB:show kill\fP |
| 2203 |
Show the kill entries that applies to the current group and to all groups. |
| 2204 |
.TP |
| 2205 |
\fB:show rc\fP [ \fIgroup\fP ] |
| 2206 |
Show the .newsrc and select file entries for the current or the |
| 2207 |
specified group. |
| 2208 |
.TP |
| 2209 |
\fB:show map\fP [ \fImode\fP ] |
| 2210 |
Show the key bindings in the current or specified mode. |
| 2211 |
.TP |
| 2212 |
\fB:sort\fP [ \fImode\fP ] |
| 2213 |
Reorder the articles on the menu according to \fImode\fP or if omitted |
| 2214 |
to the default \fBsort-mode\fP. The following sorting modes are |
| 2215 |
available: |
| 2216 |
.br |
| 2217 |
\fBarrival\fP: list articles by local article number which |
| 2218 |
will be the same as the order in which they |
| 2219 |
arrived on the system (unless groups are merged), |
| 2220 |
.br |
| 2221 |
\fBsubject\fP: articles with identical |
| 2222 |
subjects are grouped and ordered after age of the oldest article in |
| 2223 |
the group, |
| 2224 |
.br |
| 2225 |
\fBlexical\fP: subjects in lexicographical order, |
| 2226 |
.br |
| 2227 |
\fBage\fP: articles ordered after posting date only, |
| 2228 |
.br |
| 2229 |
\fBsender\fP: articles ordered after sender's name. |
| 2230 |
.TP |
| 2231 |
\fB:toggle\fP \fIvariable\fP |
| 2232 |
Toggle a boolean variable. |
| 2233 |
.TP |
| 2234 |
\fB:unread\fP [ \fIgroup\fP ] [ \fIarticles\fP ] |
| 2235 |
Mark the current (or specified) group as unread. If the |
| 2236 |
\fIarticles\fP argument is omitted, the number of unread articles in |
| 2237 |
the group will be set to the number of unread articles when \fInn\fP |
| 2238 |
was invoked. Otherwise, the argument specifies the number of unread |
| 2239 |
articles. |
| 2240 |
.TP |
| 2241 |
\fB:unset\fP \fIvariable\fP |
| 2242 |
Set a boolean variable to false or clear an integer variable. |
| 2243 |
.TP |
| 2244 |
\fB:x\fP |
| 2245 |
Quit \fInn\fP and \fBmark\fP all articles in the current group as |
| 2246 |
\fIread\fP! |
| 2247 |
.LP |
| 2248 |
\fBRelated variables\fP: |
| 2249 |
backup, bug-report-address, delay-redraw, keep-unsubscribed, |
| 2250 |
unsubscribe-mark-read, mail, pager, sort-mode. |
| 2251 |
.\" ENDPART B |
| 2252 |
.\" BEGINPART C |
| 2253 |
.SH CATCH UP |
| 2254 |
If you have not read news for some time, there are probably more news |
| 2255 |
than you can cope with. Using the option \-\fBa0\fP \fInn\fP will put |
| 2256 |
you into \fBcatch-up mode\fP. |
| 2257 |
.LP |
| 2258 |
The first question you will get is whether to catch up interactively |
| 2259 |
or automatically. If you instruct \fInn\fP to catch up automatically, |
| 2260 |
it will simply mark all articles in all groups as read, thus bringing |
| 2261 |
you \fIcompletely up-to-date\fP. |
| 2262 |
.LP |
| 2263 |
If you choose the interactive mode, \fInn\fP will locate all groups |
| 2264 |
with unread articles, and for each group it will prompt you for an |
| 2265 |
action to take on the group. An action is selected using a single |
| 2266 |
letter followed by \fBreturn\fP. The following actions are available: |
| 2267 |
.TP |
| 2268 |
.B y |
| 2269 |
Mark all articles as read in current group. |
| 2270 |
.TP |
| 2271 |
.B n |
| 2272 |
Do not update group (this is the default action if you just hit |
| 2273 |
\fBreturn\fP). |
| 2274 |
.TP |
| 2275 |
.B r |
| 2276 |
Enter reading mode to read the group. |
| 2277 |
.TP |
| 2278 |
.B U |
| 2279 |
Unsubscribe to the group. |
| 2280 |
.TP |
| 2281 |
.B ? |
| 2282 |
Give a list of actions. |
| 2283 |
.TP |
| 2284 |
.B q |
| 2285 |
Quit. |
| 2286 |
When you quit, \fInn\fP will ask whether the |
| 2287 |
rest of the groups should be updated unconditionally or whether they |
| 2288 |
should remain unread. |
| 2289 |
.SH VARIABLES AND OPTIONS |
| 2290 |
It is possible to control the behaviour of \fInn\fP through the |
| 2291 |
setting (and unsetting) of the variables described below. There are |
| 2292 |
several ways of setting variables: |
| 2293 |
.br |
| 2294 |
\- Through command line options when \fInn\fP is invoked. |
| 2295 |
.br |
| 2296 |
\- Through \fIassignments\fP on the command line when \fInn\fP is invoked. |
| 2297 |
.br |
| 2298 |
\- Through global \fBset\fP commands in the init file. |
| 2299 |
.br |
| 2300 |
\- Through \fBset\fP or \fBlocal\fP commands executed from entry macros. |
| 2301 |
.br |
| 2302 |
\- Through the \fB:set\fP extended command when you run \fInn\fP. |
| 2303 |
.LP |
| 2304 |
There are four types of variables: |
| 2305 |
.br |
| 2306 |
\- Boolean variables |
| 2307 |
.br |
| 2308 |
\- Integer variables |
| 2309 |
.br |
| 2310 |
\- String variables |
| 2311 |
.br |
| 2312 |
\- Key variables |
| 2313 |
.LP |
| 2314 |
Boolean variables control a specific function in \fInn\fP, e.g. |
| 2315 |
whether the current time is shown in the prompt line. A boolean |
| 2316 |
variable is set to |
| 2317 |
.B true |
| 2318 |
with the command |
| 2319 |
.nf |
| 2320 |
\fBset\fP \fIvariable\fP |
| 2321 |
.fi |
| 2322 |
and it is set to |
| 2323 |
.B false |
| 2324 |
with either of the following (equivalent) commands: |
| 2325 |
.nf |
| 2326 |
\fBunset\fP \fIvariable\fP |
| 2327 |
\fBset no\fP\fIvariable\fP |
| 2328 |
.fi |
| 2329 |
.LP |
| 2330 |
You can also toggle the value of a boolean variable using the command: |
| 2331 |
.nf |
| 2332 |
\fBtoggle\fP \fIvariable\fP |
| 2333 |
.fi |
| 2334 |
.LP |
| 2335 |
For example: |
| 2336 |
.nf |
| 2337 |
\fBset\fP time |
| 2338 |
\fBunset\fP time |
| 2339 |
\fBset\fP notime |
| 2340 |
\fBtoggle\fP time |
| 2341 |
.fi |
| 2342 |
.LP |
| 2343 |
Integer variables control an amount e.g. the size of the preview |
| 2344 |
window, or the maximum number of articles to read in each group. They |
| 2345 |
are set with the following command: |
| 2346 |
.nf |
| 2347 |
\fBset\fP \fIvariable value\fP |
| 2348 |
.fi |
| 2349 |
In some cases, not setting an integer value has a special meaning, |
| 2350 |
for example, not having a minimal preview window or reading all |
| 2351 |
articles in the groups no matter how many there are. The special |
| 2352 |
meaning can be re-established by the following command: |
| 2353 |
.nf |
| 2354 |
\fBunset\fP \fIvariable\fP |
| 2355 |
.fi |
| 2356 |
For example: |
| 2357 |
.nf |
| 2358 |
\fBset\fP window 7 |
| 2359 |
\fBunset\fP limit |
| 2360 |
.fi |
| 2361 |
.LP |
| 2362 |
String variables may specify directory names, default values for |
| 2363 |
prompts, etc. They are set using the command |
| 2364 |
.nf |
| 2365 |
\fBset\fP \fIvariable string\fP |
| 2366 |
.fi |
| 2367 |
Normally, the \fIstring\fP value assigned to the \fIvariable\fP |
| 2368 |
value starts at the first non-blank character after the variable name |
| 2369 |
and ends with the last non-blank character (excluding comments) on the |
| 2370 |
line. To include leading or trailing blanks, or the comment start |
| 2371 |
symbol, #, in the string they must be escaped using a backslash `\e', |
| 2372 |
e.g. to set \fBincluded-mark\fP to the string " # ", the following |
| 2373 |
assignment can be used: |
| 2374 |
.sp 0.5v |
| 2375 |
.nf |
| 2376 |
set included-mark \e\ \e#\e\ \ \ # blank-#-blank |
| 2377 |
.fi |
| 2378 |
.sp 0.5v |
| 2379 |
To include a backslash in the string, it must be duplicated `\e\e'. |
| 2380 |
A backslash may also be used to include the following special |
| 2381 |
characters in the string: \ea=alarm, \eb=backspace, \ee=escape, |
| 2382 |
\ef=form-feed, \en=new-line, \er=return, \et=tab. |
| 2383 |
.LP |
| 2384 |
Key variables control the keys used to control special functions |
| 2385 |
during user input such as line editing and completion. They are set |
| 2386 |
using the command |
| 2387 |
.nf |
| 2388 |
\fBset\fP \fIvariable key-name\fP |
| 2389 |
.fi |
| 2390 |
.LP |
| 2391 |
A variable can be \fIlocked\fP which makes further modification of the |
| 2392 |
variable impossible: |
| 2393 |
.nf |
| 2394 |
\fBlock\fP \fIvariable\fP |
| 2395 |
.fi |
| 2396 |
This can be used in the \fIsetup\fP init file which is loaded |
| 2397 |
unconditionally to enforce local conventions or restrictions. For |
| 2398 |
example, to fix the \fBincluded-mark\fP variable to the string ">", |
| 2399 |
the following commands can be placed in the setup file: |
| 2400 |
.nf |
| 2401 |
\fBset\fP included-mark > |
| 2402 |
\fBlock\fP included-mark |
| 2403 |
.fi |
| 2404 |
.LP |
| 2405 |
The current variable settings can be shown with the |
| 2406 |
.B :set |
| 2407 |
command: |
| 2408 |
.TP |
| 2409 |
\fB:set\fP (without arguments) |
| 2410 |
This will give a listing of the variables which have been set in |
| 2411 |
either the init file or interactively. |
| 2412 |
.TP |
| 2413 |
\fB:set all\fP |
| 2414 |
This will give a listing of all variables. Modified variables will be |
| 2415 |
marked with a `*' and \fIlocal\fP variables will be marked with a `>'. |
| 2416 |
A locked variable is marked with a `!'. |
| 2417 |
.TP |
| 2418 |
\fB:set /\fP\fIregexp\fP |
| 2419 |
This will give a listing of all variables whose name matches the given |
| 2420 |
regular expression. |
| 2421 |
.TP |
| 2422 |
\fB:set\fP \fIpartial-name\fP \fBspace\fP |
| 2423 |
The \fBspace\fP (\fBcomp1-key\fP) key will complete the variable name |
| 2424 |
as usual, but as a side effect it will display the variable's current |
| 2425 |
value in the message line. |
| 2426 |
.LP |
| 2427 |
Variables are global by default, but a local instantiation of the |
| 2428 |
variable can be created using the \fB:local\fP command. The local |
| 2429 |
variable will overlay the global variable as long as the current group |
| 2430 |
is active, i.e. the global variable will be used again when you exit |
| 2431 |
the current group. The initial value of the local variable will be |
| 2432 |
the same as the global variable, unless a new value is specified in |
| 2433 |
the \fB:local\fP command: |
| 2434 |
.sp 0.5v |
| 2435 |
.nf |
| 2436 |
\fB:local\fP \fIvariable\fP [ \fIvalue\fP ] |
| 2437 |
.fi |
| 2438 |
.sp 0.5v |
| 2439 |
.LP |
| 2440 |
The following variables are available: |
| 2441 |
.TP |
| 2442 |
\fBalso-full-digest\fP (boolean, default false) |
| 2443 |
When a digest is split, the digest itself is not normally included on |
| 2444 |
the menu, and as such the initial administrative information is not |
| 2445 |
available. Setting \fBalso-full-digest\fP will cause the (unsplit) |
| 2446 |
digest to be included on the menu. These articles are marked with a @ |
| 2447 |
at the beginning of the subject. |
| 2448 |
.TP |
| 2449 |
\fBalso-subgroups\fP (boolean, default true) |
| 2450 |
When set, a group name in the presentation sequence will also cause |
| 2451 |
all the subgroups of the group to be included, for example, comp.unix |
| 2452 |
will also include comp.unix.questions, etc. When \fBalso-subgroups\fP |
| 2453 |
is not set, subgroups are only included if the group name is followed |
| 2454 |
by a `.' in which case the main group is \fInot\fP included, i.e. |
| 2455 |
`comp.unix' is not included when `comp.unix.' is specified in the |
| 2456 |
presentation sequence, and vice-versa. Following a group name by an |
| 2457 |
asterisk `*', e.g. comp.unix*, will include the group as well as all |
| 2458 |
subgroups independently of the setting of \fBalso-subgroups\fP. |
| 2459 |
.TP |
| 2460 |
\fBappend-signature-mail\fP (boolean, default false) |
| 2461 |
When false, it is assumed that the .signature file is automatically |
| 2462 |
appended to responses sent via E-mail. If true, .signature will be |
| 2463 |
appended to the letter (see query-signature). |
| 2464 |
.TP |
| 2465 |
\fBappend-signature-post\fP (boolean, default false) |
| 2466 |
When false, it is assumed that the .signature file is automatically |
| 2467 |
appended to posted articles. If true, .signature will explicitly be |
| 2468 |
appended to posted articles (see query-signature). |
| 2469 |
.TP |
| 2470 |
\fBattributes\fP \fIsymbols\fP (string, default ....) |
| 2471 |
Each element in this string represents a symbol used to represent an |
| 2472 |
article attribute when displayed on the screen. See the section on |
| 2473 |
Marking Articles and Attributes. |
| 2474 |
.TP |
| 2475 |
\fBauto-junk-seen\fI (boolean, default true) |
| 2476 |
When set, articles which have the \fIseen attribute\fP (,) will be marked |
| 2477 |
read when the current group is left. If not set, these articles will |
| 2478 |
still be either unread or marked seen the next time the group is |
| 2479 |
entered (see also \fBconfirm-junk-seen\fP and \fBretain-seen-status\fI). |
| 2480 |
.TP |
| 2481 |
\fBauto-preview-mode\fP (boolean, default false) |
| 2482 |
Enables \fIAuto Preview Mode\fP. In this mode, selecting an article |
| 2483 |
on the menu using its article id (letter a-z) will enter preview mode |
| 2484 |
on that article immediately. Furthermore, the `n' {\fBnext-article\fP} |
| 2485 |
command will preview the next article on the menu only if it has the |
| 2486 |
same subject as the current article; otherwise, it will return to the |
| 2487 |
menu with the cursor placed on the next article. The \fBcontinue\fP |
| 2488 |
command at the end of the article and the `=' {\fBgoto-menu\fP} |
| 2489 |
returns to the menu immediately as usual. |
| 2490 |
.TP |
| 2491 |
\fBauto-read-mode-limit\fP \fIN\fP (integer, default 0) |
| 2492 |
When operating in \fIauto reading mode\fP, \fInn\fP will |
| 2493 |
\fIauto-select\fP all unread articles in the group, skip the |
| 2494 |
article selection phase, and enter reading mode directly after |
| 2495 |
entry to the group. |
| 2496 |
Auto reading mode is disabled when \fBauto-read-mode-limit\fP is |
| 2497 |
zero; it is activated unconditionally if the value is negative, and |
| 2498 |
conditionally if the value is greater than zero and the number of |
| 2499 |
unread articles in the current group does not exceed the given value. |
| 2500 |
.TP |
| 2501 |
\fBauto-select-closed\fP \fImode\fP (integer, default 1) |
| 2502 |
Normally, selecting a \fIclosed subject\fP (usually in consolidated |
| 2503 |
menu mode) will select (or deselect) all \fIunread\fP articles with |
| 2504 |
the given subject (or all articles if they are all read). This |
| 2505 |
behaviour can be changed via the value of this variable as follows: |
| 2506 |
.nf |
| 2507 |
0: select only the first article with the subject (shown on menu). |
| 2508 |
1: select only the unread articles with the subject. |
| 2509 |
2: select all available articles with the subject. |
| 2510 |
.fi |
| 2511 |
.TP |
| 2512 |
\fBauto-select-rw\fP (boolean, default false) |
| 2513 |
If set, a subject of an article read or posted is automatically |
| 2514 |
used for subsequent auto-selecting (if not already selected). |
| 2515 |
This is the most efficient way to see your own posts automatically. |
| 2516 |
.TP |
| 2517 |
\fBauto-select-subject\fP (boolean, default false) |
| 2518 |
When set, selecting an article from the menu using the article id |
| 2519 |
(a-z), all articles on the menu with the same subject will |
| 2520 |
automatically be selected as well. |
| 2521 |
.TP |
| 2522 |
\fBbackup\fP (boolean, default true) |
| 2523 |
When set, a copy of the initial .newsrc and select files will save be |
| 2524 |
the first time they are changed. \fInn\fP remembers the initial |
| 2525 |
contents of these files internally, so the backup variable can be set |
| 2526 |
any time if not set on start-up. |
| 2527 |
.TP |
| 2528 |
\fBbackup-folder-path\fP \fIfile\fP (string, default "BackupFolder~") |
| 2529 |
When removing deleted articles from a folder, this variable defines |
| 2530 |
the name of the file where a (temporary) copy of the original folder |
| 2531 |
is saved. If the \fIfile\fP name doesn't contain a `/', the file will |
| 2532 |
be located in the .nn directory. Otherwise the file name is used |
| 2533 |
directly as the relative or full path name of the backup file. |
| 2534 |
If possible, the old folder will be renamed to the backup folder name; |
| 2535 |
otherwise the old folder is copied to the backup folder. |
| 2536 |
.TP |
| 2537 |
\fBbackup-suffix\fP \fIsuffix\fP (string, default ".bak") |
| 2538 |
The suffix appended to file names to make the corresponding backup |
| 2539 |
file name (see \fBbackup\fP). |
| 2540 |
.TP |
| 2541 |
\fBbug-report-address\fP \fIaddress\fP (string, default [email protected]) |
| 2542 |
The mail address to which bug reports created with the \fB:bug\fP |
| 2543 |
command are sent. |
| 2544 |
.TP |
| 2545 |
\fBcase-fold-search\fP (boolean, default true) |
| 2546 |
When set, string and regular expression matching will be case |
| 2547 |
independent. This is related to all commands matching on names or |
| 2548 |
subjects, except in connection with auto-kill and auto-select where |
| 2549 |
the individual kill file entries specifies this property. |
| 2550 |
.TP |
| 2551 |
\fBcharset\fP \fIcharset\fP (string, default "us-ascii") |
| 2552 |
The character set in use on your terminal. Legal values are "us-ascii", |
| 2553 |
"iso-8859-\fIX\fP", where \fIX\fP is a nonzero digit, and "unknown". |
| 2554 |
Setting this variable also sets the \fBdata-bits\fP variable to the default |
| 2555 |
bit width of the character set (7 for "us-ascii" and "unknown", 8 for the |
| 2556 |
"iso-8859-\fIX\fP" sets). |
| 2557 |
.sp 0.5v |
| 2558 |
The value of this variable also determines whether \fInn\fP allows |
| 2559 |
8-bit characters in the body of articles being posted and letters |
| 2560 |
being mailed (unless the value is "unknown", in which case this is |
| 2561 |
determined by the value of the \fBdata-bits\fP variable). |
| 2562 |
If necessary, \fInn\fP will add extra headers to the |
| 2563 |
message indicating its the character set. |
| 2564 |
.TP |
| 2565 |
\fBcheck-db-update-time\fP \fIH\fP (integer, default 12) |
| 2566 |
When non-zero, \fInn\fP will issue a warning if the database has not |
| 2567 |
been updated in the last \fIH\fP hours. The warning will tell you |
| 2568 |
whether no news has arrived (feed broken?), or whether it is just |
| 2569 |
\fInnmaster\fP which has not updated the database (dead?). |
| 2570 |
.TP |
| 2571 |
\fBcheck-group-access\fP (boolean, default false) |
| 2572 |
When set, \fInn\fP will perform a check on the readability of a |
| 2573 |
group's readability before showing the menu for that group. Normally, |
| 2574 |
this is not necessary since all users traditionally have access to all |
| 2575 |
news groups. Setting (and locking) this variable may be used to limit |
| 2576 |
access to a news group via the permissions and ownership of the |
| 2577 |
group's spool directory (this will only work for non-NNTP sites). |
| 2578 |
.TP |
| 2579 |
\fBcollapse-subject\fP \fIoffset\fP (integer, default 25) |
| 2580 |
When set (non-negative), subject lines which are too long to be |
| 2581 |
presented in full on the menus will be "collapsed" by removing a |
| 2582 |
sufficient number of characters from the subject starting at the given |
| 2583 |
\fIoffset\fP in the subject. This is useful in source groups where |
| 2584 |
the "Part (01/10)" string sometimes disappears from the menu. When |
| 2585 |
not set (or negative), the subjects are truncated. |
| 2586 |
.TP |
| 2587 |
\fBcolumns\fP \fIcol\fP (integer, default screen width) |
| 2588 |
This variable contains the screen width i.e. character positions per |
| 2589 |
line. |
| 2590 |
.TP |
| 2591 |
\fBcomp1-key\fP \fIkey\fP (key, default \fBspace\fP) |
| 2592 |
The key which gives the first/next completion, and the default value |
| 2593 |
when \fInn\fP is prompting for a string, e.g. a file name. |
| 2594 |
.TP |
| 2595 |
\fBcomp2-key\fP \fIkey\fP (key, default \fBtab\fP) |
| 2596 |
The key which ends the current completion and gives the first |
| 2597 |
completion for the next component |
| 2598 |
when \fInn\fP is prompting for a string, e.g. a file name. |
| 2599 |
.TP |
| 2600 |
\fBcompress\fP (boolean, default false) |
| 2601 |
This variable controls whether text compression (see the |
| 2602 |
\fBcompress\fP command) is turned on or off when an article is |
| 2603 |
shown. The compression is still toggled for the current article with |
| 2604 |
the \fBcompress\fP command key. |
| 2605 |
.TP |
| 2606 |
\fBconfirm-append\fP (boolean, default false) |
| 2607 |
When set, \fInn\fP will ask for confirmation before appending an |
| 2608 |
article to an existing file (see also \fBconfirm-create\fP). |
| 2609 |
.TP |
| 2610 |
\fBconfirm-auto-quit\fP (boolean, default false) |
| 2611 |
When set, \fInn\fP will ask for confirmation before quitting after |
| 2612 |
having read the last group. If not confirmed, \fInn\fP will recycle |
| 2613 |
the presentation sequence looking for groups that were skipped with |
| 2614 |
the `N' {\fBnext-group\fP} command. But it will not look for new |
| 2615 |
articles arrived since the invocation of \fInn\fP. |
| 2616 |
.TP |
| 2617 |
\fBconfirm-create\fP (boolean, default true) |
| 2618 |
When set, \fInn\fP will ask for confirmation before creating a new |
| 2619 |
file or directory when saving or unpacking an article (see also |
| 2620 |
\fBconfirm-append\fP). |
| 2621 |
.TP |
| 2622 |
\fBconfirm-entry\fP (boolean, default false) |
| 2623 |
When set, \fInn\fP will ask for confirmation before entering a group |
| 2624 |
with more than \fBconfirm-entry-limit\fP unread articles (on the first |
| 2625 |
menu level). It is useful on slow terminals if you don't want to wait |
| 2626 |
until \fInn\fP has drawn the first menu to be able to skip the group. |
| 2627 |
Answering no to the "Enter?" prompt will cause \fInn\fP to skip to |
| 2628 |
the next group without marking the current group as read. If you |
| 2629 |
answer by hitting \fBinterrupt\fP, \fInn\fP will ask the question |
| 2630 |
"Mark as read?" which allows you to mark the current group as read |
| 2631 |
before going to the next group. If this second question is also |
| 2632 |
answered by hitting \fBinterrupt\fP, \fInn\fP will quit immediately. |
| 2633 |
.TP |
| 2634 |
\fBconfirm-entry-limit\fP \fIarticles\fP (integer, default 0) |
| 2635 |
Specifies the minimum number of unread articles in a group for which |
| 2636 |
the \fBconfirm-entry\fP functionality is activated. |
| 2637 |
.TP |
| 2638 |
\fBconfirm-junk-seen\fP (boolean, default false) |
| 2639 |
When set, \fInn\fP will require confirmation before marking seen |
| 2640 |
articles as read when \fBauto-junk-seen\fP is set. |
| 2641 |
.TP |
| 2642 |
\fBconfirm-messages\fP (boolean, default false) |
| 2643 |
In some cases, \fInn\fP will sleep one second (or more) when it has shown a |
| 2644 |
message to the user, e.g. in connection with macro debugging. Setting |
| 2645 |
.B confirm-messages |
| 2646 |
will cause \fInn\fP to |
| 2647 |
\fIwait\fP for you to confirm all messages by hitting any |
| 2648 |
key. (It will show the symbol <> to indicate that it is awaiting |
| 2649 |
confirmation.) |
| 2650 |
.TP |
| 2651 |
\fBconsolidated-manual\fP (boolean, default false) |
| 2652 |
When set, the \fIonline manual\fP will be presented with one |
| 2653 |
menu line for each \fIprogram\fP in the \fInn\fP package. |
| 2654 |
.TP |
| 2655 |
\fBconsolidated-menu\fP (boolean, default false) |
| 2656 |
When set, \fInn\fP will automatically \fIclose\fP all multi-article |
| 2657 |
subjects on entry to a group, so that each subject only occur once on |
| 2658 |
the menu page. |
| 2659 |
.TP |
| 2660 |
\fBcounter-delim-left\fP (string, default "[") |
| 2661 |
The delimiter string output to the left of the article counter in a |
| 2662 |
closed subject's menu line. |
| 2663 |
.TP |
| 2664 |
\fBcounter-delim-right\fP (string, default "] ") |
| 2665 |
The delimiter string output to the right of the article counter in a |
| 2666 |
closed subject's menu line. |
| 2667 |
.TP |
| 2668 |
\fBcounter-padding\fP \fIpad\fP (integer, default 5) |
| 2669 |
On a consolidated menu, the subjects may not be very well aligned |
| 2670 |
because the added [...] counters have varying length. To (partially) |
| 2671 |
remedy this, all counters (and subjects without counters) are prefixed |
| 2672 |
by up to \fIpad\fP spaces to get better alignment. Increasing it |
| 2673 |
further may yield practically perfect alignment at the cost of less |
| 2674 |
space for the subject itself. |
| 2675 |
.TP |
| 2676 |
\fBcross-filter-seq\fP (boolean, default true) |
| 2677 |
When set, cross posted articles will be presented in the first |
| 2678 |
possible group, i.e. according to the current presentation sequence |
| 2679 |
(\fIcross\fP-post \fIfilter\fPing on \fIseq\fPuence). The article is |
| 2680 |
automatically marked read in the other cross posted groups unless you |
| 2681 |
unsubscribe to the first group in which it was shown before reading |
| 2682 |
the other groups. Likewise, it is sufficient to leave the article |
| 2683 |
unread in the first group to keep it for later handling. |
| 2684 |
If not set, cross-postings are shown in the first group occurring on |
| 2685 |
the Newsgroups: line which the user subscribes to (i.e. you let the |
| 2686 |
poster decide which group is most appropriate to read his posting). |
| 2687 |
.TP |
| 2688 |
\fBcross-post\fP (boolean, default false) |
| 2689 |
Normally, \fInn\fP will only show cross-posted articles in the first |
| 2690 |
subscribed group on the Newsgroups: line. When |
| 2691 |
.B cross-post |
| 2692 |
is set, \fInn\fP will show cross-posted articles in all subscribed |
| 2693 |
groups to which they are posted. |
| 2694 |
.TP |
| 2695 |
\fBcross-post-limit\fP \fIN\fP (integer, default 0) |
| 2696 |
If this variable is set to a value other than 0, then any articles |
| 2697 |
posted to more than \fIN\fP newsgroups are automatically skipped. |
| 2698 |
A value of 5 is pretty good for discarding ``spam'' articles. |
| 2699 |
.TP |
| 2700 |
\fBdata-bits\fP \fIbits\fP (integer, default 7) |
| 2701 |
When set to 7, \fInn\fP will display characters with the 8th bit set |
| 2702 |
using a meta-notation \fBM-\fP\fI7bit-char\fP. If set to 8, these |
| 2703 |
characters are sent directly to the screen (unless \fBmonitor\fP is |
| 2704 |
set). Setting the \fBcharset\fP variable also sets this variable to the |
| 2705 |
default bit width of character set. |
| 2706 |
.sp 0.5v |
| 2707 |
It also controls whether keyboard input is 7 or 8 bits, and thus |
| 2708 |
whether key maps contain 127 or 255 entries. See the key mapping |
| 2709 |
section for more details. |
| 2710 |
.sp 0.5v |
| 2711 |
If the \fBcharset\fP has value "unknown", the value of \fBdata-bits\fP |
| 2712 |
also determines whether \fInn\fP allows 8-bit characters in the body of |
| 2713 |
articles being posted and letters being mailed (this is normally |
| 2714 |
determined directly by the \fBcharset\fP variable). |
| 2715 |
.TP |
| 2716 |
\fBdate\fP (boolean, default true) |
| 2717 |
If set \fInn\fP will show the article posting date when articles are |
| 2718 |
read. |
| 2719 |
.TP |
| 2720 |
\fBdebug\fP \fImask\fP (integer, default 0) |
| 2721 |
Look in the source if you are going to use this. |
| 2722 |
.TP |
| 2723 |
\fBdecode-header-file\fP \fIfile\fP (string, default "Decode.Headers") |
| 2724 |
The name of the file in which the header and initial text of articles |
| 2725 |
decoded with the \fB:decode\fP command is saved. Unless the file name |
| 2726 |
starts with a `/', the file will be created in the same directory as |
| 2727 |
the decoded files. The information is not saved if this variable is |
| 2728 |
not set. |
| 2729 |
.TP |
| 2730 |
\fBdecode-skip-prefix\fP \fIN\fP (integer, default 2) |
| 2731 |
When non-null, the \fB:decode\fP command will automatically skip |
| 2732 |
\fIup to\fP \fIN\fP characters at the beginning of each line to find |
| 2733 |
valid uuencoded data. This allows \fInn\fP to automatically decode |
| 2734 |
(multi-part) postings which are both uuencoded and packed with shar. |
| 2735 |
.TP |
| 2736 |
\fBdefault-distribution\fP \fIdistr\fP (string, default "world") |
| 2737 |
The distribution to use as the default suggestion when posting |
| 2738 |
articles using the \fBfollow\fP and \fBpost\fP commands if the |
| 2739 |
corresponding \fBfollow-distribution\fP or \fBpost-distribution\fP |
| 2740 |
variable contains the \fBdefault\fP option. |
| 2741 |
.TP |
| 2742 |
\fBdefault-kill-select\fP \fI[1]days\fP (number, default 30) |
| 2743 |
Specifies the default action for the \fBK\fP {\fBkill-select\fP} |
| 2744 |
command if the first prompt is answered by \fBreturn\fP. It contains |
| 2745 |
the number of days to keep the kill or select entry in the kill file |
| 2746 |
(1-99 days). If it has the value \fIdays\fP+100 (e.g. 130), it |
| 2747 |
denotes that the default action is to \fIselect\fP rather than kill on |
| 2748 |
the subject for the specified period. |
| 2749 |
.TP |
| 2750 |
\fBdefault-save-file\fP \fIfile\fP (string, default +$F) |
| 2751 |
The default save file used when saving articles in news groups where |
| 2752 |
no save file has been specified in the init file (either in a |
| 2753 |
\fBsave-files\fP section or in the presentation sequence). |
| 2754 |
It can also be specified using the abbreviation "+" as the file name |
| 2755 |
when prompted for a file name even in groups with their own save file. |
| 2756 |
.TP |
| 2757 |
\fBdelay-redraw\fP (boolean, default false) |
| 2758 |
Normally, \fInn\fP will redraw the screen after extended |
| 2759 |
commands (:cmd) that clear the screen. When \fBdelay-redraw\fP is set |
| 2760 |
\fInn\fP will prompt for another extended command instead of redrawing |
| 2761 |
the screen (hit \fBreturn\fP to redraw). |
| 2762 |
.TP |
| 2763 |
\fBecho-prefix-key\fP (boolean, default true) |
| 2764 |
When true, hitting a prefix key (see the section on key mapping below) |
| 2765 |
will cause the prefix key to be echoed in the message line to indicate |
| 2766 |
that another key is expected. |
| 2767 |
.TP |
| 2768 |
\fBedit-patch-command\fP (boolean, default true) |
| 2769 |
When true, the \fB:patch\fP command will show the current |
| 2770 |
\fBpatch-command\fP and give you a chance to edit it before applying |
| 2771 |
it to the articles. |
| 2772 |
.TP |
| 2773 |
\fBedit-print-command\fP (boolean, default true) |
| 2774 |
When true, the \fBprint\fP command will show the current \fBprinter\fP |
| 2775 |
command and give you a chance to edit it before printing the articles. |
| 2776 |
Otherwise the articles are just printed using the current \fBprinter\fP |
| 2777 |
command. |
| 2778 |
.TP |
| 2779 |
\fBedit-response-check\fP (boolean, default true) |
| 2780 |
When editing a response to an article, it normally does not have any |
| 2781 |
meaning to send the initial file prepared by \fInn\fP unaltered, since |
| 2782 |
it is either empty or only contains included material. When this |
| 2783 |
variable is set, exiting the editor without having changed the file |
| 2784 |
will automatically abort the response action without confirmation. |
| 2785 |
.TP |
| 2786 |
\fBedit-unshar-command\fP (boolean, default false) |
| 2787 |
When true, the \fB:unshar\fP command will show the current |
| 2788 |
\fBunshar-command\fP and give you a chance to edit it before applying |
| 2789 |
it to the articles. |
| 2790 |
.TP |
| 2791 |
\fBeditor\fP \fIcommand\fP (string, default not set) |
| 2792 |
When set, it will override the current EDITOR environment variable |
| 2793 |
when editing responses and new articles. |
| 2794 |
.TP |
| 2795 |
\fBembedded-header-escape\fP \fIstring\fP (string, default '~') |
| 2796 |
When saving an article to a file, header lines embedded in the body of |
| 2797 |
the article are escaped using this string to make it possible for |
| 2798 |
\fInn\fP to split the folder correctly afterwards. |
| 2799 |
Header lines are not escaped if this variable is not set. |
| 2800 |
.TP |
| 2801 |
\fBenter-last-read-mode\fP \fImode\fP (integer, default 1) |
| 2802 |
Normally, \fInn\fP will remember which group is active when you quit, |
| 2803 |
and offer to jump directly to this group when you start \fInn\fP the |
| 2804 |
next time. This variable is used to control this behaviour. The |
| 2805 |
following \fImode\fP values are recognized: |
| 2806 |
.nf |
| 2807 |
0: Ignore the remembered group (r.g.). |
| 2808 |
1: Enter r.g. if the group is unread (with user confirmation) |
| 2809 |
2: Enter r.g. or first unread group after it in the sequence (w/conf). |
| 2810 |
3: Enter r.g. if the group is unread (no confirmation) |
| 2811 |
4: Enter r.g. or first unread group after it in the sequence (no conf). |
| 2812 |
.fi |
| 2813 |
.TP |
| 2814 |
\fBentry-report-limit\fP \fIarticles\fP (integer, default 300) |
| 2815 |
Normally, \fInn\fP will just move the cursor to the upper left corner |
| 2816 |
of the screen while it is reading articles from the database on |
| 2817 |
entry to a group. For large groups this may take more than a fraction |
| 2818 |
of a second, and \fInn\fP can then report what it is doing. If |
| 2819 |
it must read more articles than the number specified by this variable, |
| 2820 |
\fInn\fP will report which group and how many articles it is reading. |
| 2821 |
.TP |
| 2822 |
\fBerase-key\fP \fIkey\fP (key, default tty erase key) |
| 2823 |
The key which erases the last input character |
| 2824 |
when \fInn\fP is prompting for a string, e.g. a file name. |
| 2825 |
.TP |
| 2826 |
\fBexpert\fP (boolean, default false) |
| 2827 |
If set \fInn\fP will use slightly shorter prompts (e.g. not tell you |
| 2828 |
that ? will give you help), and be a bit less verbose in a few other |
| 2829 |
cases (e.g. not remind you that posted articles are not available |
| 2830 |
instantly). |
| 2831 |
.TP |
| 2832 |
\fBexpired-message-delay\fP \fIpause\fP (integer, default 1) |
| 2833 |
If a selected article is found to have been expired, \fInn\fP will |
| 2834 |
normally give a message about this and sleep for a number of seconds |
| 2835 |
specified by this variable. Setting this variable to zero will still |
| 2836 |
make \fInn\fP give the message without sleeping afterwards. Setting |
| 2837 |
it to -1 will cause the message not to be shown at all. |
| 2838 |
.TP |
| 2839 |
\fBflow-control\fP (boolean, default true) |
| 2840 |
When set, \fInn\fP will turn on xon/xoff flow-control before writing |
| 2841 |
large amounts of text to the screen. This should guard against |
| 2842 |
lossage of output, but in some network configurations it has had the |
| 2843 |
opposite effect, losing several lines of the output. This variable |
| 2844 |
is always true on systems with CBREAK capabilities which can do single |
| 2845 |
character reads without disabling flow control. |
| 2846 |
.TP |
| 2847 |
\fBflush-typeahead\fP (boolean, default false) |
| 2848 |
When true, \fInn\fP will flush typeahead prior to reading commands |
| 2849 |
from the keyboard. It will not flush typeahead while reading |
| 2850 |
parameters for a command, e.g. file names etc. |
| 2851 |
.TP |
| 2852 |
\fBfolder\fP \fIdirectory\fP (string, default ~/News) |
| 2853 |
The full pathname of the |
| 2854 |
.I folder directory |
| 2855 |
which will replace the + in folder names. It will be initialized from |
| 2856 |
the FOLDER environment variable if it is not set in the |
| 2857 |
.I init |
| 2858 |
file. |
| 2859 |
.TP |
| 2860 |
\fBfolder-format-check\fP (boolean, default true) |
| 2861 |
When saving an article with a full or partial header in an existing |
| 2862 |
folder, \fInn\fP will check the format of the folder to be able to |
| 2863 |
append the article in the proper format. If this variable is not set, |
| 2864 |
folders are assumed to be in the format specified via the |
| 2865 |
\fBmmdf-format\fP and \fBmail-format\fP variables, and articles are |
| 2866 |
saved in that format without checking. Otherwise, the \fB*-format\fP |
| 2867 |
variables are only used to determine the format for \fInew\fP folders. |
| 2868 |
.TP |
| 2869 |
\fBfolder-save-file\fP \fIfile\fP (string, default not set) |
| 2870 |
The default save file used when saving articles \fIfrom\fP a folder. |
| 2871 |
.TP |
| 2872 |
\fBfollow-distribution\fP \fIwords\fP (string, default see below) |
| 2873 |
This variable controls how the Distribution: header is constructed for |
| 2874 |
a follow-up to an original article. Its value is a list of |
| 2875 |
\fIwords\fP selected from the following list: |
| 2876 |
.sp 0.5v |
| 2877 |
[ [ \fBalways\fP ] \fBsame\fP ] [ \fBask\fP ] |
| 2878 |
[ \fBdefault\fP | \fIdistribution\fP ] |
| 2879 |
.sp 0.5v |
| 2880 |
This is interpreted in two steps: |
| 2881 |
.br |
| 2882 |
- First the default distribution is determined. If \fBsame\fP is |
| 2883 |
specified and the original article has a Distribution: header, that |
| 2884 |
header is used. Else if \fBdefault\fP is specified (or |
| 2885 |
\fIdistribution\fP is omitted), the value of |
| 2886 |
\fBdefault-distribution\fP is used. And finally, if only a |
| 2887 |
\fIdistribution\fP (any word) is specified that is used as the default. |
| 2888 |
.br |
| 2889 |
- Then if \fBask\fP is specified, the user will be asked to confirm |
| 2890 |
the default distribution or provide another distribution. However, if |
| 2891 |
\fBalways\fP (and \fBsame\fP) is specified, and the default was taken |
| 2892 |
from the original article's distribution, the original distribution is |
| 2893 |
used \fIwithout\fP confirmation. |
| 2894 |
.br |
| 2895 |
The default value of \fBfollow-distribution\fP is \fBalways\fP |
| 2896 |
\fBsame\fP \fBdefault\fP, i.e. use either the original distribution or |
| 2897 |
the \fBdefault-distribution\fP without confirmation in either case. |
| 2898 |
.TP |
| 2899 |
\fBfrom-line-parsing\fP \fIstrictness\fP (integer, default 2) |
| 2900 |
Specifies how strict \fInn\fP must parse a "From " line in a folder to |
| 2901 |
recognize it as a mail format message separator line. The following |
| 2902 |
strictness values determine whether a line starting with "From " will |
| 2903 |
be recognized as a separator line: |
| 2904 |
.nf |
| 2905 |
0: Always. |
| 2906 |
1: Line must have at least 8 fields. |
| 2907 |
2: Line must contain a valid date and time (ctime style). |
| 2908 |
.fi |
| 2909 |
.TP |
| 2910 |
\fBfsort\fP (boolean, default true) |
| 2911 |
When set, folders are sorted alphabetically according to the subject |
| 2912 |
(and age). |
| 2913 |
Otherwise, the articles in |
| 2914 |
a folder will be presented in the sequence in which they were saved. |
| 2915 |
.TP |
| 2916 |
\fBguard-double-slash\fP (boolean, default false) |
| 2917 |
Normally, when entering a file name, entering two slashes `//' in a |
| 2918 |
row (or following a slash by a plus `/+') will cause \fInn\fP to |
| 2919 |
erase the entire line and replace it with the `/' (or `+'). On some |
| 2920 |
systems, two slashes are used in network file names, and on those |
| 2921 |
systems \fBguard-double-slash\fP can be set; that will cause \fInn\fP |
| 2922 |
to require \fIthree\fP slashes in a row to clear the input. |
| 2923 |
.TP |
| 2924 |
\fBheader-lines\fP \fIlist\fP (string, no default) |
| 2925 |
When set, it determines the list of header fields that are shown when |
| 2926 |
an article is read instead of the normal one line header showing the |
| 2927 |
author and subject. See the full description in the section on |
| 2928 |
Customized Article Headers below. |
| 2929 |
.TP |
| 2930 |
\fBhelp-key\fP \fIkey\fP (key, default \fB?\fP) |
| 2931 |
The key which ends the current completion and gives a list of possible |
| 2932 |
completions for the next component |
| 2933 |
when \fInn\fP is prompting for a string, e.g. a file name. |
| 2934 |
.TP |
| 2935 |
\fBignore-re\fP (boolean, default false) |
| 2936 |
If set, articles with subjects already seen in a previous |
| 2937 |
invocation of nn or another newsreader - and not auto-selected - |
| 2938 |
are automatically killed. A great way to read even less news! |
| 2939 |
.TP |
| 2940 |
\fBignore-xon-xoff\fP (boolean, default false) |
| 2941 |
Normally, \fInn\fP will ignore ^S and ^Q in the input from the |
| 2942 |
terminal (if they are not handled in the tty driver). Setting this |
| 2943 |
variable will treat these characters as normal input. |
| 2944 |
.TP |
| 2945 |
\fBinclude-art-id\fP (boolean, default false) |
| 2946 |
The first line in a response with included material normally reads |
| 2947 |
\&"...somebody... writes:" without a reference to the specific article |
| 2948 |
from which the quotation was taken (this is found in the References: |
| 2949 |
line). When this variable is set, the line will also include the |
| 2950 |
article id of the referenced article: "In ...article... ... writes:". |
| 2951 |
.TP |
| 2952 |
\fBinclude-full-header\fP (boolean, default false) |
| 2953 |
When set, the \fBmail\fP (M) command will always include the full |
| 2954 |
header of the original article. If it is not set, it only includes |
| 2955 |
the header when the article is forwarded without being edited. |
| 2956 |
.TP |
| 2957 |
\fBinclude-mark-blank-lines\fP (boolean, default false) |
| 2958 |
When set, the \fBincluded-mark\fP is placed on blank lines in included |
| 2959 |
articles. Otherwise, blank lines are left blank (to make it easy to |
| 2960 |
delete whole paragraphs with `d}' in vi and `C-@ M-] C-W' in emacs). |
| 2961 |
.TP |
| 2962 |
\fBincluded-mark\fP \fIstring\fP (string, default ">") |
| 2963 |
This string is prefixed to all lines in the original article that are |
| 2964 |
included in a reply or a follow-up. (Now you have the possibility to |
| 2965 |
change it, but please don't. Lines with a mixture of prefixes like |
| 2966 |
.br |
| 2967 |
: orig-> <> } ] #- etc. |
| 2968 |
.br |
| 2969 |
are very difficult to comprehend. Let's all use the standard folks! |
| 2970 |
(And hack inews if it is the 50% rule that bothers you.) |
| 2971 |
.TP |
| 2972 |
\fBinews\fP \fIshell-command\fP (string, default "INEWS_PATH -h") |
| 2973 |
The program which is invoked by \fInn\fP to deliver an article to the |
| 2974 |
news transport. The program will be given a complete article |
| 2975 |
including a header containing the newsgroups to which the article is |
| 2976 |
to be posted. See also \fBinews-pipe-input\fP. It is \fInot\fP used |
| 2977 |
when cancelling an article! |
| 2978 |
.TP |
| 2979 |
\fBinews-pipe-input\fP (boolean, default true) |
| 2980 |
When set, the article to be posted will be piped into the \fBinews\fP |
| 2981 |
program. Otherwise, the file containing the article will be given as |
| 2982 |
the first (and only) argument to the \fBinews\fP command. |
| 2983 |
.TP |
| 2984 |
\fBinitial-newsrc-file\fP \fIfile\fP (string, default '.defaultnewsrc') |
| 2985 |
Defines the name of a file which is used as the initial .newsrc file |
| 2986 |
for new users. The name may be a full path name, or as the default a |
| 2987 |
file name which will be looked for in a number of places: |
| 2988 |
in the standard news lib directory (where it can be shared with other |
| 2989 |
news readers), |
| 2990 |
in nn's lib directory, |
| 2991 |
and in the database directory. |
| 2992 |
Groups which are not present in the initial .newsrc file will be |
| 2993 |
automatically unsubscribed provided \fBnew-group-action\fP is set to a |
| 2994 |
value allowing unsubscribed groups to be omitted from .newsrc. |
| 2995 |
.TP |
| 2996 |
\fBkeep-backup-folder\fP (boolean, default false) |
| 2997 |
When set, the backup folder (see \fBbackup-folder-path\fP) created |
| 2998 |
when removing deleted articles from a folder is not removed. |
| 2999 |
Notice that a backup folder is not created if all articles are removed |
| 3000 |
from a folder! |
| 3001 |
.TP |
| 3002 |
\fBkeep-unsubscribed\fP (boolean, default true) |
| 3003 |
When set, unsubscribed groups are kept in .newsrc. If not set, |
| 3004 |
\fInn\fP will automatically remove all unsubscribed from .newsrc if |
| 3005 |
\fBtidy-newsrc\fP is set. See also \fBunsubscribe-mark-read\fP. |
| 3006 |
.TP |
| 3007 |
\fBkill\fP (boolean, default true) |
| 3008 |
If set, \fInn\fP performs automatic kill and selection based on the |
| 3009 |
.I kill |
| 3010 |
file. |
| 3011 |
.TP |
| 3012 |
\fBkill-debug\fP (boolean, default false) |
| 3013 |
When set, \fInn\fP will display a trace of the auto-kill/select |
| 3014 |
process on entry to a group. |
| 3015 |
It is automatically turned off if `q' is entered as the answer to a |
| 3016 |
"hit any key" prompt during the debug output. |
| 3017 |
.TP |
| 3018 |
\fBkill-key\fP \fIkey\fP (key, default tty kill key) |
| 3019 |
The key which deletes the current line |
| 3020 |
when \fInn\fP is prompting for a string, e.g. a file name. |
| 3021 |
.TP |
| 3022 |
\fBkill-reference-count\fP \fIN\fP (integer, default 0) |
| 3023 |
When this variable is non-zero, all articles which have \fIN\fP or |
| 3024 |
more references on the References: line (corresponding to the number |
| 3025 |
of >>'s on the menu line) will be auto-killed if they are not |
| 3026 |
auto-selected (or preserved) via an entry in the kill file. It should |
| 3027 |
probably not be used globally for all groups, but can be set on a |
| 3028 |
per-group via the entry macros. |
| 3029 |
.TP |
| 3030 |
\fBlayout\fP \fInumber\fP (integer, default 1) |
| 3031 |
Set the menu layout. The argument must be a number between 0 and 4. |
| 3032 |
.TP |
| 3033 |
\fBlimit\fP \fImax-articles\fP (integer, default infinite) |
| 3034 |
.I Limit |
| 3035 |
the maximum number of articles presented in each group to |
| 3036 |
.I max-articles. |
| 3037 |
The default is to present |
| 3038 |
.I all |
| 3039 |
unread articles no matter how many there are. Setting this variable, |
| 3040 |
only the most recent |
| 3041 |
.I max-articles |
| 3042 |
articles will be presented, but all the articles will still be marked |
| 3043 |
as read. This is useful to get up-to-date quickly if you have not |
| 3044 |
read news for a longer period. |
| 3045 |
.TP |
| 3046 |
\fBlines\fP \fIlin\fP (integer, default screen height) |
| 3047 |
This variable contains the screen height i.e. number of lines. |
| 3048 |
.TP |
| 3049 |
\fBlong-menu\fP (boolean, default false) |
| 3050 |
If set \fInn\fP will not put an empty line after the header line and |
| 3051 |
an empty line before the prompt line; this gives you two extra menu |
| 3052 |
lines. |
| 3053 |
.TP |
| 3054 |
\fBmacro-debug\fP (boolean, default false) |
| 3055 |
If set \fInn\fP will trace the execution of all macros. Prior to the |
| 3056 |
execution of each command or operation in a macro, it will show the |
| 3057 |
name of the command or the input string or key stroke at the bottom of |
| 3058 |
the screen. |
| 3059 |
.TP |
| 3060 |
\fBmail\fP \fIfile\fP (string, default not set) |
| 3061 |
\fIfile\fP must be a full path name of a file. If defined, \fInn\fP will |
| 3062 |
check for arrival of new mail every minute or so by looking at the |
| 3063 |
specified file. |
| 3064 |
.TP |
| 3065 |
\fBmail-alias-expander\fP \fIprogram\fP (string, default not set) |
| 3066 |
When set, aliases used in mail responses may be expanded by the |
| 3067 |
specified \fIprogram\fP. The program will be given the completed |
| 3068 |
response in a file as its only argument, and the aliases should be |
| 3069 |
expanded directly in this file (of course the \fIprogram\fP may use |
| 3070 |
temporary files and other means to expand the aliases as long the the |
| 3071 |
result is stored in the provided file). |
| 3072 |
.br |
| 3073 |
Notice: currently there are no alias expanders delivered with \fInn\fP. |
| 3074 |
.br |
| 3075 |
Warning: Errors in the expansion process may lead to the response |
| 3076 |
not being sent. |
| 3077 |
.TP |
| 3078 |
\fBmail-format\fP (boolean, default false) |
| 3079 |
When set, \fInn\fP will save articles in a format that is compatible |
| 3080 |
with normal mail folders. |
| 3081 |
Unless \fBfolder-format-check\fP is false, it is only used to specify |
| 3082 |
the format used when new folders are created. |
| 3083 |
This variable is ignored if \fBmmdf-format\fP is set. |
| 3084 |
.TP |
| 3085 |
\fBmail-header\fP \fIheaders\fP (string, default not set) |
| 3086 |
The \fIheaders\fP string specifies one or more extra header lines |
| 3087 |
(separated by semi-colons `;') which are added to the header of mail |
| 3088 |
sent from \fInn\fP using the \fBreply\fP and \fBmail\fP commands. For |
| 3089 |
example: |
| 3090 |
.nf |
| 3091 |
set mail-header Reply-To: [email protected];Organization: TI - DK |
| 3092 |
.fi |
| 3093 |
To include a semicolon `;' in a header, precede it by a backslash (which |
| 3094 |
must be doubled because of the conventions for entering strings). |
| 3095 |
.TP |
| 3096 |
\fBmail-record\fP \fIfile\fP (string, default not set) |
| 3097 |
\fIfile\fP must be a full path name of a file. If defined, all replies and |
| 3098 |
mail will be saved in this file in standard |
| 3099 |
.I mailbox |
| 3100 |
format, i.e. you can use you favourite mailer (and \fInn\fP) to look at |
| 3101 |
the file. |
| 3102 |
.TP |
| 3103 |
\fBmail-script\fP \fIfile\fP (string, default not set) |
| 3104 |
When set, \fInn\fP will use the specified file instead of the standard |
| 3105 |
\fIaux\fP script when executing the \fBreply\fP and \fBmail\fP |
| 3106 |
commands. |
| 3107 |
.TP |
| 3108 |
\fBmailer\fP \fIshell-command\fP (string, default REC_MAIL) |
| 3109 |
The program which is invoked by \fInn\fP to deliver a message to the |
| 3110 |
mail transport. The program will be given a complete mail message |
| 3111 |
including a header containing the recipient's address. See also |
| 3112 |
\fBmailer-pipe-input\fP. |
| 3113 |
.TP |
| 3114 |
\fBmailer-pipe-input\fP (boolean, default true) |
| 3115 |
When set, the message to be sent will be piped into the \fBmailer\fP |
| 3116 |
program. Otherwise, the file containing the message will be given as |
| 3117 |
the first (and only) argument to the \fBmailer\fP command. |
| 3118 |
.TP |
| 3119 |
\fBmarked-by-next-group\fP \fIN\fP (integer, default 0) |
| 3120 |
Specifies the amount of (unmarked) articles on the menu marked |
| 3121 |
\fIseen\fP by the \fBN\fP {\fBnext-group\fP} command in selection |
| 3122 |
mode. See \fBmarked-by-read-skip\fP for possible values of \fIN\fP. |
| 3123 |
.TP |
| 3124 |
\fBmarked-by-read-return\fP \fIN\fP (integer, default 0) |
| 3125 |
Specifies the amount of (unmarked) articles on the menu marked |
| 3126 |
\fIseen\fP by the \fBZ\fP {\fBread-return\fP} command in selection |
| 3127 |
mode. See \fBmarked-by-read-skip\fP for possible values of \fIN\fP. |
| 3128 |
.TP |
| 3129 |
\fBmarked-by-read-skip\fP \fIN\fP (integer, default 4) |
| 3130 |
Specifies the amount of (unmarked) articles on the menu marked |
| 3131 |
\fIseen\fP by the \fBX\fP {\fBread-skip\fP} command in selection mode. |
| 3132 |
The following values of \fIN\fP are recognized: |
| 3133 |
.nf |
| 3134 |
0: No articles are marked seen |
| 3135 |
1: Current page is marked seen |
| 3136 |
2: Previous pages are marked seen |
| 3137 |
3: Previous and current pages are marked seen |
| 3138 |
4: All pages are marked seen |
| 3139 |
.fi |
| 3140 |
.TP |
| 3141 |
\fBmark-overlap\fP (boolean, default false) |
| 3142 |
When set, \fInn\fP will draw a line (using the underline capabilities |
| 3143 |
of the terminal if possible) to indicate the end of the overlap (see the |
| 3144 |
\fBoverlap\fP variable). |
| 3145 |
.TP |
| 3146 |
\fBmark-overlap-shading\fP (boolean, default false) |
| 3147 |
When set, \fInn\fP will \fIshade\fP overlapping lines (see the |
| 3148 |
\fBoverlap\fP variable) using the attributes defined by the |
| 3149 |
\fBshading-on\fP and \fBshading-off\fP variables (of if not set, with |
| 3150 |
the underline attribute). This is typically used to give overlapping |
| 3151 |
lines a different colour on terminals which have this capability. |
| 3152 |
.TP |
| 3153 |
\fBmenu-spacing\fP \fImode\fP (integer, default 0) |
| 3154 |
When \fImode\fP is a non-zero number as described below, \fInn\fP will |
| 3155 |
add blank lines between the lines on the menu to increase readability |
| 3156 |
at the cost of presenting fewer articles on each page. The following |
| 3157 |
values of \fImode\fP are recognized: |
| 3158 |
.nf |
| 3159 |
0: Don't add blank lines between menu lines. |
| 3160 |
1: Add a blank line between articles with \fIdifferent\fP subjects. |
| 3161 |
2: Add a blank line between \fIall\fP articles. |
| 3162 |
.fi |
| 3163 |
.TP |
| 3164 |
\fBmerge-report-rate\fP \fIrate\fP (integer, default 1) |
| 3165 |
When \fInn\fP is invoked with the -m option (directly or via |
| 3166 |
\fInngrap\fP), a status report of the merging process is displayed and |
| 3167 |
updated on the screen every \fIrate\fP seconds. The report contains |
| 3168 |
the time used so far and an estimate of the time needed to complete |
| 3169 |
the merge. |
| 3170 |
.TP |
| 3171 |
\fBmessage-history\fP \fIN\fP (integer, default 15) |
| 3172 |
Specifies the maximum number, \fIN\fP, of older messages which can be |
| 3173 |
recalled with the \fB^P\fP {\fBmessage\fP} command. |
| 3174 |
.TP |
| 3175 |
\fBmin-window\fP \fIsize\fP (integer, default 7) |
| 3176 |
When the \fBwindow\fP variable is not set, \fInn\fP will clear the |
| 3177 |
screen to preview an article if there are less than \fIsize\fP unused |
| 3178 |
lines at the bottom of the menu screen. |
| 3179 |
.TP |
| 3180 |
\fBmmdf-format\fP (boolean, default false) |
| 3181 |
When set, \fInn\fP will save articles in MMDF format. |
| 3182 |
Unless \fBfolder-format-check\fP is false, it is only used to specify |
| 3183 |
the format used when new folders are created. |
| 3184 |
.TP |
| 3185 |
\fBmonitor\fP (boolean, default false) |
| 3186 |
When set, \fInn\fP will show |
| 3187 |
.I all |
| 3188 |
characters in the received messages using a "cat -v" like format. |
| 3189 |
Otherwise, only the printable characters are shown (default). |
| 3190 |
.TP |
| 3191 |
\fBmotd\fP (boolean, default true) |
| 3192 |
When set, \fInn\fP will display the \fImessage of the day\fP on |
| 3193 |
start-up if it has changed since it was last shown. The message is |
| 3194 |
taken from the file "motd" in the lib directory. It can also be shown |
| 3195 |
(again) using the \fB:motd\fP command. |
| 3196 |
.TP |
| 3197 |
\fBmulti-key-guard-time\fP \fItimeout\fP (integer, default 2) |
| 3198 |
When reading a multi-key sequence from the keyboard, \fInn\fP will |
| 3199 |
expect the characters constituting the multi-key to arrive "quickly" |
| 3200 |
after each other. When a partial multi-key sequence is read, |
| 3201 |
\fInn\fP will wait (at least) \fItimeout\fP tenths of a second for |
| 3202 |
each of the following characters to arrive to complete the multi-key |
| 3203 |
sequence. If the multi-key sequence is \fInot\fP completed within |
| 3204 |
this period, \fInn\fP will read the partial multi-key sequence as |
| 3205 |
individual characters instead. This way it is still possible to use |
| 3206 |
for example the ESC key on a terminal with vt100 like arrow keys. |
| 3207 |
When \fInn\fP is used via an rlogin connection, you may have to |
| 3208 |
increase the timeout to get reliable recognition of multi-keys. |
| 3209 |
.TP |
| 3210 |
\fBnew-group-action\fP \fIaction\fP (integer, default 3) |
| 3211 |
This variable controls how new groups are treated by \fInn\fP. It is |
| 3212 |
an integer variable, and the following values can be used. Some of |
| 3213 |
these actions (marked with an *) will only work when |
| 3214 |
\fBkeep-unsubscribed\fP is set, since the presence of a group in |
| 3215 |
\&.newsrc is the only way to recognize it as an old group: |
| 3216 |
.sp 0.5v |
| 3217 |
\fB0\fP) Ignore groups which are not in \&.newsrc. This will obviously |
| 3218 |
include new groups. |
| 3219 |
.sp 0.5v |
| 3220 |
\fB1\fP*) Groups not in \&.newsrc are considered to be new, and are |
| 3221 |
inserted at the beginning of the \&.newsrc file. |
| 3222 |
.sp 0.5v |
| 3223 |
\fB2\fP*) Groups not in \&.newsrc are considered to be new, and are |
| 3224 |
appended to the end of the \&.newsrc file. |
| 3225 |
.sp 0.5v |
| 3226 |
\fB3\fP) New groups are recognized via a time-stamp saved in the |
| 3227 |
file \&.nn/LAST and in the database, i.e. it is not dependent on the |
| 3228 |
groups currently in \&.newsrc. The new groups are automatically |
| 3229 |
appended to \&.newsrc with subscription. Old groups not present in |
| 3230 |
\&.newsrc will be considered to be unsubscribed. |
| 3231 |
.sp 0.5v |
| 3232 |
\fB4\fP) As \fB3\fP, but the user is asked to confirm that the new |
| 3233 |
group should be appended to \&.newsrc. If rejected, the group will not |
| 3234 |
be appended to \&.newsrc, and thus be regarded as unsubscribed. |
| 3235 |
.sp 0.5v |
| 3236 |
\fB5\fP) As \fB4\fP, except that the information is stored in a |
| 3237 |
format compatible with the \fIrn\fP news reader (\&.rnlast). This needs |
| 3238 |
to be tested! |
| 3239 |
.TP |
| 3240 |
\fBnew-style-read-prompt\fP (boolean, default true) |
| 3241 |
When set, the reading mode prompt line includes the group name and the |
| 3242 |
number of selected articles in the group. |
| 3243 |
.TP |
| 3244 |
\fBnews-header\fP \fIheaders\fP (string, default not set) |
| 3245 |
The \fIheaders\fP string specifies one or more extra header lines |
| 3246 |
(separated by semi-colons `;') which are added to the header of |
| 3247 |
articles posted from \fInn\fP using the \fBfollow\fP and \fBpost\fP |
| 3248 |
commands. See \fBmail-header\fP for an example. |
| 3249 |
.TP |
| 3250 |
\fBnews-record\fP \fIfile\fP (string, default not set) |
| 3251 |
Save file for follow-ups and postings. Same rules and format as the |
| 3252 |
\fBmail-record\fP variable. |
| 3253 |
.TP |
| 3254 |
\fBnews-script\fP \fIfile\fP (string, default not set) |
| 3255 |
When set, \fInn\fP will use the specified file instead of the standard |
| 3256 |
\fIaux\fP script when executing the \fBfollow\fP and \fBpost\fP |
| 3257 |
commands. |
| 3258 |
.TP |
| 3259 |
\fBnewsrc\fP \fIfile\fP (string, default "~/.newsrc") Specifies the |
| 3260 |
file used by \fInn\fP to register which groups and articles have been |
| 3261 |
read. The default setting corresponds to the \&.newsrc file used by |
| 3262 |
other news readers. Notice that \fInn\fP release 6.4 onwards |
| 3263 |
\fIdoes allow\fP individual articles to be marked unread, and some |
| 3264 |
articles marked unread, and thus no longer messes up \&.newsrc for |
| 3265 |
other news readers! |
| 3266 |
.TP |
| 3267 |
\fBnn-directory\fP \fIdirectory\fP (string, default "~/.nn") |
| 3268 |
It only makes sense to set this variable on the command line, |
| 3269 |
e.g. "nn-directory=$HOME/.nn2" |
| 3270 |
since it is looked at before the init file is read. It must be |
| 3271 |
set to a full pathname. Usually set when using multiple servers; |
| 3272 |
see \fInewsrc\fP above and \fInntp-server\fP below. |
| 3273 |
.TP |
| 3274 |
\fBnntp-cache-dir\fP \fIdirectory\fP (string, default "~/.nn") |
| 3275 |
When NNTP is used, \fInn\fP needs to store articles temporarily on |
| 3276 |
disk. This variable specifies which directory \fInn\fP will use to |
| 3277 |
hold these files. The default value may be changed during |
| 3278 |
configuration. This variable can only be set in the init file. |
| 3279 |
.TP |
| 3280 |
\fBnntp-cache-size\fP \fIsize\fP (integer, default 10, maximum 10) |
| 3281 |
Specifies the number of temporary files in the nntp cache. The |
| 3282 |
default and maximum values may be changed during configuration. |
| 3283 |
.TP |
| 3284 |
\fBnntp-debug\fP (boolean, default false) |
| 3285 |
When set, a trace of the nntp related traffic is displayed in the |
| 3286 |
message line on the screen. |
| 3287 |
.TP |
| 3288 |
\fBnntp-forceauth\fP (boolean, default false) |
| 3289 |
When set, forces nn to authenticate, even when the nntp server |
| 3290 |
doesn't request it |
| 3291 |
.TP |
| 3292 |
\fBnntp-password\fP (string, default not set) |
| 3293 |
The users nntp password |
| 3294 |
.TP |
| 3295 |
\fBnntp-server\fP \fIhostname\fP or \fIfilename\fP\fP (string) |
| 3296 |
It only makes sense to set this variable on the command line, |
| 3297 |
e.g. "nntp-server=news.some.domain", |
| 3298 |
since it is looked at before the init file, |
| 3299 |
If you use multiple servers, you probably want to set the |
| 3300 |
\fInn-directory\fP and \fInewsrc\fP variables on the command line to |
| 3301 |
alternate names as well, since some of the data files are server dependent. |
| 3302 |
.TP |
| 3303 |
\fBnntp-user\fP (string, default not set) |
| 3304 |
The users nntp username |
| 3305 |
.TP |
| 3306 |
\fBold\fP [\fImax-articles\fP] (integer, default not set) |
| 3307 |
When |
| 3308 |
.B old |
| 3309 |
is set, \fInn\fP will present (or scan) all (or the last |
| 3310 |
\fImax-articles\fP) unread as well as |
| 3311 |
read articles. While |
| 3312 |
.B old |
| 3313 |
is set, \fInn\fP will |
| 3314 |
.I never |
| 3315 |
mark any unread articles as read. |
| 3316 |
.TP |
| 3317 |
\fBold-packname\fP (boolean, default false) |
| 3318 |
When set, nn display names identically to nn-6.6.5 (and earlier). Only set |
| 3319 |
this if you have a large number of entries in your killfile that no longer |
| 3320 |
work due to the new behaviour. Note that in the long run, this option will |
| 3321 |
go away, so it's best to update your killfile rather than set this. |
| 3322 |
.TP |
| 3323 |
\fBorig-to-include-mask\fP \fIN\fP (integer, default 3) |
| 3324 |
When replying to an article, \fInn\fP will include some of the header |
| 3325 |
lines which may be used to construct a proper mail address for the |
| 3326 |
poster of the original article. These addresses are placed on |
| 3327 |
\fIOrig-To:\fP lines in the reply header and will automatically be |
| 3328 |
removed before the letter is sent. This variable specifies which |
| 3329 |
headers from the article are included; its value \fIN\fP is the sum of |
| 3330 |
the following values: |
| 3331 |
.nf |
| 3332 |
1: \fIReply-To:\fP |
| 3333 |
2: \fIFrom:\fP |
| 3334 |
4: \fIPath:\fP |
| 3335 |
.fi |
| 3336 |
.TP |
| 3337 |
\fBoverlap\fP \fIlines\fP (integer, default 2) |
| 3338 |
Specifies the number of overlapping lines from one page to the next |
| 3339 |
when paging through an article in reading mode. |
| 3340 |
The last line from the previous page |
| 3341 |
will be underlined if the terminal has that capability. |
| 3342 |
.TP |
| 3343 |
\fBpager\fP \fIshell-command\fP (string, default $PAGER) |
| 3344 |
This is the pager used by the \fB:admin\fP command (and \fInnadmin\fP) |
| 3345 |
when it executes certain commands, e.g. grepping in the Log file. |
| 3346 |
.TP |
| 3347 |
\fBpatch-command\fP \fIshell-command\fP (string, default "patch -p0") |
| 3348 |
This is the command which is invoked by the \fB:patch\fP command. |
| 3349 |
.TP |
| 3350 |
\fBpost-distribution\fP \fIwords\fP (string, default see below) |
| 3351 |
This variable controls how the Distribution: header is constructed |
| 3352 |
when posting an original article. Its value is a list of |
| 3353 |
\fIwords\fP selected from the following list: |
| 3354 |
.sp 0.5v |
| 3355 |
[ \fBask\fP ] [ \fBdefault\fP | \fIdistribution\fP ] |
| 3356 |
.sp 0.5v |
| 3357 |
This is interpreted in two steps: |
| 3358 |
.br |
| 3359 |
- First the default distribution is determined. If \fBdefault\fP is |
| 3360 |
specified (or \fIdistribution\fP is omitted), the value of |
| 3361 |
\fBdefault-distribution\fP is used. Otherwise, the specified |
| 3362 |
\fIdistribution\fP (any word) is used as the default. |
| 3363 |
.br |
| 3364 |
- Then if \fBask\fP is specified, the user will be asked to confirm |
| 3365 |
the default distribution or provide another distribution. |
| 3366 |
.br |
| 3367 |
The default value of \fBpost-distribution\fP is \fBask\fP |
| 3368 |
\fBdefault\fP, i.e. use the \fBdefault-distribution\fP with |
| 3369 |
confirmation from the user. |
| 3370 |
.TP |
| 3371 |
\fBpreview-continuation\fP \fIcond\fP (integer, default 12) |
| 3372 |
This variable determines on what terms the following article should be |
| 3373 |
automatically shown when previewing an article, and the |
| 3374 |
\fBnext-article\fP command is used, or \fBcontinue\fP is used at the |
| 3375 |
end of the article. The following values |
| 3376 |
can be used: |
| 3377 |
.br |
| 3378 |
\fB0\fP \- never show the next article (return to the menu). |
| 3379 |
.br |
| 3380 |
\fB1\fP \- always show the next article (use 'q' to return to the menu). |
| 3381 |
.br |
| 3382 |
\fB2\fP \- show the next article if it has the same subject as the |
| 3383 |
current article, else return to the menu. |
| 3384 |
.br |
| 3385 |
The value should be the \fIsum\fP of two values: one for the action |
| 3386 |
after using \fBcontinue\fP on the last page of the article, and one |
| 3387 |
for the action performed when the \fBnext-article\fP command is used |
| 3388 |
\fImultiplied by 10\fP. |
| 3389 |
.TP |
| 3390 |
\fBpreview-mark-read\fP (boolean, default true) |
| 3391 |
When set, previewing an article will mark the article as read. |
| 3392 |
.TP |
| 3393 |
\fBprevious-also-read\fP (boolean, default true) |
| 3394 |
When set, going back to the previously read group with \fBP\fP |
| 3395 |
{\fBprevious\fP} will include articles read in the current invocation |
| 3396 |
of \fInn\fP even if there are still unread articles in the group. |
| 3397 |
.TP |
| 3398 |
\fBprint-header-lines\fP \fIfields\fP (string, default "FDGS") |
| 3399 |
Specifies the list of header fields that are output when |
| 3400 |
an article is printed via the \fB:print\fP command and |
| 3401 |
\fBprint-header-type\fP is 1 (short header). The \fIfields\fP |
| 3402 |
specification is described |
| 3403 |
in the section on Customized Article Headers below. |
| 3404 |
.TP |
| 3405 |
\fBprint-header-type\fP \fIN\fP (integer, default 1) |
| 3406 |
Specifies what kind of header is printed by the \fB:print\fP command, |
| 3407 |
corresponding to the three \fBsave-*\fP commands: \fI0\fP prints only |
| 3408 |
the article body (no header), \fI1\fP prints a short header, |
| 3409 |
and \fI2\fP prints the full article header. |
| 3410 |
.TP |
| 3411 |
\fBprinter\fP \fIshell-command\fP (string, default is system dep.) |
| 3412 |
This is the default value for the |
| 3413 |
.B print |
| 3414 |
command. It should include an option which prevents the spooler from |
| 3415 |
echoing a job-id or similar to the terminal to avoid problems with |
| 3416 |
screen handling (e.g. lp -s on System V). |
| 3417 |
.TP |
| 3418 |
\fBquery-signature\fP (boolean, default ...) |
| 3419 |
Will cause \fInn\fP to require confirmation before appending |
| 3420 |
the \&.signature file to out-going mail or news if the corresponding |
| 3421 |
\fBappend-sig-\fP... variable is set. |
| 3422 |
.TP |
| 3423 |
\fBquick-count\fP (boolean, default true) |
| 3424 |
When set, calculating the total number of unread articles at start-up |
| 3425 |
is done by simple subtracting the first unread article number from the |
| 3426 |
total number of articles in each group. This is very fast, and fairly |
| 3427 |
accurate but it may be a bit too large. If not set, each line in |
| 3428 |
\&.newsrc will be interpreted to count every unread article, thus giving |
| 3429 |
a very accurate number. This variable is also used by \fInncheck\fP. |
| 3430 |
.TP |
| 3431 |
\fBquick-save\fP (boolean, default false) |
| 3432 |
When set, \fInn\fP will not prompt for a file name when an article is |
| 3433 |
saved (unless it belongs to a folder). |
| 3434 |
Instead it uses the save file specified for the current group in the |
| 3435 |
init file or the default save file. |
| 3436 |
.TP |
| 3437 |
\fBre-layout\fP \fIN\fP (integer, default 0) |
| 3438 |
Normally on the menu, \fInn\fP will prefix the subject a number of |
| 3439 |
`>'s corresponding to the number of references on the References: |
| 3440 |
line. The \fBre-layout\fP variable may be set to use a different |
| 3441 |
prefix on the subjects: |
| 3442 |
.nf |
| 3443 |
0: One `>' per reference is shown (default). |
| 3444 |
1: A single `>' is shown if the Subject contains Re:. |
| 3445 |
2: The number of references is shown as `n>' |
| 3446 |
3: A single Re: is shown. |
| 3447 |
4: If any references use layout 0, else layout 1. |
| 3448 |
.fi |
| 3449 |
.TP |
| 3450 |
\fBre-layout-read\fP \fIN\fP (integer, default -1) |
| 3451 |
When the \fBheader-lines\fP variable is not set, or contains the "*" |
| 3452 |
field specifier, a line similar to the menu line will be used as the |
| 3453 |
header of the article in reading mode, including the sender's name and |
| 3454 |
the article's subject. When this variable is negative, the subject |
| 3455 |
on this header line will be prefixed according to the \fBre-layout\fP |
| 3456 |
variable. Otherwise, it will define the format of the "Re:" prefix to |
| 3457 |
be used instead of the \fBre-layout\fP used on the menu. |
| 3458 |
.TP |
| 3459 |
\fBread-return-next-page\fP (boolean, default false) |
| 3460 |
When set, the \fBZ\fP {\fBread-return\fP} command will return to the |
| 3461 |
\fInext\fP menu page rather than the current menu page. |
| 3462 |
.TP |
| 3463 |
\fBrecord\fP \fIfile\fP (string, no default) |
| 3464 |
Setting this |
| 3465 |
.I pseudo |
| 3466 |
variable will set both the \fBmail-record\fP and the |
| 3467 |
\fBnews-record\fP variables to the specified pathname. |
| 3468 |
.TP |
| 3469 |
\fBrepeat\fP (boolean, default false) |
| 3470 |
When set, \fInn\fP will not eliminate duplicated subject lines on |
| 3471 |
menus (I cannot imagine why anyone should want that, but....) |
| 3472 |
.TP |
| 3473 |
\fBrepeat-group-query\fP (boolean, default false) |
| 3474 |
When set, invoking \fInn\fP with the \fB\-g\fP option will always |
| 3475 |
repeat the query for a group to enter until you quit explicitly. |
| 3476 |
(Same as setting the \fB\-r\fP option permanently). |
| 3477 |
.TP |
| 3478 |
\fBreport-cost\fP (boolean, default true) |
| 3479 |
This variable is ignored unless \fInn\fP is running with accounting |
| 3480 |
enabled (see \fInnacct\fP). When set, \fInn\fP will report the cost |
| 3481 |
of the current session and the total on exit. |
| 3482 |
.TP |
| 3483 |
\fBresponse-check-pause\fP \fIpause\fP (integer, default 2) |
| 3484 |
Specifies the number of seconds to wait after posting an article to |
| 3485 |
see whether the action *might* have failed. Some commands run in the |
| 3486 |
background and may thus not have completed during this period, so even |
| 3487 |
when \fInn\fP says "Article posted", it may still fail (in which case |
| 3488 |
you are informed via mail). |
| 3489 |
.TP |
| 3490 |
\fBresponse-default-answer\fP \fIaction\fP (string, default "send") |
| 3491 |
The default action to be taken when hitting \fBreturn\fP to the |
| 3492 |
"response action" prompt (abort, edit, send, view, write). If it is |
| 3493 |
unset, no default action is defined. |
| 3494 |
.TP |
| 3495 |
\fBretain-seen-status\fP (boolean, default false) |
| 3496 |
Normally, seen articles will just be unread the next time the group is |
| 3497 |
entered (unless they were marked read by \fBauto-junk-seen\fP). If |
| 3498 |
\fBretain-seen-status\fP is set, the seen attribute on the articles |
| 3499 |
will survive to the next time the group is entered. (This is not |
| 3500 |
recommended because it may result in very large select files). |
| 3501 |
.TP |
| 3502 |
\fBretry-on-error\fP \fItimes\fP (integer, default 0) |
| 3503 |
When set, \fInn\fP will try the specified number of \fItimes\fP to |
| 3504 |
open an article before reporting that the article does not exist |
| 3505 |
any more. This may be necessary in some network environments. |
| 3506 |
.TP |
| 3507 |
\fBsave-closed-mode\fP \fImode\fP (integer, default 13) |
| 3508 |
When saving an article in selection mode (i.e. by selecting it from |
| 3509 |
the menu), \fInn\fP will simply save the specified article if the |
| 3510 |
article's subject is \fIopen\fP. When the selected menu entry is a |
| 3511 |
closed subject, the \fBsave-closed-mode\fP variable determines how |
| 3512 |
many articles among the closed articles should be saved: |
| 3513 |
.nf |
| 3514 |
0: save root article (the one on the menu) only |
| 3515 |
1: save selected articles within subject |
| 3516 |
2: save unread (excl selected) articles within subject |
| 3517 |
3: save selected+unread articles within subject |
| 3518 |
4: save all articles within subject |
| 3519 |
.fi |
| 3520 |
If `10' is added to the above values, \fInn\fP will not save the |
| 3521 |
selected subject immediately; instead it will ask which articles |
| 3522 |
to save using the above value as the default answer. |
| 3523 |
.TP |
| 3524 |
\fBsave-counter\fP \fIformat\fP (string, default "%d") |
| 3525 |
This is the printf-format which \fInn\fP uses to create substitution |
| 3526 |
string for the trailing * in save file names. You can set this to |
| 3527 |
more complex formats if you like, but be sure that it will produce |
| 3528 |
different strings for different numbers. An alternative format which |
| 3529 |
seems to be popular is ".%02d" . |
| 3530 |
.TP |
| 3531 |
\fBsave-counter-offset\fP \fIN\fP (integer, default 0) |
| 3532 |
Normally, file names created with the \fIpart.*\fP form will |
| 3533 |
substitute the \fI*\fP with successive numbers starting from one. |
| 3534 |
Setting this variable will cause these numbers to start from \fIN\fP+1. |
| 3535 |
.TP |
| 3536 |
\fBsave-header-lines\fP \fIfields\fP (string, default "FDNS") |
| 3537 |
Specifies the list of header fields that are saved when |
| 3538 |
an article is saved via the \fBO\fP {\fBsave-short\fP} command. |
| 3539 |
The \fIfields\fP specification is described |
| 3540 |
in the section on Customized Article Headers below. |
| 3541 |
.TP |
| 3542 |
\fBsave-report\fP (boolean, default true) |
| 3543 |
When set, a message reporting the number of lines written is shown |
| 3544 |
after saving an article. Since messages are shown for a few seconds, |
| 3545 |
this may slow down the saving of many articles (e.g. using the |
| 3546 |
.B S* |
| 3547 |
command). |
| 3548 |
.TP |
| 3549 |
\fBscroll-clear-page\fP (boolean, default true) |
| 3550 |
Determines whether \fInn\fP clears the screen before showing each new |
| 3551 |
page of an article. |
| 3552 |
.TP |
| 3553 |
\fBscroll-last-lines\fP \fIN\fP (integer, default 0) |
| 3554 |
Normally, \fInn\fP will show each new page of an article from the top |
| 3555 |
of the screen (with proper marking of the overlap). When this |
| 3556 |
variable is set to a negative value, \fInn\fP will scroll the text of |
| 3557 |
the new pages from the bottom of the screen instead. If it is set to a |
| 3558 |
positive value, \fInn\fP will show pages from the top as usual, but |
| 3559 |
switch to scrolling when there are \fIless than\fP the specified |
| 3560 |
number of lines left in the article. |
| 3561 |
.TP |
| 3562 |
\fBselect-leave-next\fP (boolean, default false) |
| 3563 |
When set, you will be asked whether to select articles with the |
| 3564 |
\fBleave-next\fP attribute on entry to a group with left over |
| 3565 |
articles. |
| 3566 |
.TP |
| 3567 |
\fBselect-on-sender\fP (boolean, default false) |
| 3568 |
Specifies whether the \fBfind\fP (=) command in article selection mode |
| 3569 |
will match on the subject or the sender. |
| 3570 |
.TP |
| 3571 |
\fBshading-on\fP \fIcode\fP... (control string, default not set) |
| 3572 |
Specifies the escape code to be sent to the terminal to cause |
| 3573 |
"shading" of the following output to the screen. This is used if the |
| 3574 |
\fBmark-overlap-shading\fP is set, and by the `+' attribute in the |
| 3575 |
\fBheader-lines\fP variable. |
| 3576 |
.TP |
| 3577 |
\fBshading-off\fP \fIcode\fP... (control string, default not set) |
| 3578 |
Specifies the escape code to be sent to the terminal to turn off the |
| 3579 |
shading defined by \fBshading-on\fP. Shading will typically |
| 3580 |
be done by changing the foreground colour to change, e.g. |
| 3581 |
.sp 0.5v |
| 3582 |
.nf |
| 3583 |
on term ti924-colour |
| 3584 |
set shading-on ^[ [ 3 2 m |
| 3585 |
set shading-off ^[ [ 3 7 m |
| 3586 |
set mark-overlap-shading |
| 3587 |
unset mark-overlap |
| 3588 |
end |
| 3589 |
.fi |
| 3590 |
.TP |
| 3591 |
\fBshell\fP \fIprogram\fP (string, default $SHELL) |
| 3592 |
The shell program used to execute shell escapes. |
| 3593 |
.TP |
| 3594 |
\fBshell-restrictions\fP (boolean, default false) |
| 3595 |
When set (in the init file), \fInn\fP will not allow the user to |
| 3596 |
invoke the shell in any way, including saving on pipes. It also |
| 3597 |
prevents the user from changing certain variables containing commands. |
| 3598 |
.TP |
| 3599 |
\fBshow-purpose-mode\fP \fIN\fP (integer, default 1) |
| 3600 |
Normally, \fInn\fP will show the purpose of a group the first time it |
| 3601 |
is read, provided a purpose is known. Setting this variable, this |
| 3602 |
behaviour can be changed as follows: |
| 3603 |
.nf |
| 3604 |
0: Never show the purpose. |
| 3605 |
1: Show the purpose for new groups only. |
| 3606 |
2: Show the purpose for all groups. |
| 3607 |
.fi |
| 3608 |
.TP |
| 3609 |
\fBsign-type\fP (string, default pgp) |
| 3610 |
What program nn will use to sign messages via the Sign command. Only |
| 3611 |
\fIpgp\fP and \fIgpg\fP are currently valid. |
| 3612 |
.TP |
| 3613 |
\fBsilent\fP (boolean, default false) |
| 3614 |
When set, \fInn\fP won't print the logo or "No News" if there are no |
| 3615 |
unread articles. Only useful to set in the init file or with the |
| 3616 |
.B \-Q |
| 3617 |
option. |
| 3618 |
.TP |
| 3619 |
\fBslow-mode\fP (boolean, default false) |
| 3620 |
When set, \fInn\fP will cut down on the screen output to give better |
| 3621 |
response time at low speed. |
| 3622 |
Normally, \fInn\fP will use standout mode (if possible) to mark |
| 3623 |
selected articles on the menu, but when \fBslow-mode\fP is set, \fInn\fP will |
| 3624 |
just put an asterisk `*' next to the article identifier on selected |
| 3625 |
articles. Also when \fBslow-mode\fP is set \fInn\fP will avoid |
| 3626 |
redrawing the screen in the following cases: After a \fBgoto-group\fP |
| 3627 |
command an empty menu is shown (hit \fBspace\fP to make it appear), |
| 3628 |
and after responding to an article, only the prompt line is shown (use |
| 3629 |
^L to redraw the screen). To avoid redrawing the screen after an |
| 3630 |
extended command, set the \fBdelay-redraw\fP variable as well. |
| 3631 |
.TP |
| 3632 |
\fBslow-speed\fP \fIspeed\fP (integer, default 1200) |
| 3633 |
If the terminal is running at this baud rate or lower, the \fBon |
| 3634 |
slow\fP (see the section on init files) condition will be true, and |
| 3635 |
the \fBon fast\fP will be false (and vice-versa). |
| 3636 |
.TP |
| 3637 |
\fBsort\fP (boolean, default true) |
| 3638 |
When set, \fInn\fP will sort articles according to the current |
| 3639 |
\fBsort-mode\fP on entry to a group. Otherwise, articles will be |
| 3640 |
presented in order of arrival. |
| 3641 |
If not set on entry to a menu for merged groups, the articles from |
| 3642 |
each group will be kept together on the menu. If \fBsort\fP is unset |
| 3643 |
while merged groups are presented on the menu, the articles will be |
| 3644 |
reordered by local article number (which may not keep articles from |
| 3645 |
the same group together). |
| 3646 |
.TP |
| 3647 |
\fBsort-mode\fP \fImode\fP (integer, default 1) |
| 3648 |
The default sort algorithm used to sort the articles on entry to a |
| 3649 |
news group. It is a numeric value corresponding to one of the sorting |
| 3650 |
methods described in connection with the :sort command: |
| 3651 |
.nf |
| 3652 |
0 \- arrival (ordered by article number) |
| 3653 |
1 \- subject (subjects ordered after age of first article) |
| 3654 |
2 \- lexical (subjects in lexicographical order) |
| 3655 |
3 \- age (articles ordered after posting date only) |
| 3656 |
4 \- sender (articles ordered after sender's name) |
| 3657 |
.fi |
| 3658 |
.TP |
| 3659 |
\fBspell-checker\fP \fIshell-command\fP (string, default not set) |
| 3660 |
When set, responses can be checked for spelling mistakes via the |
| 3661 |
(i)spell action. The command to perform the spelling is given the |
| 3662 |
file containing the full article including header as its only |
| 3663 |
argument. If the spell checker can fix spelling mistakes, it must |
| 3664 |
apply the changes directly to this file. |
| 3665 |
.TP |
| 3666 |
\fBsplit\fP (boolean, default true) |
| 3667 |
When set, digests will automatically and silently be split into |
| 3668 |
sub-articles which are then handled transparently as normal articles. |
| 3669 |
Otherwise, digests are presented as one article (which you can split |
| 3670 |
on demand with the |
| 3671 |
.B G |
| 3672 |
command). |
| 3673 |
.TP |
| 3674 |
\fBstop\fP \fIlines\fP (integer, default not set) |
| 3675 |
When |
| 3676 |
.B stop |
| 3677 |
is set, \fInn\fP will only show the first \fIlines\fP lines of the |
| 3678 |
of each article |
| 3679 |
before prompting you to continue. This is useful on slow terminals and |
| 3680 |
modem lines to be able to see the first few lines of longer articles |
| 3681 |
(and skipping the rest with the |
| 3682 |
.B n |
| 3683 |
command). |
| 3684 |
.TP |
| 3685 |
\fBsubject-match-limit\fP \fIlength\fP (integer, default 256) |
| 3686 |
Subjects will be considered identical if their first \fIlength\fP |
| 3687 |
characters match. Setting this uncritically to a low value may |
| 3688 |
cause unexpected results! |
| 3689 |
.TP |
| 3690 |
\fBsubject-match-offset\fP \fIoffset\fP (integer, default 0) |
| 3691 |
When set to a positive number, that many characters at the beginning |
| 3692 |
of the subject will be ignored when comparing subjects for ordering |
| 3693 |
and equality purposes. |
| 3694 |
.TP |
| 3695 |
\fBsubject-match-parts\fP (boolean, default false) |
| 3696 |
When set, two subjects will be considered equal if they are identical |
| 3697 |
up to the first (differing) digit. Together with the |
| 3698 |
\fBsubject-match-offset\fP variable, this can be used in source groups |
| 3699 |
where the subject often has a format like: |
| 3700 |
.sp 0.5v |
| 3701 |
.nf |
| 3702 |
vXXXXXX: Name of the package (Part 01/04) |
| 3703 |
.fi |
| 3704 |
.sp 0.5v |
| 3705 |
Setting \fBsubject-match-offset\fP to 8 and \fBsubject-match-parts\fP |
| 3706 |
to true will make \fInn\fP consider all four parts of the package |
| 3707 |
having the same subject (and thus be selectable with `*'). |
| 3708 |
.sp 0.5 |
| 3709 |
Notice that changing the \fBsubject-match-\fP... variables manually |
| 3710 |
will not have an immediate effect. To reorder the menu, an explicit |
| 3711 |
\fB:sort\fP command must be performed. These variables are mainly |
| 3712 |
intended to be set using the \fB:local\fP command in \fBon entry\fP |
| 3713 |
macros for source and binary groups (entry macros are evaluated before |
| 3714 |
the menu is collected and sorted). |
| 3715 |
.TP |
| 3716 |
\fBsubject-match-minimum\fP \fIcharacters\fP (integer, default 4) |
| 3717 |
When set to a positive number, that many characters at the beginning |
| 3718 |
of the subject must match before the subject-match-parts option comes |
| 3719 |
into affect. This is important, because the part matching causes the |
| 3720 |
rest of the line to be ignored after the first digit pair is |
| 3721 |
discovered. This begins after any subject-match-offset has been |
| 3722 |
applied. |
| 3723 |
.TP |
| 3724 |
\fBsuggest-default-save\fP (boolean, default true) |
| 3725 |
When set, \fInn\fP will present the \fBdefault-save-file\fP when |
| 3726 |
prompting for a save file name in a group without a specific save |
| 3727 |
file, or \fBfolder-save-file\fP when saving from a folder. When not |
| 3728 |
set, no file name is presented, and to use the default |
| 3729 |
save file, a single + must be specified. |
| 3730 |
.TP |
| 3731 |
\fBtidy-newsrc\fP (boolean, default false) |
| 3732 |
When set, \fInn\fP will automatically remove lines from .newsrc which |
| 3733 |
represent groups not found in the active file or unsubscribed groups |
| 3734 |
if \fBkeep-unsubscribed\fP is not set. |
| 3735 |
.TP |
| 3736 |
\fBtime\fP (boolean, default true) |
| 3737 |
When set, \fInn\fP will show the current time in the prompt line. |
| 3738 |
This is useful on systems without a |
| 3739 |
.I sysline (1) |
| 3740 |
utility. |
| 3741 |
.TP |
| 3742 |
\fBtrace-folder-packing\fP (boolean, default true) |
| 3743 |
When set, a trace of the retained and deleted messages is printed when |
| 3744 |
a folder is rewritten. |
| 3745 |
.TP |
| 3746 |
\fBtrusted-escape-codes\fP \fIcodes\fP (string, default none) |
| 3747 |
When set to a list of one or more characters, \fInn\fP will trust and |
| 3748 |
output \fIescape\fP characters in an article if it is followed by one |
| 3749 |
of the characters in the list. For example, to switch to or from |
| 3750 |
kanji mode, control codes like "\fIesc\fP\ $" and "\fIesc\fP\ (\ J" |
| 3751 |
may be present in the text. To allow these codes, use the following |
| 3752 |
command: |
| 3753 |
.sp 0.5v |
| 3754 |
.nf |
| 3755 |
set trusted-escape-codes ($ |
| 3756 |
.fi |
| 3757 |
.sp 0.5v |
| 3758 |
You can also set it to \fBall\fP to pass all escape codes through to |
| 3759 |
the screen. Notice that \fInn\fP thinks all characters (including |
| 3760 |
\fIesc\fP) output to the screen as occupy one column. |
| 3761 |
.TP |
| 3762 |
\fBunshar-command\fP \fIshell-command\fP (string, default "/bin/sh") |
| 3763 |
This is the command which is invoked by the \fBunshar\fP command. |
| 3764 |
.TP |
| 3765 |
\fBunshar-header-file\fP \fIfile\fP (string, default "Unshar.Headers") |
| 3766 |
The name of the file in which the header and initial text of articles |
| 3767 |
unpacked with the \fB:unshar\fP command is saved. Unless the file name |
| 3768 |
starts with a `/', the file will be created in the same directory as |
| 3769 |
the unpacked files. The information is not saved if this variable is |
| 3770 |
not set. Setting it to "Unshar.Result" will cause the headers and the |
| 3771 |
results from the unpacking process to be merged in a meaningful way |
| 3772 |
(unless \fBmmdf-format\fP is set). |
| 3773 |
.TP |
| 3774 |
\fBunsubscribe-mark-read\fP (boolean, default true) |
| 3775 |
When set, unsubscribing to a group will automatically mark all current |
| 3776 |
articles read; this is recommended to keep the size of .newsrc down. |
| 3777 |
Otherwise, unread articles in the unsubscribe groups are kept in |
| 3778 |
\&.newsrc. If \fBkeep-unsubscribed\fP is false, this variable has no |
| 3779 |
effect. |
| 3780 |
.TP |
| 3781 |
\fBupdate-frequency\fP (integer, default 1) |
| 3782 |
Specifies how many changes need to be done to the .newsrc or select |
| 3783 |
files before they are written back to disk. The default setting |
| 3784 |
causes .newsrc to be updated every time a group has been read. |
| 3785 |
.TP |
| 3786 |
\fBuse-editor-line\fP (boolean, default true) |
| 3787 |
Most editors accept arguments of the form: |
| 3788 |
.nf |
| 3789 |
editor [-arguments] +n filename |
| 3790 |
.fi |
| 3791 |
where editor is the name of the editor, and n is the line number to put the |
| 3792 |
cursor upon entering the file. If use-editor-line is false, it will not |
| 3793 |
add the "+n" to the arguments. |
| 3794 |
.TP |
| 3795 |
\fBuse-path-in-from\fP (boolean, default false) |
| 3796 |
When \fBmail-format\fP is set, saved articles will be preceded by a |
| 3797 |
specially formatted \&"From\ " line: |
| 3798 |
.nf |
| 3799 |
From origin date |
| 3800 |
.fi |
| 3801 |
Normally, the origin will be the name of the news group where the |
| 3802 |
article appeared, but if \fBuse-path-in-from\fP is set, the contents |
| 3803 |
of the "Path:" header will be used as the origin. |
| 3804 |
.TP |
| 3805 |
\fBuse-selections\fP (boolean, default true) |
| 3806 |
When set, \fInn\fP uses the selections and other article attributes |
| 3807 |
saved last time \fInn\fP was used. If not set, \fInn\fP ignores the |
| 3808 |
select file. |
| 3809 |
.TP |
| 3810 |
\fBvisible-bell\fP (boolean, default true) |
| 3811 |
When set, \fInn\fP will flash the screen instead of "ringing the |
| 3812 |
bell" if the visible bell (flash) capability is defined in the |
| 3813 |
termcap/terminfo database. |
| 3814 |
.TP |
| 3815 |
\fBwindow\fP \fIsize\fP (integer, default not set) |
| 3816 |
When set, \fInn\fP will reserve the last \fIsize\fP lines of the menu |
| 3817 |
screen for a preview window. If not set, \fInn\fP will clear the |
| 3818 |
screen to preview an article if there are less than \fBmin-window\fP |
| 3819 |
lines at the |
| 3820 |
bottom of the screen. As a side effect, it can also be used to reduce |
| 3821 |
the size of the menus, which may be useful on slow terminals. |
| 3822 |
.TP |
| 3823 |
\fBword-key\fP \fIkey\fP (key, default ^W) |
| 3824 |
The key which erases the last input component or word |
| 3825 |
when \fInn\fP is prompting for a string, e.g. the last name in a path |
| 3826 |
name. |
| 3827 |
.TP |
| 3828 |
\fBwrap-header-margin\fP \fIsize\fP (integer, default 6) |
| 3829 |
When set (non-negative), the customized header fields specified in |
| 3830 |
\fBheader-lines\fP will be split across several lines if they don't |
| 3831 |
fit on one line. When \fIsize\fP is greater than zero, lines will be |
| 3832 |
split at the first space occurring in the last \fIsize\fP columns of |
| 3833 |
the line. If not set (or negative), long header lines will be |
| 3834 |
truncated if they don't fit on a single line. |
| 3835 |
.\" ENDPART C |
| 3836 |
.\" BEGINPART D |
| 3837 |
.SH CUSTOMIZED ARTICLE HEADER PRESENTATION |
| 3838 |
Normally, \fInn\fP will just print a (high-lighted) single line header |
| 3839 |
containing the author, subject, and date (optional) of the article |
| 3840 |
when it is read. |
| 3841 |
.LP |
| 3842 |
By setting the |
| 3843 |
.B header-lines |
| 3844 |
variable as described below, it is possible to get a more informative |
| 3845 |
multi line header with optional high-lighting and underlining. |
| 3846 |
.LP |
| 3847 |
The |
| 3848 |
.B header-lines |
| 3849 |
variable is set to a list of header line identifiers, and the |
| 3850 |
customized headers will then contain exactly these header lines |
| 3851 |
\fIin the specified order\fP. |
| 3852 |
.LP |
| 3853 |
The same specifications are also used by the \fB:print\fP and |
| 3854 |
\fBsave-short\fP commands via the \fBprint-header-lines\fP and |
| 3855 |
\fBsave-header-lines\fP variables. |
| 3856 |
.LP |
| 3857 |
The following header line identifiers are recognized in the |
| 3858 |
\fBheader-lines\fP, |
| 3859 |
\fBprint-header-lines\fP, |
| 3860 |
and \fBsave-header-lines\fP variables: |
| 3861 |
.LP |
| 3862 |
.in +8n |
| 3863 |
.ta 5m |
| 3864 |
.\"ta 4 9 |
| 3865 |
.br |
| 3866 |
\fBA\fP Approved: |
| 3867 |
.br |
| 3868 |
\fBa\fP Spool-File: (path of spool file containing the article) |
| 3869 |
.br |
| 3870 |
\fBB\fP Distribution: |
| 3871 |
.br |
| 3872 |
\fBC\fP Control: |
| 3873 |
.br |
| 3874 |
\fBD\fP Date: |
| 3875 |
.br |
| 3876 |
\fBd\fP Date-Received: |
| 3877 |
.br |
| 3878 |
\fBF\fP From: |
| 3879 |
.br |
| 3880 |
\fBf\fP Sender: |
| 3881 |
.br |
| 3882 |
\fBG\fP Newsgroup: (current group) |
| 3883 |
.br |
| 3884 |
\fBg\fP Newsgroup: (current group if cross-posted or merged) |
| 3885 |
.br |
| 3886 |
\fBI\fP Message-Id: |
| 3887 |
.br |
| 3888 |
\fBK\fP Keywords: |
| 3889 |
.br |
| 3890 |
\fBL\fP Lines: |
| 3891 |
.br |
| 3892 |
\fBN\fP Newsgroups: |
| 3893 |
.br |
| 3894 |
\fBn\fP Newsgroups: (but only if cross posted) |
| 3895 |
.br |
| 3896 |
\fBO\fP Organization: |
| 3897 |
.br |
| 3898 |
\fBP\fP Path: |
| 3899 |
.br |
| 3900 |
\fBR\fP Reply-To: |
| 3901 |
.br |
| 3902 |
\fBS\fP Subject: |
| 3903 |
.br |
| 3904 |
\fBv\fP Save-File: (the default save file for this article) |
| 3905 |
.br |
| 3906 |
\fBW\fP Followup-To: |
| 3907 |
.br |
| 3908 |
\fBX\fP References: |
| 3909 |
.br |
| 3910 |
\fBx\fP Back-References: |
| 3911 |
.br |
| 3912 |
\fBY\fP Summary: |
| 3913 |
.in -8n |
| 3914 |
.DT |
| 3915 |
.LP |
| 3916 |
The 'G' and 'g' fields will include the local article number if it is |
| 3917 |
known, e.g. |
| 3918 |
.nf |
| 3919 |
Newsgroup: news.software.nn/754 |
| 3920 |
.fi |
| 3921 |
.LP |
| 3922 |
The following special symbols are recognized in the \fBheader-lines\fP |
| 3923 |
variable (and ignored otherwise): |
| 3924 |
.LP |
| 3925 |
Preceding the identifier with an equal sign "=" or an underscore "_" |
| 3926 |
will cause the header field contents to be high-lighted or underlined. |
| 3927 |
.LP |
| 3928 |
A plus sign "+" will use the shading attribute defined by |
| 3929 |
\fBshading-on\fP and \fBshading-off\fP to high-light the field |
| 3930 |
contents. If no shading attribute is defined it will underline the |
| 3931 |
field instead. |
| 3932 |
.LP |
| 3933 |
Including an asterisk "*" in the list will produce the standard one |
| 3934 |
line header at that point. |
| 3935 |
.LP |
| 3936 |
Example: The following setting of the |
| 3937 |
.B header-lines |
| 3938 |
variable will show the author (underlined), organization, posting |
| 3939 |
date, and subject (high-lighted) when articles are read: |
| 3940 |
.sp 0.5v |
| 3941 |
.nf |
| 3942 |
set header-lines _FOD=S |
| 3943 |
.fi |
| 3944 |
.SH COMMAND LINE OPTIONS |
| 3945 |
Some of the command line options have already been described, but |
| 3946 |
below we provide a complete list of the effect of each option by |
| 3947 |
showing the equivalent |
| 3948 |
.BR set , |
| 3949 |
.BR unset , |
| 3950 |
or |
| 3951 |
.B toggle |
| 3952 |
command. |
| 3953 |
.LP |
| 3954 |
Besides the options described below, you can set \fIany\fP of |
| 3955 |
\fInn\fP's variables directly on the command line via an argument of |
| 3956 |
the following format: |
| 3957 |
.sp 0.5v |
| 3958 |
.nf |
| 3959 |
variable=value |
| 3960 |
.fi |
| 3961 |
.sp 0.5v |
| 3962 |
To set or unset a boolean variable, the value can be specified as |
| 3963 |
\fIon\fP or \fIoff\fP (\fIt\fP and \fIf\fP will also work). |
| 3964 |
.LP |
| 3965 |
Notice that the init files are read \fIbefore\fP the options are |
| 3966 |
parsed (unless you use the \-\fBI\fP option). Therefore, the options |
| 3967 |
which are related to boolean variables set in the init file will |
| 3968 |
toggle the value set there, rather than the default value. |
| 3969 |
Consequently, the meaning of the options are also user-defined. |
| 3970 |
.LP |
| 3971 |
The explanations below describe the effect related to the default |
| 3972 |
setting of the variables, with the `reverse' effect in square |
| 3973 |
brackets. |
| 3974 |
.TP |
| 3975 |
\-\fBa\fP\fIN\fP {\fBset limit\fP \fIN\fP} |
| 3976 |
.I Limit |
| 3977 |
the maximum number of articles presented in each group to |
| 3978 |
.I N. |
| 3979 |
This is useful to get up-to-date quickly if you have not |
| 3980 |
read news for a longer period. |
| 3981 |
.TP |
| 3982 |
\-\fBa0\fP |
| 3983 |
Mark |
| 3984 |
.I all |
| 3985 |
unread articles as read. See the full explanation at the beginning of |
| 3986 |
this manual. |
| 3987 |
.TP |
| 3988 |
\-\fBB\fP {\fBtoggle backup\fP} |
| 3989 |
Do not [do] backup the rc file. |
| 3990 |
.TP |
| 3991 |
\-\fBd\fP {\fBtoggle split\fP} |
| 3992 |
Do not [do] split digests into separate articles. |
| 3993 |
.TP |
| 3994 |
\-\fBf\fP {\fBtoggle fsort\fP} |
| 3995 |
Do not [do] sort folders according to the subject (present the |
| 3996 |
articles in a folder in the sequence in which they were saved). |
| 3997 |
.TP |
| 3998 |
\-\fBg\fP |
| 3999 |
Prompt for the name of a news group or folder to be entered |
| 4000 |
.TP |
| 4001 |
\-\fBi\fP {\fBtoggle case-fold-search\fP} |
| 4002 |
Normally searches with \-\fBn\fP and \-\fBs\fP are case independent. |
| 4003 |
Using this option, the case becomes significant. |
| 4004 |
.TP |
| 4005 |
\-\fBI\fP |
| 4006 |
Do not read the init file. This must be the first option!! |
| 4007 |
The global \fIsetup\fP file is still read. |
| 4008 |
.TP |
| 4009 |
\-\fBI\fP\fIfile-list\fP |
| 4010 |
Specifies an alternate list of init files to be loaded instead of the |
| 4011 |
standard global and private init files. The list is a comma-separated |
| 4012 |
list of file names. Names which does not contain a `/' are looked for |
| 4013 |
in the ~/.nn directory. An empty element in the list is interpreted |
| 4014 |
as the global init file. The list of init files must |
| 4015 |
\fInot\fP be separated from the \fB\-I\fP option by blanks, and it |
| 4016 |
must be the first option. Example: The default behaviour corresponds |
| 4017 |
to using -I,init (first the global file, then the file ~/.nn/init). |
| 4018 |
The global \fIsetup\fP file is still read as the first init file |
| 4019 |
independently of the -I option used. |
| 4020 |
.TP |
| 4021 |
\-\fBk\fP {\fBtoggle kill\fP} |
| 4022 |
Do not [do] perform automatic kill and selection of articles. |
| 4023 |
.TP |
| 4024 |
\-\fBl\fP\fIN\fP {\fBset stop\fP \fIN\fP} |
| 4025 |
Stop after printing the first \fIN\fP lines of each article. |
| 4026 |
This is useful on slow terminals. |
| 4027 |
.TP |
| 4028 |
\-\fBL\fP[\fIf\fP] {\fBset layout\fP \fIf\fP} |
| 4029 |
Select alternative menu layout |
| 4030 |
.IR f |
| 4031 |
(0 to 4). |
| 4032 |
If |
| 4033 |
.I f |
| 4034 |
is omitted, menu layout 3 is selected. |
| 4035 |
.TP |
| 4036 |
\-\fBm\fP {\fIno corresponding variable\fP} |
| 4037 |
Merge all articles into one `meta group' instead of showing |
| 4038 |
them one group at a time. When -m is used, no articles will be marked |
| 4039 |
as read. |
| 4040 |
.TP |
| 4041 |
\-\fBn\fP\fIWORD\fP |
| 4042 |
Collect only articles which contain the string \fIWORD\fP in the |
| 4043 |
sender's name (case is ignored). If \fIWORD\fP |
| 4044 |
starts with a slash `/', the rest of the argument is used as a |
| 4045 |
\fIregular expression\fP instead of a fixed string. |
| 4046 |
.TP |
| 4047 |
\-\fBN\fP {\fIno corresponding variable\fP} |
| 4048 |
Disable updating of the rc file. This includes not recording that |
| 4049 |
groups have been read or unsubscribed to (although \fInn\fP will think |
| 4050 |
so until you quit). |
| 4051 |
.TP |
| 4052 |
\-\fBq\fP {\fBtoggle sort\fP} |
| 4053 |
Do not [do] sort the articles (q means quick, but it isn't |
| 4054 |
any quicker in practice!) |
| 4055 |
.TP |
| 4056 |
\-\fBQ\fP {\fBtoggle silent\fP} |
| 4057 |
Quiet mode - don't [do] print the logo or "No News" messages. |
| 4058 |
.TP |
| 4059 |
\-\fBr\fP {\fBtoggle repeat-group-query\fP} |
| 4060 |
Make \-\fBg\fP repeat query for a group to enter. |
| 4061 |
.TP |
| 4062 |
\-\fBs\fP\fIWORD\fP |
| 4063 |
Collect only articles which contain the string |
| 4064 |
.I WORD |
| 4065 |
in their subject (case is ignored). If |
| 4066 |
.I WORD |
| 4067 |
starts with a slash `/', the rest of the argument is used as a |
| 4068 |
\fIregular expression\fP instead of a fixed string. |
| 4069 |
.TP |
| 4070 |
\-\fBS\fP {\fBtoggle repeat\fP} |
| 4071 |
Do not [do] eliminate duplicated subject lines on menus. |
| 4072 |
.TP |
| 4073 |
\-\fBT\fP {\fBtoggle time\fP} |
| 4074 |
Do not [do] show the current time in the prompt line. |
| 4075 |
.TP |
| 4076 |
\-\fBw\fP[\fIN\fP] {\fBset window\fP \fIN\fP} |
| 4077 |
Reserve \fIN\fP lines of the menu screen for a preview window. If |
| 4078 |
\fIN\fP is omitted, the preview window is set to 5 lines. |
| 4079 |
.TP |
| 4080 |
\-\fBW\fP {\fBtoggle confirm-messages\fP} |
| 4081 |
[Don't] Wait for confirmation on all messages. |
| 4082 |
.TP |
| 4083 |
\-\fBx\fP[\fIN\fP] {\fBset old N\fP} |
| 4084 |
Present (or scan) all (or the last \fIN\fP) unread as well as |
| 4085 |
read articles. This will |
| 4086 |
.I never |
| 4087 |
mark unread articles as read. |
| 4088 |
.TP |
| 4089 |
\-\fBX\fP {\fIno corresponding variable\fP} |
| 4090 |
Read/scan unsubscribed groups also. Most useful when looking for |
| 4091 |
a specific subject in all groups, e.g. |
| 4092 |
.br |
| 4093 |
nn -mxX -sSubject all |
| 4094 |
.br |
| 4095 |
.SH MACRO DEFINITIONS |
| 4096 |
Practically any combination of commands and key strokes can be defined |
| 4097 |
as a macro which can be bound to a single key in menu and/or reading mode. |
| 4098 |
.LP |
| 4099 |
The macro definition must specify a sequence of commands and key |
| 4100 |
strokes as if they were typed directly from the keyboard. For |
| 4101 |
example, a string specifying a file name must follow a save command. |
| 4102 |
This manual does not give a complete specification of all the input |
| 4103 |
required by the various commands; it is recommended to execute the |
| 4104 |
desired command sequence from the keyboard prior to defining the macro |
| 4105 |
to get the exact requirements of each command. |
| 4106 |
.LP |
| 4107 |
Although it is possible to define temporary macros interactively using the |
| 4108 |
.B :define |
| 4109 |
command, macro definitions are normally placed in the |
| 4110 |
.I init |
| 4111 |
file. Macros are numbered from 0 to 100, i.e. it is possible to define |
| 4112 |
a total of 101 different macros (implicit macros defined with the |
| 4113 |
\fBmap\fP command uses internal numbers from 101 to 200). |
| 4114 |
.LP |
| 4115 |
To define macro number \fIM\fP, the following construction is used |
| 4116 |
(the line breaks are mandatory): |
| 4117 |
.nf |
| 4118 |
\fBdefine\fP \fIM\fP |
| 4119 |
\fIbody\fP |
| 4120 |
\fBend\fP |
| 4121 |
.fi |
| 4122 |
.LP |
| 4123 |
The \fIbody\fP consists of a sequence of \fItokens\fP separated by |
| 4124 |
white space (blanks or newlines). However, certain \fItokens\fP |
| 4125 |
continue to the end of the current line. |
| 4126 |
.LP |
| 4127 |
The following \fItokens\fP may occur in the macro \fIbody\fP: |
| 4128 |
.TP |
| 4129 |
.I Comments |
| 4130 |
Empty lines and text following a # character (preceded by white space) |
| 4131 |
is ignored. |
| 4132 |
.TP |
| 4133 |
.I Command Names |
| 4134 |
Any command name listed in the key mapping section can be included in |
| 4135 |
a macro causing that command to be invoked when the macro is executed. |
| 4136 |
.TP |
| 4137 |
.I Extended Commands |
| 4138 |
All the extended commands which can be executed through the |
| 4139 |
.B command |
| 4140 |
command (normally bound to the : key) can also be executed in a macro. |
| 4141 |
An extended command starts with a colon (:) and continues to the |
| 4142 |
end of the current line. Example: |
| 4143 |
.nf |
| 4144 |
:show groups total |
| 4145 |
.fi |
| 4146 |
.TP |
| 4147 |
.I Key Strokes |
| 4148 |
A key stroke (which is normally mapped into a command depending on the |
| 4149 |
current mode) is specified as a key name enclosed in single quotes. |
| 4150 |
Examples (A-key, left arrow key, RETURN key): |
| 4151 |
.nf |
| 4152 |
'A' 'left' '^M' |
| 4153 |
.fi |
| 4154 |
.TP |
| 4155 |
.I Shell Commands |
| 4156 |
External commands can be invoked as part of a macro execution. There |
| 4157 |
are two forms of shell command invocations available depending on |
| 4158 |
whether a command \fImay\fP produce output or require user input, or |
| 4159 |
it is \fIguaranteed\fP to complete without input or output to the |
| 4160 |
terminal. The difference is that in the latter case, \fInn\fP does |
| 4161 |
not prepare the terminal to be used by another program. When the |
| 4162 |
command completes, the screen is \fInot\fP redrawn |
| 4163 |
automatically; you should use the \fBredraw\fP command to do that. |
| 4164 |
The tho forms are: |
| 4165 |
.sp 0.5v |
| 4166 |
.nf |
| 4167 |
:!echo this command uses the terminal |
| 4168 |
:!!echo this command does not > /tmp/file |
| 4169 |
.fi |
| 4170 |
.TP |
| 4171 |
.I Strings |
| 4172 |
Input to commands prompting for a string, e.g. a file name, can be |
| 4173 |
specified in a macro as a double quoted string. Example (save without |
| 4174 |
prompting for a file name): |
| 4175 |
.nf |
| 4176 |
\fBsave-short\fP "+$G" |
| 4177 |
.fi |
| 4178 |
.TP |
| 4179 |
.I Conditionals |
| 4180 |
Conditionals may occur anywhere in a macro; a conditional is evaluated |
| 4181 |
when the macro is executed, and if the condition is false \fIthe rest |
| 4182 |
of the current line is ignored\fP. The following conditionals are available: |
| 4183 |
.nf |
| 4184 |
\fB?menu\fP True in menu mode |
| 4185 |
\fB?show\fP True in reading mode |
| 4186 |
\fB?folder\fP True when looking at a folder |
| 4187 |
\fB?group\fP True when looking at a news group |
| 4188 |
\fB?yes\fP Query user, true if answer is yes |
| 4189 |
\fB?no\fP Query user, true if answer is no |
| 4190 |
.fi |
| 4191 |
Example (stop macro execution if user rejects to continue): |
| 4192 |
.nf |
| 4193 |
\fBprompt\fP "continue? " \fB?no break\fP |
| 4194 |
.fi |
| 4195 |
.sp 0.5v |
| 4196 |
In addition to these conditionals, it is possible to test the current |
| 4197 |
value of boolean and integer variables using the following form: |
| 4198 |
.nf |
| 4199 |
\fB?\fP\fIvariable\fP\fB=\fP\fIvalue\fP |
| 4200 |
.fi |
| 4201 |
This conditional will be true (1) if the variable is an integer variable |
| 4202 |
whose current value is the one specified, or (2) if the variable is a |
| 4203 |
boolean variable which is either \fBon\fP or \fBoff\fP. Examples: |
| 4204 |
.nf |
| 4205 |
?layout=3 :set layout 1 |
| 4206 |
?monitor=on break |
| 4207 |
?sort=off :sort age |
| 4208 |
.fi |
| 4209 |
.TP |
| 4210 |
.B break |
| 4211 |
Terminate macro execution completely. This includes nested macros. |
| 4212 |
Example (stop if looking at a folder): |
| 4213 |
.nf |
| 4214 |
\fB?folder\fP \fBbreak\fP |
| 4215 |
.fi |
| 4216 |
.TP |
| 4217 |
.B return |
| 4218 |
Terminate execution of current macro. If the current macro is called |
| 4219 |
from another macro, execution of that macro continues immediately. |
| 4220 |
.TP |
| 4221 |
.B input |
| 4222 |
Query the user for a key stroke or a string, for example a file name. |
| 4223 |
Example (prompt the user for a file name in the usual way): |
| 4224 |
.nf |
| 4225 |
\fBsave-short\fP \fBinput\fP |
| 4226 |
.fi |
| 4227 |
.TP |
| 4228 |
.B yes |
| 4229 |
Confirm unconditionally \fIif\fP a command requires confirmation. It |
| 4230 |
is ignored if the command does not require confirmation. Example |
| 4231 |
(confirm creation of new files): |
| 4232 |
.nf |
| 4233 |
\fBsave-short\fP "+$G" \fByes\fP |
| 4234 |
.fi |
| 4235 |
.TP |
| 4236 |
.B no |
| 4237 |
Terminate execution of current macro \fIif\fP a command requires |
| 4238 |
confirmation; otherwise ignore it. If neither \fByes\fP nor \fBno\fP |
| 4239 |
is specified when a command requires confirmation, the user must |
| 4240 |
answer the question as usual \- if the user confirms the action |
| 4241 |
execution continues normally; otherwise the execution of the current |
| 4242 |
macro is terminated. Example (do not create new files): |
| 4243 |
.nf |
| 4244 |
\fBsave-short\fP "+$L/misc" \fBno\fP |
| 4245 |
.fi |
| 4246 |
.TP |
| 4247 |
\fBprompt\fP \fIstring\fP |
| 4248 |
Print the \fIstring\fP in the prompt line (highlighted). The string |
| 4249 |
must be enclosed in double quotes. Example: |
| 4250 |
.nf |
| 4251 |
\fBprompt\fP "Enter recipient name" |
| 4252 |
.fi |
| 4253 |
When the macro terminates, the original prompt shown on entry to the |
| 4254 |
macro will automatically be redrawn. If this is not desirable (e.g. |
| 4255 |
if the macro goes from selection to reading mode), the redrawing of |
| 4256 |
the prompt can be disabled by using a \fBprompt\fP command with an |
| 4257 |
empty \fIstring\fP (""). Example: |
| 4258 |
.nf |
| 4259 |
\fBprompt\fP "Enter reading mode?" # old prompt is saved |
| 4260 |
?no return # and old prompt is restored |
| 4261 |
read-skip # changes the prompt |
| 4262 |
\fBprompt\fP "" # so forget old prompt |
| 4263 |
.fi |
| 4264 |
.TP |
| 4265 |
\fBecho\fP \fIstring\fP |
| 4266 |
Display the \fIstring\fP in the prompt line for a short period. Example: |
| 4267 |
.nf |
| 4268 |
?show \fBecho\fP "Cannot be used in reading mode" break |
| 4269 |
.fi |
| 4270 |
.TP |
| 4271 |
\fBputs\fP \fIstring-to-end-of-line\fP |
| 4272 |
The rest of the line is output directly to the terminal without |
| 4273 |
interpretation. |
| 4274 |
.TP |
| 4275 |
\fBmacro\fP \fIM\fP |
| 4276 |
Invoke macro number \fIM\fP. The maximum macro nesting level is five |
| 4277 |
(also catches macro loops). |
| 4278 |
.LP |
| 4279 |
I use the following macro to quickly save all the selected files in a |
| 4280 |
file whose name is entered as usual. It also works in reading mode |
| 4281 |
(saving just the current article). |
| 4282 |
.nf |
| 4283 |
\fBdefine\fP 1 |
| 4284 |
:unset save-report |
| 4285 |
save-short input yes |
| 4286 |
?menu '+' |
| 4287 |
:set save-report |
| 4288 |
\fBend\fP |
| 4289 |
.fi |
| 4290 |
.SH KEY MAPPINGS |
| 4291 |
The descriptions of the keys and commands provided in this manual |
| 4292 |
reflects the default key mappings in \fInn\fP. However, you can |
| 4293 |
easily change these mappings to match your personal demands, and it is |
| 4294 |
also possible to remap keys depending on the terminal in use. |
| 4295 |
Permanent remapping of keys must be done through the |
| 4296 |
.I init |
| 4297 |
file, while temporary changes (for the duration of the current |
| 4298 |
invocation of \fInn\fP) can be made with the |
| 4299 |
.B :map |
| 4300 |
command. |
| 4301 |
.LP |
| 4302 |
The binding and mapping of keys are controlled by four tables: |
| 4303 |
.TP |
| 4304 |
.B The multikey definition table |
| 4305 |
This table is used for mapping multicharacter key sequences into |
| 4306 |
single characters. By default the table contains the mappings for the |
| 4307 |
four cursor keys, and there is room for 10 user-defined multikeys. |
| 4308 |
The fourteen multikeys are named: |
| 4309 |
.BR up , |
| 4310 |
.BR down , |
| 4311 |
.BR right , |
| 4312 |
.BR left |
| 4313 |
(the four arrow keys), and |
| 4314 |
.BR #0 |
| 4315 |
through |
| 4316 |
.BR #9 |
| 4317 |
for the user-defined keys. |
| 4318 |
.sp 0.5v |
| 4319 |
Multikey #\fIi\fP (where \fIi\fP is a digit or an arrow key name) is |
| 4320 |
defined using the following command: |
| 4321 |
.sp 0.5v |
| 4322 |
.nf |
| 4323 |
\fBmap #\fP\fIi\fP \fIkey-sequence\fP |
| 4324 |
.fi |
| 4325 |
.sp 0.5v |
| 4326 |
where the |
| 4327 |
.I sequence |
| 4328 |
is a list of 7-bit character names (see below) separated by spaces. |
| 4329 |
For example, if the HOME key sends the sequence ESC [ H, you can |
| 4330 |
define multikey #0 to be the home key using the command: |
| 4331 |
.sp 0.5v |
| 4332 |
.nf |
| 4333 |
map #0 ^[ [ H |
| 4334 |
.fi |
| 4335 |
.TP |
| 4336 |
.B The input key mapping table |
| 4337 |
All characters that are read from the keyboard will be mapped through |
| 4338 |
the input mapping table. Consequently, you can globally remap one key |
| 4339 |
to produce any other key value. By default all keys are mapped into |
| 4340 |
themselves. |
| 4341 |
.sp 0.5v |
| 4342 |
An entry in the input key mapping table to map \fIinput-key\fP into |
| 4343 |
\fInew-key\fP is made with the command |
| 4344 |
.sp 0.5v |
| 4345 |
.nf |
| 4346 |
\fBmap key\fP \fIinput-key\fP \fInew-key\fP |
| 4347 |
.fi |
| 4348 |
.sp 0.5v |
| 4349 |
For example, to make your ESC key function as |
| 4350 |
.B interrupt |
| 4351 |
you can use the command |
| 4352 |
.sp 0.5v |
| 4353 |
.nf |
| 4354 |
map key ^[ ^G |
| 4355 |
.fi |
| 4356 |
.TP |
| 4357 |
.B The selection mode key binding table |
| 4358 |
This table defines for each key which command should be invoked when |
| 4359 |
that key is pressed in selection mode, i.e. when the article menu is |
| 4360 |
shown. The command to bind a |
| 4361 |
.I key |
| 4362 |
to a |
| 4363 |
.I command |
| 4364 |
in selection mode is: |
| 4365 |
.sp 0.5v |
| 4366 |
.nf |
| 4367 |
\fBmap menu\fP \fIkey command\fP |
| 4368 |
.fi |
| 4369 |
.sp 0.5v |
| 4370 |
For example, to have the HOME key defined as multikey #0 above bound |
| 4371 |
to the |
| 4372 |
.B select |
| 4373 |
command, the following command is used: |
| 4374 |
.sp 0.5v |
| 4375 |
.nf |
| 4376 |
map menu #0 select |
| 4377 |
.fi |
| 4378 |
.sp 0.5v |
| 4379 |
To remap a key to select a specific article on the menu (which the `a' |
| 4380 |
through `z' keys do by default), the \fIcommand\fP must be specified |
| 4381 |
as `\fBarticle\fP \fIN\fP' where \fIN\fP is the entry number on the |
| 4382 |
menu counted from zero (i.e. a=0, b=1, ..., z=25, 0=26, ..., 9=35). |
| 4383 |
For example, to map `J' to select article `j', the following |
| 4384 |
command is used: |
| 4385 |
.sp 0.5v |
| 4386 |
.nf |
| 4387 |
map menu J article 9 |
| 4388 |
.fi |
| 4389 |
.TP |
| 4390 |
.B The reading mode key binding table |
| 4391 |
This table defines for each key which command should be invoked when |
| 4392 |
that key is pressed in reading mode, i.e. when the article text is |
| 4393 |
shown. The command to bind a |
| 4394 |
.I key |
| 4395 |
to a |
| 4396 |
.I command |
| 4397 |
in reading mode is: |
| 4398 |
.sp 0.5v |
| 4399 |
.nf |
| 4400 |
\fBmap show\fP \fIkey command\fP |
| 4401 |
.fi |
| 4402 |
.LP |
| 4403 |
In addition to the direct mappings described above, the following |
| 4404 |
variations of the \fBmap\fP command are available: |
| 4405 |
.TP |
| 4406 |
.B User defined keymaps |
| 4407 |
Additional keymaps can be defined using the command |
| 4408 |
.sp 0.5v |
| 4409 |
.nf |
| 4410 |
\fBmake map\fP \fInewmap\fP |
| 4411 |
.fi |
| 4412 |
.sp 0.5v |
| 4413 |
This will create a new keymap which can initialized using normal |
| 4414 |
\fBmap\fP commands, e.g. |
| 4415 |
.sp 0.5v |
| 4416 |
.nf |
| 4417 |
\fBmap\fP \fInewmap key command\fP |
| 4418 |
.fi |
| 4419 |
.sp 0.5v |
| 4420 |
To activate a user-defined keymap, it must be bound to a \fIprefix key\fP: |
| 4421 |
.sp 0.5v |
| 4422 |
.nf |
| 4423 |
\fBmap\fP \fIbase-map prefix-key\fP \fBprefix\fP \fInewmap\fP |
| 4424 |
.fi |
| 4425 |
.sp 0.5v |
| 4426 |
When used, the prefix key itself does not activate a command, but |
| 4427 |
instead it require another key to be entered and then execute the |
| 4428 |
command bound to that key in the keymap which is bound to the prefix key. |
| 4429 |
For example, to let the key sequence "^X i" execute macro number 10 in |
| 4430 |
both modes, the following commands can be used: |
| 4431 |
.sp 0.5v |
| 4432 |
.nf |
| 4433 |
make map ctl-x |
| 4434 |
map ctl-x i macro 10 |
| 4435 |
map both ^X prefix ctl-x |
| 4436 |
.fi |
| 4437 |
.TP |
| 4438 |
.B Mapping keys in both modes |
| 4439 |
Using the pseudo-keymap `both', it is possible to map a key to a |
| 4440 |
command in both selection and reading mode at once. For example, to |
| 4441 |
map the home key to macro number 5 in both modes, the following |
| 4442 |
command can be used: |
| 4443 |
.sp 0.5v |
| 4444 |
.nf |
| 4445 |
map both #0 macro 5 |
| 4446 |
.fi |
| 4447 |
.TP |
| 4448 |
.B Aliasing |
| 4449 |
A key can also be mapped directly to the command currently bound to |
| 4450 |
another key. Later remapping of the other key will not change the |
| 4451 |
mapping of the `aliased' key. This is done using the following command: |
| 4452 |
.sp 0.5v |
| 4453 |
.nf |
| 4454 |
map \fIkeymap new-key\fP \fBas\fP \fIold-key\fP |
| 4455 |
.fi |
| 4456 |
.TP |
| 4457 |
.B Binding macros to keys |
| 4458 |
A previously defined macro can be bound to a key using the command: |
| 4459 |
.sp 0.5v |
| 4460 |
.nf |
| 4461 |
map \fIkeymap key\fP \fBmacro\fP \fImacro-number\fP |
| 4462 |
.fi |
| 4463 |
.TP |
| 4464 |
.B Implicit macro definitions |
| 4465 |
An implicit macro can also be defined directly in connection with the |
| 4466 |
\fBmap\fP command: |
| 4467 |
.sp 0.5v |
| 4468 |
.nf |
| 4469 |
map \fIkeymap key\fP \fB(\fP |
| 4470 |
\fIbody\fP... |
| 4471 |
\fB)\fP |
| 4472 |
.fi |
| 4473 |
.LP |
| 4474 |
Keys and character names are specified using the following notation: |
| 4475 |
.TP |
| 4476 |
.I C |
| 4477 |
A single printable character represents the key or character itself. |
| 4478 |
.TP |
| 4479 |
\fB^\fP\fIC\fP |
| 4480 |
This notation represents a control key or character. |
| 4481 |
DEL is written as \fB^?\fP |
| 4482 |
.TP |
| 4483 |
\fI125\fP, \fI0175\fP, \fI0x7D\fP |
| 4484 |
Characters and keys can be specified by their ordinal value in |
| 4485 |
decimal, octal, and hexadecimal notation. |
| 4486 |
.TP |
| 4487 |
\fBup\fP, \fBdown\fP, \fBright\fP, \fBleft\fP |
| 4488 |
These names represent the cursor keys. |
| 4489 |
.TP |
| 4490 |
\fB#0\fP through \fB#9\fP |
| 4491 |
These symbols represent the ten user-defined multikeys. |
| 4492 |
.LP |
| 4493 |
If the variable \fBdata-bits\fP is 7, key maps can specify binding of |
| 4494 |
all keys in the range 0x00 to 0x7F, and the 8th bit will be stripped |
| 4495 |
in all keyboard input. |
| 4496 |
If the variable \fBdata-bits\fP is 8, the 8th bit is not cleared, and |
| 4497 |
key maps are extended to allow binding of keys in the range 0xA0 to |
| 4498 |
0xFE (corresponding to the national characters defined by the ISO 8859 |
| 4499 |
character sets). |
| 4500 |
Binding commands to these keys can be done either by using their |
| 4501 |
numeric value, or directly specifying the 8 bit character in the map |
| 4502 |
command, e.g. |
| 4503 |
.sp 0.5v |
| 4504 |
.nf |
| 4505 |
map menu 0xC8 macro 72 |
| 4506 |
map key \o'\(aae' % |
| 4507 |
.fi |
| 4508 |
.LP |
| 4509 |
To show the current contents of the four tables, the following |
| 4510 |
versions of the \fB:map\fP command are available: |
| 4511 |
.TP |
| 4512 |
.B :map |
| 4513 |
Show the current mode's key bindings. |
| 4514 |
.TP |
| 4515 |
.B :map menu |
| 4516 |
Show the selection mode key bindings. |
| 4517 |
.TP |
| 4518 |
.B :map show |
| 4519 |
Show the reading mode key bindings. |
| 4520 |
.TP |
| 4521 |
.B :map # |
| 4522 |
Show the multikey definition table. |
| 4523 |
.TP |
| 4524 |
.B :map key |
| 4525 |
Show the input key mapping table. |
| 4526 |
.SH STANDARD KEY BINDINGS |
| 4527 |
Below is a list of all the commands that can be bound to keys, either |
| 4528 |
in selection mode, in reading mode, or both. For each command the |
| 4529 |
default command key bindings in both modes are shown. |
| 4530 |
If the key is not bound in one of the modes, but it can be bound, the |
| 4531 |
corresponding part will just be empty. If the command cannot be bound |
| 4532 |
in one of the modes, that mode will contain the word \fBnix\fP. |
| 4533 |
.LP |
| 4534 |
.in +8n |
| 4535 |
.ta \w'continue-no-mark'u+5m +\w'Selection_mode'u+3m |
| 4536 |
.\"ta 4 26 42 |
| 4537 |
.br |
| 4538 |
\fIFunction Selection mode Reading mode\fP |
| 4539 |
.br |
| 4540 |
\fBadvance-article\fP \fBnix\fP a |
| 4541 |
.br |
| 4542 |
\fBadvance-group\fP A A |
| 4543 |
.br |
| 4544 |
\fBarticle\fP \fIN\fP a-z0-9 \fBnix\fP |
| 4545 |
.br |
| 4546 |
\fBback-article\fP \fBnix\fP b |
| 4547 |
.br |
| 4548 |
\fBback-group\fP B B |
| 4549 |
.br |
| 4550 |
\fBcancel\fP C C |
| 4551 |
.br |
| 4552 |
\fBcommand\fP : : |
| 4553 |
.br |
| 4554 |
\fBcompress\fP \fBnix\fP c |
| 4555 |
.br |
| 4556 |
\fBcontinue\fP \fBspace\fP \fBspace\fP |
| 4557 |
.br |
| 4558 |
\fBcontinue-no-mark\fP \fBreturn\fP \fBnix\fP |
| 4559 |
.br |
| 4560 |
\fBdecode\fP |
| 4561 |
.br |
| 4562 |
\fBfind\fP = / |
| 4563 |
.br |
| 4564 |
\fBfind-next\fP \fBnix\fP . |
| 4565 |
.br |
| 4566 |
\fBfollow\fP F fF |
| 4567 |
.br |
| 4568 |
\fBfull-digest\fP \fBnix\fP H |
| 4569 |
.br |
| 4570 |
\fBgoto-group\fP G G |
| 4571 |
.br |
| 4572 |
\fBgoto-menu\fP \fBnix\fP = Z |
| 4573 |
.br |
| 4574 |
\fBhelp\fP ? ? |
| 4575 |
.br |
| 4576 |
\fBjunk-articles\fP J \fBnix\fP |
| 4577 |
.br |
| 4578 |
\fBkill-select\fP K K |
| 4579 |
.br |
| 4580 |
\fBlayout\fP " \fBnix\fP |
| 4581 |
.br |
| 4582 |
\fBleave-article\fP \fBnix\fP l |
| 4583 |
.br |
| 4584 |
\fBleave-next\fP L L |
| 4585 |
.br |
| 4586 |
\fBline+1\fP , \fBdown\fP \fBreturn\fP |
| 4587 |
.br |
| 4588 |
\fBline-1\fP / \fBnix\fP |
| 4589 |
.br |
| 4590 |
\fBline=@\fP \fBnix\fP g |
| 4591 |
.br |
| 4592 |
\fBmacro\fP \fIM\fP |
| 4593 |
.br |
| 4594 |
\fBmail\fP M m M |
| 4595 |
.br |
| 4596 |
\fBmessage\fP ^P ^P |
| 4597 |
.br |
| 4598 |
\fBnext-article\fP \fBnix\fP n |
| 4599 |
.br |
| 4600 |
\fBnext-group\fP N N |
| 4601 |
.br |
| 4602 |
\fBnext-subject\fP \fBnix\fP k |
| 4603 |
.br |
| 4604 |
\fBnil\fP |
| 4605 |
.br |
| 4606 |
\fBoverview\fP Y Y |
| 4607 |
.br |
| 4608 |
\fBpage+1\fP > \fBnix\fP |
| 4609 |
.br |
| 4610 |
\fBpage+1/2\fP \fBnix\fP d |
| 4611 |
.br |
| 4612 |
\fBpage-1\fP < \fBdelete backspace\fP |
| 4613 |
.br |
| 4614 |
\fBpage-1/2\fP \fBnix\fP u |
| 4615 |
.br |
| 4616 |
\fBpage=0\fP \fBnix\fP h |
| 4617 |
.br |
| 4618 |
\fBpage=1\fP ^ ^ |
| 4619 |
.br |
| 4620 |
\fBpage=$\fP $ $ |
| 4621 |
.br |
| 4622 |
\fBpatch\fP |
| 4623 |
.br |
| 4624 |
\fBpost\fP |
| 4625 |
.br |
| 4626 |
\fBpreview\fP % % |
| 4627 |
.br |
| 4628 |
\fBprevious\fP P p |
| 4629 |
.br |
| 4630 |
\fBprint\fP P |
| 4631 |
.br |
| 4632 |
\fBquit\fP Q Q |
| 4633 |
.br |
| 4634 |
\fBread-return\fP Z \fBnix\fP |
| 4635 |
.br |
| 4636 |
\fBread-skip\fP X X |
| 4637 |
.br |
| 4638 |
\fBredraw\fP ^L ^R ^L ^R |
| 4639 |
.br |
| 4640 |
\fBreply\fP R r R |
| 4641 |
.br |
| 4642 |
\fBrot13\fP \fBnix\fP D |
| 4643 |
.br |
| 4644 |
\fBsave-full\fP S s S |
| 4645 |
.br |
| 4646 |
\fBsave-short\fP O o O |
| 4647 |
.br |
| 4648 |
\fBsave-header\fP E e E |
| 4649 |
.br |
| 4650 |
\fBsave-body\fP W w W |
| 4651 |
.br |
| 4652 |
\fBselect\fP . \fBnix\fP |
| 4653 |
.br |
| 4654 |
\fBselect-auto\fP + \fBnix\fP |
| 4655 |
.br |
| 4656 |
\fBselect-invert\fP @ \fBnix\fP |
| 4657 |
.br |
| 4658 |
\fBselect-range\fP - \fBnix\fP |
| 4659 |
.br |
| 4660 |
\fBselect-subject\fP * * |
| 4661 |
.br |
| 4662 |
\fBshell\fP ! ! |
| 4663 |
.br |
| 4664 |
\fBskip-lines\fP \fBnix\fP \fBtab\fP |
| 4665 |
.br |
| 4666 |
\fBunselect-all\fP ~ \fBnix\fP |
| 4667 |
.br |
| 4668 |
\fBunshar\fP |
| 4669 |
.br |
| 4670 |
\fBunsub\fP U U |
| 4671 |
.br |
| 4672 |
\fBversion\fP V V |
| 4673 |
.in -8n |
| 4674 |
.DT |
| 4675 |
.LP |
| 4676 |
See the descriptions of the default bindings for a description of the |
| 4677 |
commands. The pseudo command |
| 4678 |
.B nil |
| 4679 |
is used to |
| 4680 |
.I unbind |
| 4681 |
a key. |
| 4682 |
.SH THE INIT FILES |
| 4683 |
The |
| 4684 |
.I init |
| 4685 |
files are used to customize \fInn\fP's behaviour to local conventions |
| 4686 |
and restrictions and to satisfy each user's personal taste. |
| 4687 |
.br |
| 4688 |
Normally, \fInn\fP reads up to three init files on start-up if they |
| 4689 |
exist (all init files are optional): |
| 4690 |
.TP |
| 4691 |
$LIB/\fBsetup\fP |
| 4692 |
A system-wide file located in the library directory. This file is |
| 4693 |
\fIalways\fP loaded before any other init file (even when the |
| 4694 |
\-\fBI\fP option is specified). It cannot contain a group |
| 4695 |
presentation sequence. |
| 4696 |
.TP |
| 4697 |
$LIB/\fBinit\fP |
| 4698 |
Another system-wide (global) init file located in the library |
| 4699 |
directory. This file may be ignored via the \-\fBI\fP option. |
| 4700 |
.TP |
| 4701 |
~/.nn/\fBinit\fP |
| 4702 |
The private init file located in the user's \&\fI.nn\fP directory. |
| 4703 |
It is read after the global init file to allow the user to change the |
| 4704 |
default setup. |
| 4705 |
.LP |
| 4706 |
The init file is parsed one line at a time. If a line ends with a |
| 4707 |
backslash `\e', the backslash is ignored, and the following line is |
| 4708 |
appended to the current line. |
| 4709 |
.LP |
| 4710 |
The init file may contain the following types of commands (and data): |
| 4711 |
.TP |
| 4712 |
.B Comments |
| 4713 |
Empty lines and lines with a # character as the first non-blank |
| 4714 |
character are ignored. Except where # has another meaning defined by |
| 4715 |
the command syntax (e.g. multi-keys are named #\fIn\fP), trailing |
| 4716 |
comments on input lines are ignored. |
| 4717 |
.TP |
| 4718 |
.B Variable settings |
| 4719 |
You can |
| 4720 |
.B set |
| 4721 |
(or |
| 4722 |
.BR unset ) |
| 4723 |
all the variables described earlier to change |
| 4724 |
nn's behaviour permanently. The |
| 4725 |
.B set |
| 4726 |
and |
| 4727 |
.B unset |
| 4728 |
commands you can use in the init file have exactly the same format as |
| 4729 |
the |
| 4730 |
.B :set |
| 4731 |
and |
| 4732 |
.B :unset |
| 4733 |
commands described earlier (except that the : prefix is omitted.) |
| 4734 |
.sp 0.5v |
| 4735 |
Variables can also be locked via the \fBlock\fP command; this is |
| 4736 |
typically done in the \fIsetup\fP file to enforce local policies. |
| 4737 |
.TP |
| 4738 |
.B Key mappings |
| 4739 |
You can use all the versions of the |
| 4740 |
.B map |
| 4741 |
command in the init file. |
| 4742 |
.TP |
| 4743 |
.B Macro Definitions |
| 4744 |
You can define sequences of commands and key strokes using the |
| 4745 |
\fBdefine\fP...\fBend\fP construction, |
| 4746 |
which can then be |
| 4747 |
bound to single keys with the |
| 4748 |
.B map |
| 4749 |
command. |
| 4750 |
.TP |
| 4751 |
.B Load terminal specific files |
| 4752 |
You can load a terminal specific file using the |
| 4753 |
.sp 0.5v |
| 4754 |
.nf |
| 4755 |
\fBload\fP \fIfile\fP |
| 4756 |
.fi |
| 4757 |
.sp 0.5v |
| 4758 |
The character |
| 4759 |
.B @ |
| 4760 |
in the |
| 4761 |
.I file |
| 4762 |
will be replaced by the terminal type defined in the TERM environment |
| 4763 |
variable. \fInn\fP silently ignores the |
| 4764 |
.B load |
| 4765 |
command if the file does not exist (so you don't have to have a |
| 4766 |
specific init file for terminals which does not require remapping). |
| 4767 |
If the file is not specified by an absolute pathname, it must reside |
| 4768 |
in your ~/.nn directory. Examples: |
| 4769 |
.nf |
| 4770 |
# load local customizations |
| 4771 |
load /usr/lib/nninit |
| 4772 |
# load personal terminal specific customizations |
| 4773 |
load init.@ |
| 4774 |
.fi |
| 4775 |
.TP |
| 4776 |
.B Switch to loading a different init file |
| 4777 |
You can skip the rest of the current init file and start loading a |
| 4778 |
different init file with the following command: |
| 4779 |
.sp 0.5v |
| 4780 |
.nf |
| 4781 |
\fBchain\fP \fIfile\fP |
| 4782 |
.fi |
| 4783 |
.sp 0.5v |
| 4784 |
If this occur in the private or global init file, the chained init |
| 4785 |
file may contain a sequence part which will replace the private or |
| 4786 |
global presentation sequence respectively. |
| 4787 |
.TP |
| 4788 |
.B Stop loading current init file |
| 4789 |
You can skip the rest of the current init file with the following |
| 4790 |
command: |
| 4791 |
.sp 0.5v |
| 4792 |
.nf |
| 4793 |
\fBstop\fP |
| 4794 |
.fi |
| 4795 |
.TP |
| 4796 |
.B Give error messages and/or terminate |
| 4797 |
If an error is detected in the init file, the following commands can be |
| 4798 |
used to print an error message and/or terminate execution: |
| 4799 |
.sp 0.5v |
| 4800 |
.nf |
| 4801 |
\fBerror\fP \fIfatal error message\fP... |
| 4802 |
.fi |
| 4803 |
Print the message and terminate execution. |
| 4804 |
.sp 0.5v |
| 4805 |
.nf |
| 4806 |
\fBecho\fP \fIwarning message\fP... |
| 4807 |
.fi |
| 4808 |
Print the message and continue. |
| 4809 |
.sp 0.5v |
| 4810 |
.nf |
| 4811 |
\fBexit\fP [ \fIstatus\fP ] |
| 4812 |
.fi |
| 4813 |
Terminate \fInn\fP with the specified exit status or 0 if omitted. |
| 4814 |
.TP |
| 4815 |
.B Change working directory of nn |
| 4816 |
You can use the |
| 4817 |
.B cd |
| 4818 |
command to change the working directory whenever you enter \fInn\fP. |
| 4819 |
Example: |
| 4820 |
.nf |
| 4821 |
# Use folder directory as working directory inside \fInn\fP |
| 4822 |
cd ~/News |
| 4823 |
.fi |
| 4824 |
.TP |
| 4825 |
.B Command groups |
| 4826 |
The init file can contain groups of commands which are executed under |
| 4827 |
special conditions. The command groups are described in the section |
| 4828 |
on command groups below. |
| 4829 |
.TP |
| 4830 |
.B One or more save-files sections |
| 4831 |
A \fBsave-files\fP section is used to assign default save files to |
| 4832 |
specific groups: |
| 4833 |
.sp 0.5v |
| 4834 |
.nf |
| 4835 |
\fBsave-files\fP |
| 4836 |
\fIgroup-name (pattern)\fP \fIfile-name\fP |
| 4837 |
... |
| 4838 |
\fBend\fP |
| 4839 |
.fi |
| 4840 |
.sp 0.5v |
| 4841 |
The group name (patterns) and save file names are specified in the |
| 4842 |
same way as in the presentation sequence (see below). Example: |
| 4843 |
.nf |
| 4844 |
\fBsave-files\fP |
| 4845 |
news* +news/$L |
| 4846 |
comp.sources* /u/src/$L/ |
| 4847 |
\fBend\fP |
| 4848 |
.fi |
| 4849 |
.TP |
| 4850 |
.B The news group presentation sequence |
| 4851 |
The |
| 4852 |
.I last |
| 4853 |
part of the init file may specify the sequence in which you want the |
| 4854 |
news groups to be presented. This part starts with the command |
| 4855 |
.B sequence |
| 4856 |
and continues to the end of the init file. |
| 4857 |
.LP |
| 4858 |
Both init files may contain a presentation sequence. In this case, |
| 4859 |
the global sequence is \fIappended\fP to the private sequence. |
| 4860 |
.SH COMMAND GROUPS |
| 4861 |
Command groups may only occur in the init file, and they provide a way |
| 4862 |
to have series of commands executed at certain points during news reading. |
| 4863 |
.LP |
| 4864 |
In release 6.4 onwards, these possibilities are still rather |
| 4865 |
rudimentary, and a mixture of normal init file syntax and macro syntax |
| 4866 |
is used depending on whether the command group is only executed on |
| 4867 |
start-up or several times during the \fInn\fP session. |
| 4868 |
.LP |
| 4869 |
A command group begins with the word \fBon\fP and |
| 4870 |
ends with the word \fBend\fP. The following command groups are |
| 4871 |
conditionally executed during the parsing of the init file if the |
| 4872 |
specified \fIcondition\fP is true. They may also have an optional |
| 4873 |
\fBelse\fP part which is executed if the \fIcondition\fP is false: |
| 4874 |
.sp 0.5v |
| 4875 |
.nf |
| 4876 |
\fBon\fP \fIcondition\fP |
| 4877 |
commands |
| 4878 |
[ \fBelse\fP |
| 4879 |
commands ] |
| 4880 |
\fBend\fP |
| 4881 |
.fi |
| 4882 |
.LP |
| 4883 |
The following conditional command groups may be used in the init file |
| 4884 |
to be executed at start-up: |
| 4885 |
.TP |
| 4886 |
\fBon [\fP \fItest\fP \fB]\fP |
| 4887 |
The commands (init file syntax) in the group are executed only if the |
| 4888 |
specified \fItest\fP is true. |
| 4889 |
A shell is spawned to execute the command "[ \fItest\fP ]", so all the |
| 4890 |
options of the \fBtest\fP(1) command is available. For example, to |
| 4891 |
unset the flow-control variable if the tty is a pseudo-tty, the |
| 4892 |
following conditional can be used: |
| 4893 |
.nf |
| 4894 |
on [ -n "`tty | grep ttyp`" ] |
| 4895 |
unset flow-control |
| 4896 |
end |
| 4897 |
.fi |
| 4898 |
.TP |
| 4899 |
\fBon !\fP\fIshell command\fP |
| 4900 |
The command group is executed if the given \fIshell command\fP exits |
| 4901 |
with 0 status (success). |
| 4902 |
Care should be taken that the command does not produce any |
| 4903 |
output, e.g. by redirecting its output to /dev/null. For example, to |
| 4904 |
prevent people from reading news if load is above a specific level, |
| 4905 |
the following conditional might be placed in the global setup file. |
| 4906 |
.nf |
| 4907 |
on !load-above 5 |
| 4908 |
error load is too high, try again later. |
| 4909 |
end |
| 4910 |
.fi |
| 4911 |
.TP |
| 4912 |
\fBon `\fP\fIshell command\fP\|\fB`\fP \fIstring\fP... |
| 4913 |
The command group is executed if the \fIfirst output line\fP from |
| 4914 |
executing the specified \fIshell command\fP is listed among the |
| 4915 |
specified \fIstring\fP values. The \fIshell command\fP can be omitted |
| 4916 |
on subsequent occurrences of this conditional, in which case |
| 4917 |
the output from the last \fBshell command\fP is used. |
| 4918 |
For example, the following conditional |
| 4919 |
can be used to switch to an init file which has a limited sequence for |
| 4920 |
news reading during working hours, evenings, and nights: |
| 4921 |
.nf |
| 4922 |
on `date +%H` 9 10 11 12 13 14 15 16 |
| 4923 |
chain init.work |
| 4924 |
end |
| 4925 |
on `` 17 18 19 20 21 |
| 4926 |
chain init.evening |
| 4927 |
else |
| 4928 |
chain init.night |
| 4929 |
end |
| 4930 |
.fi |
| 4931 |
.TP |
| 4932 |
\fBon ``\fP \fIstring\fP... |
| 4933 |
This is equivalent to the previous form except that instead of |
| 4934 |
executing a shell command, the output from the previous |
| 4935 |
.TP |
| 4936 |
\fBon $\fP\fIvariable\fP [ \fIvalue\fP ] |
| 4937 |
If no \fIvalue\fP strings are specified, the command group is executed |
| 4938 |
if the given \fIvariable\fP is defined in the environment. Otherwise, |
| 4939 |
the command group is executed only if the value of the \fIvariable\fP |
| 4940 |
occur in the \fIvalue\fP list. For example, if you want \fInn\fP to |
| 4941 |
look for mail in whatever $MAIL is set to - if it is set - you can use |
| 4942 |
the following code: |
| 4943 |
.nf |
| 4944 |
on $MAIL |
| 4945 |
set mail $(MAIL) |
| 4946 |
end |
| 4947 |
.fi |
| 4948 |
.TP |
| 4949 |
\fBon slow\fP |
| 4950 |
.br |
| 4951 |
The commands (init file syntax) in the group are executed only if the |
| 4952 |
current terminal output speed is less than or equal to the baud rate |
| 4953 |
set in the \fBslow-speed\fP variable. This can be used to optimize |
| 4954 |
the user-interface for slow terminals by setting suitable variables: |
| 4955 |
.sp 0.5v |
| 4956 |
.nf |
| 4957 |
\fBon slow\fP |
| 4958 |
set confirm-entry |
| 4959 |
set slow-mode |
| 4960 |
set delay-redraw |
| 4961 |
unset visible-bell |
| 4962 |
set compress |
| 4963 |
unset header-lines |
| 4964 |
set stop 5 |
| 4965 |
set window 10 |
| 4966 |
\fBend\fP |
| 4967 |
.fi |
| 4968 |
.TP |
| 4969 |
\fBon fast\fP |
| 4970 |
.br |
| 4971 |
Same as \fBon slow\fP except that the commands are only executed when |
| 4972 |
the terminal is running at a speed above the \fBslow-speed\fP value. |
| 4973 |
.TP |
| 4974 |
\fBon term\fP \fIterm-type\fP... |
| 4975 |
.br |
| 4976 |
The commands are executed if one of the \fIterm-type\fP names is |
| 4977 |
identical to value of the TERM environment variable. |
| 4978 |
.TP |
| 4979 |
\fBon host\fP \fIhost-name\fP... |
| 4980 |
.br |
| 4981 |
The commands are executed if the local host's name occur in the |
| 4982 |
\fIhost-name\fP list. |
| 4983 |
.TP |
| 4984 |
\fBon program\fP \fIprogram-name\fP... |
| 4985 |
.br |
| 4986 |
The commands are executed if the current program (\fInn\fP, |
| 4987 |
\fInncheck\fP, etc) in the \fIprogram-name\fP list. |
| 4988 |
.LP |
| 4989 |
The following \fBon\fP command groups are really macros which may be |
| 4990 |
executed during \fInn\fP's normal processing, and as such they cannot |
| 4991 |
have an \fBelse\fP part. |
| 4992 |
.TP |
| 4993 |
\fBon entry\fP [ \fIgroup list\fP ] |
| 4994 |
.br |
| 4995 |
These commands (macro format!) are executed every time \fInn\fP enters a |
| 4996 |
news group. If a group list is not specified, the commands are |
| 4997 |
associated with all groups which don't have its own entry macro |
| 4998 |
specified in the group sequence. Otherwise, the entry macro will be |
| 4999 |
associated with the groups in the list. The group list is specified |
| 5000 |
using the meta-notations described in the presentation sequence section. |
| 5001 |
.sp 0.5v |
| 5002 |
\fIAll\fP `:' commands at the beginning of the |
| 5003 |
command group are executed \fIbefore\fP \fInn\fP collects the articles |
| 5004 |
in the group, so it is possible to set or unset variables like |
| 5005 |
\fBcross-post\fP and \fBauto-read-mode-limit\fP before any articles are |
| 5006 |
collected and the menu is (not) shown. |
| 5007 |
The non-`:' commands, and `:' commands that follows a command of |
| 5008 |
another type will be executed immediately \fIafter\fP the first menu |
| 5009 |
page is presented. The execution of a `:' command can be postponed by |
| 5010 |
using a double `::' as the command prefix. |
| 5011 |
.sp 0.5v |
| 5012 |
.nf |
| 5013 |
\fBon entry\fP comp.sources* alt.sources |
| 5014 |
:set cross-post on # set before collection |
| 5015 |
:local auto-read-mode-limit -1 # set before showing menu |
| 5016 |
::unset cross-post # set after collection |
| 5017 |
\fBend\fP |
| 5018 |
.fi |
| 5019 |
.TP |
| 5020 |
\fBon start-up\fP |
| 5021 |
.br |
| 5022 |
These `:' commands (macro format!) are executed on start-up just |
| 5023 |
before \fInn\fP enters the first news group. However, postponed |
| 5024 |
commands (i.e. non-`:' commands) will not be executed until the first |
| 5025 |
group is shown (it works like an entry macro). |
| 5026 |
.SH GROUP PRESENTATION SEQUENCE |
| 5027 |
News groups are normally presented in the sequence defined in the |
| 5028 |
system-wide |
| 5029 |
.B init |
| 5030 |
file in \fInn\fP's library directory. |
| 5031 |
.LP |
| 5032 |
You can personalize the presentation sequence |
| 5033 |
by specifying an alternative sequence in the private |
| 5034 |
.I init |
| 5035 |
file. |
| 5036 |
The sequence in the private init file is used |
| 5037 |
.I before |
| 5038 |
the global presentation sequence, and need only |
| 5039 |
describe the deviations from the default presentation sequence. |
| 5040 |
.LP |
| 5041 |
The presentation sequence must start with the word |
| 5042 |
.nf |
| 5043 |
\fBsequence\fP |
| 5044 |
.fi |
| 5045 |
followed by a list of the news group names in the order you want them |
| 5046 |
to be presented. |
| 5047 |
The group names must be separated by white space. |
| 5048 |
The sequence list must be the \fIlast\fP part of the |
| 5049 |
init file (the parsing of commands from the init file stops when the |
| 5050 |
word \fBsequence\fP is encountered). |
| 5051 |
.LP |
| 5052 |
You may use a full group name like "comp.unix.questions", or just the |
| 5053 |
name of a main group or subgroup, e.g. "comp" or "comp.unix". |
| 5054 |
However, if "comp" precedes "comp.unix.questions" in the list, this |
| 5055 |
subgroup will be placed in the normal alphabetic sequence during the |
| 5056 |
collection of all the "comp" groups. |
| 5057 |
.LP |
| 5058 |
Groups which are not explicitly mentioned in any of the sequence files |
| 5059 |
will be placed after the mentioned groups, unless `!!' is used and it |
| 5060 |
has not been disabled (as described below). |
| 5061 |
.LP |
| 5062 |
Each group name may be followed by a file or folder name (must start |
| 5063 |
with either of `/' `~' or `+') which will specify the default save file |
| 5064 |
for that group (and its subgroups). A single `+' following the group |
| 5065 |
name is an abbreviation for the last save file name used. |
| 5066 |
For example, the following two sequences are equivalent: |
| 5067 |
.nf |
| 5068 |
group1 +file group2 +file group3 +file |
| 5069 |
group1 +file group2 + group3 + |
| 5070 |
.fi |
| 5071 |
.LP |
| 5072 |
When an article is saved, the default save name will be used as the |
| 5073 |
initial contents of the file name prompt for further editing. It |
| 5074 |
therefore does not need to be be a complete file name (unless you use |
| 5075 |
the quick save mode). |
| 5076 |
.LP |
| 5077 |
Each group name may also be associated |
| 5078 |
with a so-called \fBentry action\fP. This is basically an (unnamed) |
| 5079 |
macro which is invoked on entry to the group (following the same rules |
| 5080 |
as the `on entry' command group related to :set and :unset commands). |
| 5081 |
.LP |
| 5082 |
The entry action begins with a left parenthesis `\fB(\fP' and ends |
| 5083 |
with a right parenthesis `\fB)\fP' on an otherwise empty line: |
| 5084 |
.sp 0.5v |
| 5085 |
.nf |
| 5086 |
comp.sources. +src/$L/ ( |
| 5087 |
:set cross-post |
| 5088 |
) |
| 5089 |
.fi |
| 5090 |
.sp 0.5v |
| 5091 |
The last entry action can be repeated by specifying an empty set of |
| 5092 |
parenthesis, e.g. |
| 5093 |
.sp 0.5v |
| 5094 |
.nf |
| 5095 |
comp.unix. +unix () |
| 5096 |
.fi |
| 5097 |
.sp 0.5v |
| 5098 |
The entry action of a preceding group in the sequence can be |
| 5099 |
associated with the current group(s) by specifying the name of the |
| 5100 |
group in the parentheses instead of the commands, e.g. |
| 5101 |
.sp 0.5v |
| 5102 |
.nf |
| 5103 |
comp.unix. +unix (comp.sources.unix) |
| 5104 |
.fi |
| 5105 |
.sp 0.5v |
| 5106 |
A macro can also be associated with the entry action by specifying its |
| 5107 |
number in the same way as the group name above, e.g. |
| 5108 |
.sp 0.5v |
| 5109 |
.nf |
| 5110 |
rec.music. +music (30) |
| 5111 |
.fi |
| 5112 |
.sp 0.5v |
| 5113 |
Notice that it is the |
| 5114 |
\fIcurrent\fP definition of the macro which is associated with the |
| 5115 |
group, so if the macro is later redefined with the `:define' command, |
| 5116 |
it will not have any effect on the entry action. |
| 5117 |
.LP |
| 5118 |
Group names can be specified using the following notations: |
| 5119 |
.TP |
| 5120 |
group.name |
| 5121 |
Append the group (if it exists) to the presentation sequence list. If |
| 5122 |
\fBalso-subgroups\fP is set (default), all subscribed subgroups of the |
| 5123 |
group will be included as well (if there are any). Examples: "comp", |
| 5124 |
"comp.unix", "comp.unix.questions". If the group does not exits (e.g. |
| 5125 |
"comp"), the subgroups will be included even when \fBalso-subgroups\fP |
| 5126 |
is not set, i.e. "comp" is equivalent to "comp.". |
| 5127 |
.TP |
| 5128 |
group.name. |
| 5129 |
Append the subgroups of the specified group to the presentation |
| 5130 |
sequence. The group itself (if it exists) is not included. |
| 5131 |
Examples: "comp.", "comp.unix.". |
| 5132 |
.TP |
| 5133 |
\&.group.name |
| 5134 |
Append the groups whose name ends with the specified name to the |
| 5135 |
sequence. Example: ".test". |
| 5136 |
.TP |
| 5137 |
group.name* |
| 5138 |
Append the group and its subgroups to the presentation sequence list |
| 5139 |
(even when \fBalso-subgroups\fP is not set). Example: "comp.unix*". |
| 5140 |
.LP |
| 5141 |
The following meta notation can be used in a sequence file. The |
| 5142 |
group.name can be specified using any of the forms described above: |
| 5143 |
.TP |
| 5144 |
\&! groups |
| 5145 |
Completely ignore the group or groups specified |
| 5146 |
unless they are already in the presentation sequence (i.e. has been |
| 5147 |
explicitly mentioned earlier in the sequence). |
| 5148 |
.TP |
| 5149 |
\&!:\fIcode\fP groups |
| 5150 |
Ignore a selection of groups based on the given \fIcode\fP letter (see |
| 5151 |
below), unless they are already included in the sequence. Notice that |
| 5152 |
these forms \fIonly\fP excludes groups from the |
| 5153 |
presentation sequence, i.e. they \fIdo not\fP include the remaining |
| 5154 |
groups at this point; that must be done explicitly elsewhere. |
| 5155 |
.TP |
| 5156 |
\&!:U groups |
| 5157 |
Ignore unsubscribed groups, i.e. if they are neither new, nor present |
| 5158 |
and subscribed in \&.newsrc. |
| 5159 |
This is useful to ignore a whole hierarchy except for a |
| 5160 |
few groups which are explicitly mentioned in \&.newsrc and still see |
| 5161 |
new groups as they are created. |
| 5162 |
.TP |
| 5163 |
\&!:X groups |
| 5164 |
Ignore unsubscribed \fIand\fP new groups, i.e. if they are not |
| 5165 |
currently present and subscribed in \&.newsrc. |
| 5166 |
This is useful to ignore a whole hierarchy except for a |
| 5167 |
few groups which are explicitly mentioned in \&.newsrc. New groups in |
| 5168 |
the hierarchy are ignored unless `NEW' occurs earlier in the sequence. |
| 5169 |
.TP |
| 5170 |
\&!:O groups |
| 5171 |
Ignore old groups, i.e. \fIunless\fP they are new. This is useful to |
| 5172 |
ignore a whole hierarchy but still see new groups which are created in |
| 5173 |
the hierarchy (it might become interesting some day). Individual |
| 5174 |
groups can still be included in the sequence if they are specified |
| 5175 |
before the `!:O' entry. |
| 5176 |
.TP |
| 5177 |
\&!:N groups |
| 5178 |
Ignore new groups in the hierarchy. |
| 5179 |
.TP |
| 5180 |
\&!! |
| 5181 |
Stop building the presentation sequence. This eliminates all groups |
| 5182 |
that are not already in the presentation sequence. |
| 5183 |
.TP |
| 5184 |
\fBNEW\fP |
| 5185 |
This is a pseudo group name which matches all \fInew\fP groups; you |
| 5186 |
could place this symbol early in your presentation sequence to see new |
| 5187 |
groups `out of sequence' (to attract your attention to them). |
| 5188 |
.TP |
| 5189 |
\fBRC\fP |
| 5190 |
This is a pseudo group name which matches all groups occurring in the |
| 5191 |
\&.newsrc file. It will cause the groups in .newsrc to be appended to |
| 5192 |
the presentation sequence in the sequence in which they are listed in |
| 5193 |
\&.newsrc. |
| 5194 |
.TP |
| 5195 |
\fBRC:\fP\fInumber\fP |
| 5196 |
Similar to the \fBRC\fP entry, but limited to the first \fInumber\fP |
| 5197 |
lines of the .newsrc file. Example: RC:10 (use 10 lines of .newsrc). |
| 5198 |
.TP |
| 5199 |
\fBRC:\fP\fIstring\fP |
| 5200 |
Similar to the \fBRC\fP entry, but limited to the lines up to (and |
| 5201 |
including) the first line (i.e. group) starting with the given |
| 5202 |
\fIstring\fP. For example: RC:alt.sources |
| 5203 |
.TP |
| 5204 |
\&< group.name |
| 5205 |
Place the group (and its subgroups) at the beginning of the |
| 5206 |
presentation sequence. Notice that each `<' entry will place the |
| 5207 |
group(s) at the beginning of the current sequence, i.e. < A < B < C |
| 5208 |
will generate the sequence C B A. |
| 5209 |
.TP |
| 5210 |
\&> group.name |
| 5211 |
Place the group (and its subgroups) after all other groups that are |
| 5212 |
and will be entered into the presentation sequence. |
| 5213 |
.TP |
| 5214 |
\&@ |
| 5215 |
Disable the `!!' command. This can be included in the personal |
| 5216 |
presentation sequence if the global |
| 5217 |
.B sequence |
| 5218 |
file contains a !! entry (see example 1 below). |
| 5219 |
.TP |
| 5220 |
\&% .... % |
| 5221 |
Starts and ends a region of the sequence where it is possible to |
| 5222 |
include groups which has been eliminated earlier. This may be useful |
| 5223 |
to alter the sequence of some groups, e.g. to place comp.sources.bugs |
| 5224 |
after all other source groups, the following sequence can be used: |
| 5225 |
.sp 0.5v |
| 5226 |
! comp.sources.bugs comp.sources* % comp.sources.bugs % |
| 5227 |
.LP |
| 5228 |
.sp 0.5v |
| 5229 |
.B Example 1: |
| 5230 |
In a company where ordinary users only should read the local |
| 5231 |
news groups, and ignore the rest (including new news groups which are |
| 5232 |
otherwise always subscribed to initially), can use the following |
| 5233 |
global presentation sequence: |
| 5234 |
.sp 0.5v |
| 5235 |
.nf |
| 5236 |
general |
| 5237 |
follow |
| 5238 |
! local.test |
| 5239 |
local |
| 5240 |
!! |
| 5241 |
.fi |
| 5242 |
.sp 0.5v |
| 5243 |
The "expert" users in the company must put the |
| 5244 |
.B @ |
| 5245 |
command somewhere |
| 5246 |
in their private sequence to avoid losing news groups which they have |
| 5247 |
not explicitly mentioned in their init file. |
| 5248 |
.sp |
| 5249 |
.B Example 2: |
| 5250 |
This is the global sequence for systems with |
| 5251 |
heavy news addicts who setup their own sequences anyway. |
| 5252 |
.sp 0.5v |
| 5253 |
.nf |
| 5254 |
# all must read the general news first |
| 5255 |
< general |
| 5256 |
.sp 0.5v |
| 5257 |
# test is test, and junk is junk, |
| 5258 |
# so it is placed at the very end |
| 5259 |
> test |
| 5260 |
> .test |
| 5261 |
> junk |
| 5262 |
.sp 0.5v |
| 5263 |
# this is the standard sequence which everybody may |
| 5264 |
# change to their own liking |
| 5265 |
local # our local groups |
| 5266 |
dk # the Danish groups |
| 5267 |
eunet.general # to present it before eunet.followup |
| 5268 |
eunet # the other European groups |
| 5269 |
comp # the serious groups |
| 5270 |
news # news on news |
| 5271 |
sci # other serious groups |
| 5272 |
rec # not really that important (don't quote me) |
| 5273 |
misc # well, it must be somewhere |
| 5274 |
.sp 0.5v |
| 5275 |
# the groups that are not listed above goes here |
| 5276 |
.fi |
| 5277 |
.sp 0.5v |
| 5278 |
Notice the use of comments in the sequence where they are allowed at |
| 5279 |
the end of non-empty lines as well. |
| 5280 |
.sp |
| 5281 |
.B Example 3: |
| 5282 |
My own presentation sequence (in the init file) simply |
| 5283 |
lists my favourite groups and the corresponding default save files: |
| 5284 |
.sp 0.5v |
| 5285 |
.nf |
| 5286 |
\fBsequence\fP |
| 5287 |
!:U alt* # ignore unsubscribed alt groups |
| 5288 |
news.software.nn +nn |
| 5289 |
comp.sys.ti* +ti/$L |
| 5290 |
NEW # show new groups here |
| 5291 |
news* |
| 5292 |
rec.music.synth +synth/ |
| 5293 |
comp.emacs*,gnu.emacs +emacs/misc |
| 5294 |
comp.risks +risks |
| 5295 |
eunet.sources +src/unix/ |
| 5296 |
comp.sources* +src/$L/ |
| 5297 |
.fi |
| 5298 |
.sp 0.5v |
| 5299 |
The presentation sequence is not used when \fInn\fP is called with one or |
| 5300 |
more news group names on the command line; it is thus possible to read |
| 5301 |
ignored groups (on explicit request) without changing the init file. |
| 5302 |
(Of course, you can also use the |
| 5303 |
.B G |
| 5304 |
command to read ignored groups). |
| 5305 |
.SH MERGING NEWS GROUPS |
| 5306 |
The third example above contains the following line: |
| 5307 |
.sp 0.5v |
| 5308 |
.nf |
| 5309 |
comp.emacs*,gnu.emacs +emacs/misc |
| 5310 |
.fi |
| 5311 |
.sp 0.5v |
| 5312 |
This is the syntax used to \fImerge\fP groups. When two or more |
| 5313 |
groups are merged, all new articles in these groups are presented |
| 5314 |
together as if they were one group. To merge groups, their names must |
| 5315 |
be listed together in the sequence, and only separated by a single |
| 5316 |
comma. To merge the groups resulting from a single group pattern |
| 5317 |
(e.g. comp.emacs*), the group pattern must be followed by a comma and |
| 5318 |
a blank (e.g. comp.emacs*, ...). |
| 5319 |
.LP |
| 5320 |
Merged groups are presented as the first group in the "list", and the |
| 5321 |
word "MERGED" will be shown after the group name. The \fBY\fP |
| 5322 |
{\fBoverview\fP} command will still show merged groups as individual |
| 5323 |
groups, but they will be annotated with the symbol `&' on the first of |
| 5324 |
the groups, and a `+' on the rest of the groups. |
| 5325 |
.LP |
| 5326 |
In the current version, the concept of the \fIcurrent group\fP in |
| 5327 |
connection with merged groups is a bit fuzzy. This should only be |
| 5328 |
noticeable with the \fBG\fP command, which will take the most recently |
| 5329 |
used group among the merged groups as the current group. So things |
| 5330 |
like \fBG = ...\fP may not always work as expected. |
| 5331 |
.SH ENVIRONMENT |
| 5332 |
The following environment variables are used by \fInn\fP: |
| 5333 |
.LP |
| 5334 |
.BR EDITOR . |
| 5335 |
The editor invoked when editing replies, follow-ups, and composing |
| 5336 |
mail. \fInn\fP knows about the following editors: |
| 5337 |
\fIvi\fP, \fIded\fP, \fIGNU emacs\fP, and \fImicro-emacs\fP, |
| 5338 |
and will try to position the cursor on the first line following the |
| 5339 |
header, i.e. after the blank line which must not be deleted! If an |
| 5340 |
article has been included, the cursor is placed on the first line of |
| 5341 |
the included text (to allow you to delete sections easily). |
| 5342 |
.LP |
| 5343 |
.BR LOGNAME . |
| 5344 |
This is taken as the login name of the current user. It is used by |
| 5345 |
\fInn\fP to return failed mail. If it is not defined, \fInn\fP will |
| 5346 |
use the value of USER, or if that is not defined either, \fInn\fP will |
| 5347 |
use the call `who am i' to get this information. If all attempts |
| 5348 |
fail, the failed mail is dropped in the bit bucket. |
| 5349 |
.LP |
| 5350 |
.BR PAGER . |
| 5351 |
This is used as the initial value of the \fBpager\fP variable. |
| 5352 |
.LP |
| 5353 |
.BR SHELL . |
| 5354 |
This is the shell which is spawned if the system cannot suspend |
| 5355 |
\fInn\fP, and it will be used to execute the shell escapes. |
| 5356 |
.LP |
| 5357 |
.BR TERM . |
| 5358 |
The terminal type. |
| 5359 |
.SH FILES |
| 5360 |
.DT |
| 5361 |
.nr tW \w'~/.nn/KILL.COMP' |
| 5362 |
.nr tX \w'/usr/local/lib/nntp_server' |
| 5363 |
.if \n(tWu>\n(tXu .nr tX \n(tWu |
| 5364 |
.ta \n(tWu+3m |
| 5365 |
.\"ta 0 22 |
| 5366 |
~/.newsrc The record of read articles. |
| 5367 |
.br |
| 5368 |
~/.nn/select The record of selected and seen articles. |
| 5369 |
.br |
| 5370 |
~/.nn/init Personal configuration and presentation sequence. |
| 5371 |
.br |
| 5372 |
~/.nn/kill The automatic kills and selections. |
| 5373 |
.br |
| 5374 |
~/.nn/KILL.COMP The compiled kill file. |
| 5375 |
.br |
| 5376 |
~/.nn/LAST The time stamp of the last new news group we have seen. |
| 5377 |
.br |
| 5378 |
~/.nn/NEXTG Active group last time \fInn\fP was quit. |
| 5379 |
.br |
| 5380 |
~/.nn/.param Parameter file for the aux script |
| 5381 |
.br |
| 5382 |
$lib/setup System-wide setup - always read first. |
| 5383 |
.br |
| 5384 |
$lib/init System-wide setup and presentation sequence. |
| 5385 |
.br |
| 5386 |
$lib/aux The response edit and send script. |
| 5387 |
.br |
| 5388 |
$lib/routes Mapping rules for mail addresses (on non-domain systems). |
| 5389 |
.br |
| 5390 |
$db/* The news data base. |
| 5391 |
.br |
| 5392 |
/etc/termcap Terminal data base [BSD]. |
| 5393 |
.br |
| 5394 |
/usr/lib/terminfo/* Terminal data base [SysV]. |
| 5395 |
.br |
| 5396 |
/usr/local/lib/nntp_server Name of remote nntp server. |
| 5397 |
.sp 0.5v |
| 5398 |
.DT |
| 5399 |
The name $lib and $db are the directories used for the auxiliary files |
| 5400 |
and the news data base respectively. Their name and location is |
| 5401 |
defined at compile time. Common choices are /usr/local/lib/nn or |
| 5402 |
/usr/lib/news/nn for $lib and /usr/spool/nn or /usr/spool/news/.nn for |
| 5403 |
$db. |
| 5404 |
.SH SEE ALSO |
| 5405 |
Other netnews documentation. |
| 5406 |
.br |
| 5407 |
RFC 1341, MIME (Multipurpose Internet Mail Extensions) |
| 5408 |
.br |
| 5409 |
nncheck(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1) |
| 5410 |
.br |
| 5411 |
nnadmin(1M), nnusage(1M), nnmaster(8), nnspew(8) |
| 5412 |
.SH ORIGINAL AUTHOR |
| 5413 |
Kim F. Storm, Texas Instruments A/S, Denmark |
| 5414 |
.br |
| 5415 |
.SH CURRENT MAINTAINER |
| 5416 |
Michael T Pins [email protected] |
| 5417 |
.LP |
| 5418 |
The NNTP support was designed and implemented by Ren\o'\(aae' Seindal, |
| 5419 |
Institute of Datalogy, University of Copenhagen, Denmark. |
| 5420 |
.LP |
| 5421 |
The news.software.nn group is used for discussion on all subjects |
| 5422 |
related to the nn news reader. This includes, but is not limited to, |
| 5423 |
questions, answers, ideas, hints, information from the development |
| 5424 |
group, patches, etc. |
| 5425 |
.\" ENDPART D |