]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-toss.texi
Unify @ref and @command usage
[nncp.git] / doc / cmd / nncp-toss.texi
1 @node nncp-toss
2 @pindex nncp-toss
3 @section nncp-toss
4
5 @example
6 $ nncp-toss [options]
7     [-node NODE]
8     [-dryrun]
9     [-cycle INT]
10     [-seen]
11     [-nofile] [-nofreq] [-noexec] [-notrns] [-noarea]
12 @end example
13
14 Perform "tossing" operation on all inbound packets. This is the tool
15 that decrypts all packets and processes all payload packets in them:
16 copies files, sends mails, sends out file requests and relays transition
17 packets. It should be run after each online/offline exchange.
18
19 @option{-dryrun} option does not perform any writing and sending, just
20 tells what it will do.
21
22 @option{-cycle} option tells not to quit, but to repeat tossing every
23 @option{INT} seconds in an infinite loop. That can be useful when
24 running this command as a daemon.
25
26 @option{-seen} option creates empty @file{seen/XXX} file after
27 successful tossing of @file{XXX} packet. @command{@ref{nncp-xfer}},
28 @command{@ref{nncp-bundle}}, @command{@ref{nncp-daemon}} and
29 @command{@ref{nncp-call}} commands skip inbound packets that has been
30 already seen, processed and tossed. This is helpful to prevent
31 duplicates.
32
33 @option{-nofile}, @option{-nofreq}, @option{-noexec}, @option{-notrns},
34 @option{-noarea} options allow disabling any kind of packet types processing.