-
Notifications
You must be signed in to change notification settings - Fork 1
/
aria2t.1.template
183 lines (181 loc) · 3.66 KB
/
aria2t.1.template
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
.TH ARIA2T 1 "14 July 2020"
.SH NAME
aria2t \- an aria2c terminal frontend
.SH SYNOPSIS
.B aria2t
.RI [ OPTION ]...
.RB [\ \-\-select
.RI {\ PATH \ |\ GID \ }...\ ]
.RE
.
.SH DESCRIPTION
.B aria2t
is a low footprint terminal frontend for
.BR aria2c (1).
.
.SH OPTIONS
.
INCLUDE(OPTIONS)
.
.SH TERMINOLOGY
.SS Session file
A temporary file that used for exchanging data between
.BR aria2t (1)
and user.
.
.SS Actions
Actions are executable programs, used for customizing the behavior of
.BR aria2t (1)
by automatically generating contents of
.IR "session file" .
.sp
They always receive the following arguments:
.
.IP 1.
Selection GID (or empty if there are none).
.IP 2.
Path to the
.IR "session file" .
.PP
If an action terminates with failure, then in-progress operation is cancelled. When
an actions does not exist, a default action is executed that always involves opening
.IR "session file"
in the pager or the editor.
.
.SH USAGE
.SS "Keyboard Control"
As a rule of thumb, lower case commands operate on cursor line and upper case
commands operate on global resources OR all downloads. Latter is depending on
whether selection is active or not. Refer to
.BR = .
.
INCLUDE(KEYS)
.
.SS Views
The following views are available (in this order):
.IP \(bu
.BR Downloads \ (default).
Show downloads in an auto-ordered list: Topmost the queued
and currently active ones; completed downloads and errors at the bottom;
everything else is in-between.
.IP \(bu
.BR Files.
Show download state and path of files of a download, URIs of files and servers used for downloading a
URI. Starred (\*(lq*\*(rq) URIs are the ones that were used for downloading. Dashed (\*(lq----\*(rq)
progress means an unselected file.
.IP
Note that the list currently is not scrollable and otherwise numb to user
actions (for example modifying URI list and such is not possible). To select
specific files or to simply get a scrollable overview refer to
.BR f ,\ F .
.IP \(bu
.BR Peers.
Show connected BitTorrent peers\(aq IP address, port number, (their) progress
and download speed, speed information about how fast our aria2 downloads and
uploads from/to them. Dashes mean choking.
.PP
.
.SS Tagging
When
.BR aria2t (1)
can access the downloaded files, it provides basic tagging mechanism that means
it reads
.RB $ ARIA2T_TAGS_XATTR
extended attribute of downloaded files and directories and displays it in a new
column.
.
.SH ENVIRONMENT
.TP
.B ARIA_RPC_HOST
Hostname of the RPC endpoint to connect to.
.sp
Default: 127.0.0.1.
.
.TP
.B ARIA_RPC_PORT
Port number of the RPC endpoint to connect to.
.sp
Default: 6800.
.
.TP
.B ARIA_RPC_SECRET
See
.I RPC authorization secret token
in
.BR aria2c (1).
.sp
Default: (empty).
.
.TP
.B ARIA2T_CONFIG
Configuration root directory.
.sp
Default: $HOME/.config/aria2t.
.
.TP
.B ARIA2T_TAGS_XATTR
Extended attribute to read tags from.
Refer to
.BR getfattr (1),
.BR setfattr (1).
.sp
Default: user.tags
.
.TP
.B VISUAL, EDITOR
Used program for opening
.I session file
for editing.
.sp
Default:
.BR vi (1).
.
.TP
.B PAGER
Used program for opening
.I session file
for viewing.
.sp
Default:
.BR less (1).
.
.TP
.B TMPDIR
Where to create
.I session file.
.sp
Default: /tmp.
.
.SH FILES
.TP
.I $ARIA2T_CONFIG/actions
Actions directory.
.TP
.I $TMPDIR/aria2t.XXXXXX
Session file.
.
.SH EXAMPLE
Start aria2c server and connect to it from another terminal:
.PP
.EX
aria2c \\
--enable-rpc \\
--rpc-secret=mysecret \\
--rpc-listen-port=16800 \\
--input-file=session.gz \\
--save-session=session.gz \\
--rpc-max-request-size=100M
env ARIA_RPC_PORT=16800 ARIA_RPC_SECRET=mysecret aria2t
.EE
.
.SH "SEE ALSO"
.BR aria2c (1)
.
.SH BUGS
https://github.com/zsugabubus/aria2t/issues
.
.SH AUTHORS
Written by zsugabubus.
.
.SH LICENSE
GPLv3+