-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtorrent.1.xml
1141 lines (911 loc) · 34.2 KB
/
rtorrent.1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<refentry id="rtorrent">
<refmeta>
<refentrytitle>rtorrent</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="date">June 25th, 2005</refmiscinfo>
<refmiscinfo class="source"></refmiscinfo>
<refmiscinfo class="title">BitTorrent client for ncurses</refmiscinfo>
</refmeta>
<refnamediv>
<refname>rtorrent</refname>
<refpurpose>a BitTorrent client for ncurses</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>rtorrent</command>
<arg choice="opt">-h</arg>
<arg choice="opt">-n</arg>
<arg choice="opt">-o key1=opt1,...</arg>
<arg choice="opt">-O key=opt</arg>
<arg choice="opt" rep="repeat">URL | FILE</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>
<command>rtorrent</command> is a BitTorrent client for ncurses, using
the <emphasis>libtorrent</emphasis> library. The client and library is
written in C++ with emphasis on speed and efficiency, while delivering
equivalent features to those found in GUI based clients in an ncurses
client.
</para>
<para>
Most of the options below have their own default unit in addition to
supporting B, K, M and G suffixes.
</para>
</refsect1>
<refsect1>
<title>KEYBOARD CONTROL</title>
<para>
</para>
<refsect2>
<title>Global Keys</title>
<variablelist>
<varlistentry>
<term>^q</term>
<listitem><para>
Initiate shutdown, press again to force the shutdown and
skip sending the stop signal to trackers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>up | down | left | right arrow keys</term>
<term>^P | ^N | ^B | ^F</term>
<listitem><para>
Select entries or change windows. The right arrow key or ^F is often
used for viewing details about the selected entry, while the left
arrow key or ^B often returns to the previous screen.
</para></listitem>
</varlistentry>
<varlistentry>
<term>a | s | d</term>
<listitem><para>
Increase the upload throttle by 1/5/50 KB.
</para></listitem>
</varlistentry>
<varlistentry>
<term>A | S | D</term>
<listitem><para>
Increase the download throttle by 1/5/50 KB.
</para></listitem>
</varlistentry>
<varlistentry>
<term>z | x | c</term>
<listitem><para>
Decrease the upload throttle by 1/5/50 KB.
</para></listitem>
</varlistentry>
<varlistentry>
<term>Z | X | C</term>
<listitem><para>
Decrease the download throttle by 1/5/50 KB.
</para></listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>Main View Keys</title>
<variablelist>
<varlistentry>
<term>-></term>
<listitem><para>
View download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>1 - 7</term>
<listitem><para>
Change view.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^S</term>
<listitem><para>
Start download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^D</term>
<listitem><para>
Stop an active download, or remove a stopped download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^K</term>
<listitem><para>
Close a torrent and its files.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^E</term>
<listitem><para>
Set the 'create/resize queued' flags on all files in a torrent. This
is necessary if the underlying files in a torrent have been deleted or
truncated, and thus rtorrent must recreate them.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^R</term>
<listitem><para>
Initiate hash check of torrent.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^O</term>
<listitem><para>
Change the destination directory of the download. The torrent must be
closed.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^X</term>
<listitem><para>
Call commands or change settings.
</para></listitem>
</varlistentry>
<varlistentry>
<term>^B</term>
<listitem><para>
Set download to perform initial seeding. Only use when
you are the first and only seeder so far for the download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>+ | -</term>
<listitem><para>
Change the priority of the download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>backspace</term>
<listitem><para>
Add torrent using an URL or file path. Use
<emphasis>tab</emphasis> to view directory content and do
auto-complete.
</para></listitem>
</varlistentry>
<varlistentry>
<term>l</term>
<listitem><para>
View log. Exit by pressing the space-bar.
</para></listitem>
</varlistentry>
<varlistentry>
<term>U</term>
<listitem><para>
Delete the file the torrent is tied to, and clear the association.
</para></listitem>
</varlistentry>
<varlistentry>
<term>I</term>
<listitem><para>
Toggle whether torrent ignores ratio settings.
</para></listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>Download View Keys</title>
<variablelist>
<varlistentry>
<term>-></term>
<listitem><para>
View torrent file list. Use the space-bar to change the file priority
and <emphasis>*</emphasis> to change the priority of all
files. Use <emphasis>/</emphasis> to collapse the directories. OUTDATED
</para></listitem>
</varlistentry>
<varlistentry>
<term>1 | 2</term>
<listitem><para>
Adjust max uploads.
</para></listitem>
</varlistentry>
<varlistentry>
<term>3 | 4</term>
<listitem><para>
Adjust min peers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>5 | 6</term>
<listitem><para>
Adjust max peers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>u</term>
<listitem><para>
Display transfering blocks.
</para></listitem>
</varlistentry>
<varlistentry>
<term>i</term>
<listitem><para>
Display chunk rarity.
</para></listitem>
</varlistentry>
<varlistentry>
<term>o</term>
<listitem><para>
Display the tracker list. Cycle the trackers in a group with the
space-bar.
</para></listitem>
</varlistentry>
<varlistentry>
<term>p</term>
<listitem><para>
View peer and torrent information.
</para></listitem>
</varlistentry>
<varlistentry>
<term>t | T</term>
<listitem><para>
Initiate tracker request. Use capital T to force the request, ignoring
the "min interval" set by the tracker.
</para></listitem>
</varlistentry>
<varlistentry>
<term>k</term>
<listitem><para>
Disconnect peer.
</para></listitem>
</varlistentry>
<varlistentry>
<term>*</term>
<listitem><para>
Choke/Snub peer.
</para></listitem>
</varlistentry>
</variablelist>
</refsect2>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-b <replaceable>a.b.c.d</replaceable></term>
<listitem><para>
Bind listening socket and outgoing connections to this network
interface address.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-d <replaceable>directory</replaceable></term>
<listitem><para>
Set the default download directory. Defaults to "./".
</para></listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem><para>
Display help and exit.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-i <replaceable>a.b.c.d</replaceable></term>
<listitem><para>
Set the address reported to the tracker.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-n</term>
<listitem><para>
Don't load ~/.rtorrent.rc on startup.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-o key1=opt1,...</term>
<term>-O key=opt</term>
<listitem><para>
Set any number of options, see the SETTINGS section. The options given
here override the resource files. Use capital <emphasis>-O</emphasis>
to allow comma in the option.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-p <replaceable>a-b</replaceable></term>
<listitem><para>
Try to open a listening port in the range <emphasis>a</emphasis> up to
and including <emphasis>b</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-s <replaceable>directory</replaceable></term>
<listitem><para>
Session management will be enabled and the torrent files for all open
downloads will be stored in this directory. Only one instance of
rtorrent should be used with each session directory, though at the
moment no locking is done. An empty string will disable the session
directory.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>GENERAL SETTINGS</title>
<para>
</para>
<variablelist>
<varlistentry>
<term>bind = <replaceable>a.b.c.d</replaceable></term>
<listitem><para>
Bind listening socket and outgoing connections to this network
interface address.
</para></listitem>
</varlistentry>
<varlistentry>
<term>ip = <replaceable>a.b.c.d</replaceable></term>
<term>ip = <replaceable>hostname</replaceable></term>
<listitem><para>
Set the address reported to the tracker.
</para></listitem>
</varlistentry>
<varlistentry>
<term>port_range = <replaceable>a-b</replaceable></term>
<listitem><para>
Try to open a listening port in the range <emphasis>a</emphasis> up to
and including <emphasis>b</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>port_random = <replaceable>yes | no</replaceable></term>
<listitem><para>
Open the listening port at a random position in the port range.
</para></listitem>
</varlistentry>
<varlistentry>
<term>check_hash = <replaceable>yes | no</replaceable></term>
<listitem><para>
Perform hash check on torrents that have finished downloading.
</para></listitem>
</varlistentry>
<varlistentry>
<term>directory = <replaceable>directory</replaceable></term>
<listitem><para>
Set the default download directory. Defaults to "./".
</para></listitem>
</varlistentry>
<varlistentry>
<term>session = <replaceable>directory</replaceable></term>
<listitem><para>
Session management will be enabled and the torrent files for all open
downloads will be stored in this directory. Only one instance of
rtorrent can be used per session directory. An empty string will
disable the session directory.
</para></listitem>
</varlistentry>
<varlistentry>
<term>http_proxy = <replaceable>url</replaceable></term>
<listitem><para>
Use a http proxy. Use an empty string to disable.
</para></listitem>
</varlistentry>
<varlistentry>
<term>encoding_list = <replaceable>encoding</replaceable></term>
<listitem><para>
Add a preferred filename encoding to the list. The encodings are
attempted in the order they are inserted, if none match the torrent
default is used.
</para></listitem>
</varlistentry>
<varlistentry>
<term>encryption = <replaceable>option</replaceable>,<replaceable>...</replaceable></term>
<listitem><para>
Set how rtorrent should deal with encrypted Bittorrent connections. By
default, encryption is disabled, equivalent to specifying the option
<emphasis>none</emphasis>. Alternatively, any number of the following
options may be specified:
</para><para>
<emphasis>allow_incoming</emphasis> (allow incoming encrypted connections),
<emphasis>try_outgoing</emphasis> (use encryption for outgoing connections),
<emphasis>require</emphasis> (disable unencrypted handshakes),
<emphasis>require_RC4</emphasis> (also disable plaintext transmission after the
initial encrypted handshake),
<emphasis>enable_retry</emphasis> (if the initial outgoing connection fails, retry
with encryption turned on if it was off or off if it was on),
<emphasis>prefer_plaintext</emphasis> (choose plaintext when peer offers a choice
between plaintext transmission and RC4 encryption, otherwise RC4 will be used).
</para></listitem>
</varlistentry>
<varlistentry>
<term>peer_exchange = <replaceable>yes | no</replaceable></term>
<listitem><para>
Enable/disable peer exchange for torrents that aren't marked private. Disabled by default.
</para></listitem>
</varlistentry>
<varlistentry>
<term>schedule = <replaceable>id</replaceable>,<replaceable>start</replaceable>,<replaceable>interval</replaceable>,<replaceable>command</replaceable></term>
<listitem><para>
Call <emphasis>command</emphasis> every <emphasis>interval</emphasis>
seconds, starting from <emphasis>start</emphasis>. An
<emphasis>interval</emphasis> of zero calls the task once, while a
<emphasis>start</emphasis> of zero calls it immediately. Currently
<emphasis>command</emphasis> is forwarded to the option handler.
<emphasis>start</emphasis> and <emphasis>interval</emphasis> may
optionally use a time format, <emphasis>dd:hh:mm:ss</emphasis>. F.ex to
start a task every day at <emphasis>18:00</emphasis>, use
<emphasis>18:00:00,24:00:00</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>schedule_remove = <replaceable>id</replaceable></term>
<listitem><para>
Delete <emphasis>id</emphasis> from the scheduler.
</para></listitem>
</varlistentry>
<varlistentry>
<term>start_tied =</term>
<listitem><para>
Start torrents that are tied to filenames that have been re-added.
</para></listitem>
</varlistentry>
<varlistentry>
<term>stop_untied =</term>
<term>close_untied =</term>
<term>remove_untied =</term>
<listitem><para>
Stop, close or remove the torrents that are tied to filenames that
have been deleted. Clear the association with the 'U' key.
</para></listitem>
</varlistentry>
<varlistentry>
<term>close_low_diskspace = <replaceable>space</replaceable></term>
<listitem><para>
Close any active torrents on filesystems with less than
<emphasis>space</emphasis> diskspace left. Use with
the <emphasis>schedule</emphasis> option. A default scheduled event
with id <emphasis>low_diskspace</emphasis> is set to 500Mb.
</para></listitem>
</varlistentry>
<varlistentry>
<term>load = <replaceable>file</replaceable></term>
<term>load_verbose = <replaceable>file</replaceable></term>
<term>load_start = <replaceable>file</replaceable></term>
<term>load_start_verbose = <replaceable>file</replaceable></term>
<listitem><para>
Load and possibly start a file, or possibly multiple files by using the
wild-card "*". This is meant for use with
<emphasis>schedule</emphasis>, though ensure that the
<emphasis>start</emphasis> is non-zero. The loaded file will be tied
to the filename provided.
</para></listitem>
</varlistentry>
<varlistentry>
<term>import = <replaceable>file</replaceable></term>
<term>try_import = <replaceable>file</replaceable></term>
<listitem><para>
Load a resource file. <emphasis>try_import</emphasis> does not throw
torrent::input_error exception on bad input.
</para></listitem>
</varlistentry>
<varlistentry>
<term>stop_on_ratio = <replaceable>min_ratio</replaceable></term>
<term>stop_on_ratio = <replaceable>min_ratio</replaceable>,<replaceable>min_upload</replaceable></term>
<term>stop_on_ratio = <replaceable>min_ratio</replaceable>,<replaceable>min_upload</replaceable>,<replaceable>max_ratio</replaceable></term>
<listitem><para>
Stop torrents when they reach the given upload ratio
<emphasis>min_ratio</emphasis> in percent. If the optional
<emphasis>min_upload</emphasis> is given, require a total
upload amount of this many bytes as well. If the optional
<emphasis>max_ratio</emphasis> is given, stop the torrent
when reaching this ratio regardless of the total upload
amount. Exclude certain torrent by pressing
<emphasis>Shift+I</emphasis> in the downlist list.
Use with the <emphasis>schedule</emphasis> option.
</para></listitem>
</varlistentry>
<varlistentry>
<term>on_insert = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_erase = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_open = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_close = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_start = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_stop = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_hash_queued = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_hash_removed = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_hash_done = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<term>on_finished = <replaceable>id</replaceable>,<replaceable>command</replaceable></term>
<listitem><para>
Call a command on a download when its state changes. Only a subset of
commands are available.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>THROTTLE SETTINGS</title>
<!-- <para> -->
<!-- </para> -->
<variablelist>
<varlistentry>
<term>upload_rate = <replaceable>KB</replaceable></term>
<term>download_rate = <replaceable>KB</replaceable></term>
<listitem><para>
Set the maximum global uploand and download rates.
</para></listitem>
</varlistentry>
<varlistentry>
<term>min_peers = <replaceable>value</replaceable></term>
<term>max_peers = <replaceable>value</replaceable></term>
<listitem><para>
Set the minimum and maximum number of peers to allow in each download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>min_peers_seed = <replaceable>value</replaceable></term>
<term>max_peers_seed = <replaceable>value</replaceable></term>
<listitem><para>
Set the minimum nad maximum number of peers to allow while seeding, or
-1 (default) to use max_peers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>max_uploads = <replaceable>value</replaceable></term>
<listitem><para>
Set the maximum number of simultaneous uploads per download.
</para></listitem>
</varlistentry>
<varlistentry>
<term>max_uploads_div = <replaceable>value</replaceable></term>
<term>max_downloads_div = <replaceable>value</replaceable></term>
<listitem><para>
Change the divider used to calculate the max upload and download slots
to use when the throttle is changed. Disable by
setting <emphasis>0</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>max_uploads_global = <replaceable>value</replaceable></term>
<term>max_downloads_global = <replaceable>value</replaceable></term>
<listitem><para>
Max upload and download slots allowed. Disable by
setting <emphasis>0</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>throttle_up = <replaceable>name</replaceable>, <replaceable>upload_rate</replaceable></term>
<term>throttle_down = <replaceable>name</replaceable>, <replaceable>download_rate</replaceable></term>
<listitem><para>
Define secondary throttle and/or set the given upload or download rate. Attach to a download with the d.set_throttle_name=name command
or switch throttles with Ctrl-T. Download must be stopped when changing throttles. Note that secondary throttles only work if the
global upload/download is throttled. Setting a download to use the <emphasis>NULL</emphasis> throttle makes the download unthrottled
even when there is a global throttle. Note that this special case bypasses the global throttle entirely, and as such its rate and
transfer amounts are not included in the global statistics.
</para></listitem>
</varlistentry>
<varlistentry>
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>host</replaceable></term>
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>network/prefix</replaceable></term>
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>start</replaceable>, <replaceable>end</replaceable></term>
<listitem><para>
Use the given secondary throttle for a host, CIDR network or IP range. All peers with a matching IP will use this throttle instead
of the global throttle or a custom download throttle. The name may be <emphasis>NULL</emphasis> to make these peers unthrottled, with
the same caveats as explained above.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>TRACKER RELATED SETTINGS</title>
<para>
Tracker related settings.
</para>
<variablelist>
<varlistentry>
<term>enable_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Set to <emphasis>no</emphasis> to disable all tracker requests. Useful
for disabling rtorrent with the <emphasis>schedule</emphasis> command.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_dump = <replaceable>filename</replaceable></term>
<listitem><para>
Dump tracker requests to <emphasis>filename</emphasis>, disable by
supplying an empty string. Only torrents loaded while
<emphasis>tracker_dump</emphasis> contains a non-empty string will be
logged at the moment, although disabling it will work as expected.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_numwant = <replaceable>number</replaceable></term>
<listitem><para>
Set the numwant field sent to the tracker, which indicates how many
peers we want. A negative value disables this feature.
</para></listitem>
</varlistentry>
<varlistentry>
<term>use_udp_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Use UDP trackers. Disable if you are behind a firewall, etc, that does
not allow connections to UDP trackers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>dht = <replaceable>disabled|off|auto|on</replaceable></term>
<listitem><para>
Support for querying the distributed hash table (DHT) to find peers for trackerless
torrents or when all trackers are down. Set to <emphasis>disable</emphasis> to completely
disable DHT, <emphasis>off</emphasis> (default) to enable DHT but to not start the
DHT server, <emphasis>auto</emphasis> to automatically start and stop the DHT server
as needed or <emphasis>on</emphasis> for permanently keeping the DHT server running.
When set to automatic, the DHT server will start up when the first non-private torrent
is started, and will stop 15-30 minutes after the last non-private torrent is
stopped (or when rTorrent quits). For DHT to work, a session directory must be set (for
saving the DHT cache).
</para></listitem>
</varlistentry>
<varlistentry>
<term>dht_port = <replaceable>number</replaceable></term>
<listitem><para>
Set the UDP listen port for DHT. Defaults to 6881.
</para></listitem>
</varlistentry>
<varlistentry>
<term>dht_add_node = <replaceable>host[:port]</replaceable></term>
<listitem><para>
Not intended for use in the configuration file but as one-time option in the
client or on the command line to bootstrap an empty DHT node table. Contacts
the given node and attempts to bootstrap from it if it replies.
The port is optional, with port 6881 being used by default.
</para></listitem>
</varlistentry>
<varlistentry>
<term>http_capath = <replaceable>path</replaceable></term>
<term>http_cacert = <replaceable>filename</replaceable></term>
<listitem><para>
Set the certificates to use in http requests. See Curl's
CURLOPT_CAPATH and CURLOPT_CAINFO options for further information.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>USER-INTERFACE SETTINGS</title>
<para>
Display related settings.
</para>
<variablelist>
<varlistentry>
<term>view_add = <replaceable>name</replaceable></term>
<listitem><para>
Create a new view.
</para></listitem>
</varlistentry>
<varlistentry>
<term>view_sort = <replaceable>name</replaceable></term>
<term>view_sort = <replaceable>name</replaceable>,<replaceable>seconds</replaceable></term>
<listitem><para>
Sort a view according the the criteria set by
<emphasis>view_sort_current</emphasis>. If the optional argument is
supplied, the view is not sorted if a change happened during the last
<emphasis>seconds</emphasis>. This command is meant to be used with
<emphasis>schedule</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>view_sort_new = <replaceable>name</replaceable>,<replaceable>...</replaceable></term>
<term>view_sort_current = <replaceable>name</replaceable>,<replaceable>...</replaceable></term>
<listitem><para>
Set the sorting criteria for when new elements inserted or
<emphasis>view_sort</emphasis> is called. The list can contain any
number of criteria, including zero, from the following:
</para><para>
<emphasis>name</emphasis>, <emphasis>name_reverse</emphasis>,
<emphasis>stopped</emphasis>, <emphasis>started</emphasis>,
<emphasis>complete</emphasis>, <emphasis>incomplete</emphasis>,
<emphasis>state_changed</emphasis>,
<emphasis>state_changed_reverse</emphasis>
</para></listitem>
</varlistentry>
<!-- <varlistentry> -->
<!-- <term>view_filter = <replaceable>command</replaceable></term> -->
<!-- <listitem><para> -->
<!-- Set a list of filter to apply when new new downloads are added and -->
<!-- when <emphasis>view_sort</emphasis> is called. All filters must -->
<!-- match for the download to be included. -->
<!-- </para><para> -->
<!-- <emphasis>stopped</emphasis>, <emphasis>started</emphasis>, -->
<!-- <emphasis>complete</emphasis>, <emphasis>incomplete</emphasis>, -->
<!-- </para></listitem> -->
<!-- </varlistentry> -->
<varlistentry>
<term>key_layout = <replaceable>qwerty|azerty|qwertz|dvorak</replaceable></term>
<listitem><para>
Change the key-bindings.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>FILE-SYSTEM SETTINGS</title>
<para>
File-system related settings.
</para>
<variablelist>
<varlistentry>
<term>max_file_size = <replaceable>size</replaceable></term>
<listitem><para>
Set the maximum size a file can have. Disable by
passing <emphasis>-1</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>split_file_size = <replaceable>size</replaceable></term>
<listitem><para>
Split files in a torrent larger than <emphasis>size</emphasis> into
seperate files. Disable by passing <emphasis>-1</emphasis>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>split_suffix = <replaceable>string</replaceable></term>
<listitem><para>
Set the suffix used on split files. Defaults
to <emphasis>.part</emphasis>.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>DOWNLOAD SETTINGS</title>
<para>
Settings that require a download as a target, the options need to be
called through f.ex <emphasis>on_finished</emphasis>.
</para>
<variablelist>
<varlistentry>
<term>create_link = <replaceable>type</replaceable>,<replaceable>path</replaceable>,<replaceable>suffix</replaceable></term>
<term>delete_link = <replaceable>type</replaceable>,<replaceable>path</replaceable>,<replaceable>suffix</replaceable></term>
<listitem><para>
Create or delete a symbolic link. The link path is the concatenation
of <emphasis>path</emphasis>, the result of
the <emphasis>type</emphasis> on the download,
and <emphasis>suffix</emphasis>.
</para><para>
Available types are; <emphasis>base_path</emphasis> uses the base path
of the download, <emphasis>base_filename</emphasis> uses the base
filename of the download, <emphasis>tied</emphasis> uses the path of
the file the download is tied to, see <emphasis>start_tied</emphasis>.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>ADVANCED SETTINGS</title>
<para>
This list contains settings users shouldn't need to touch, some may
even cause crashes or similar if incorrectly set.
</para>
<variablelist>
<varlistentry>
<term>hash_read_ahead = <replaceable>MB</replaceable></term>
<listitem><para>
Configure how far ahead we ask the kernel to read when doing hash
checking. The hash checker uses madvise(..., MADV_WILLNEED) for the
requests.
</para></listitem>
</varlistentry>
<varlistentry>
<term>hash_interval = <replaceable>ms</replaceable></term>
<listitem><para>
Interval between attempts to check the hash when the chunk is not in
memory, in milliseconds.
</para></listitem>
</varlistentry>
<varlistentry>
<term>hash_max_tries = <replaceable>tries</replaceable></term>
<listitem><para>
Number of attempts to check the hash while using the mincore status,
before forcing. Overworked systems might need lower values to get a
decent hash checking rate.
</para></listitem>
</varlistentry>
<varlistentry>
<term>safe_sync = <replaceable>yes|no</replaceable></term>
<listitem><para>
Always use MS_SYNC rather than MS_ASYNC when syncing chunks. This may
be nessesary in case of filesystem bugs like NFS in linux ~2.6.13.
</para></listitem>
</varlistentry>
<varlistentry>