From d4704a9d47a5b08bd82d49ca69dc86c1c8e3e37d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 2 Feb 2009 14:30:29 +0000 Subject: [PATCH] 2009-02-02 Tatsuhiro Tsujikawa Updated doc for --uri-selector, --http-server-listen-port and --enable-http-server option. Documented --event-poll option. * doc/aria2c.1.txt --- ChangeLog | 6 ++++++ doc/aria2c.1 | 23 ++++++++++++++++++----- doc/aria2c.1.html | 23 ++++++++++++++++++----- doc/aria2c.1.txt | 16 ++++++++++++---- 4 files changed, 54 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 84b10773..c7d5a571 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-02 Tatsuhiro Tsujikawa + + Updated doc for --uri-selector, --http-server-listen-port and + --enable-http-server option. Documented --event-poll option. + * doc/aria2c.1.txt + 2009-02-02 Tatsuhiro Tsujikawa Updated doc for --enable-http-server. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index b6f7b21c..d5440ad1 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -209,7 +209,7 @@ Set timeout in seconds\&. Default: .PP \fB\-\-uri\-selector\fR=SELECTOR .RS 4 -Specify URI selection algorithm\&. Possible values are +Specify URI selection algorithm\&. The possible values are \fIinorder\fR, \fIfeedback\fR and @@ -735,10 +735,22 @@ Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn .PP \fB\-\-enable\-http\-server\fR[=\fItrue\fR|\fIfalse\fR] .RS 4 -Enable the built\-in HTTP server\&. Currently, this is the experimental feature and it just provides the current download progress\&. Use your web browser(console\-based ones, such as elinks, w3m, are recommended) to connect the server and see what\'s what\&. Default: +Enable the built\-in HTTP server\&. Currently, this is the experimental feature and it just provides the current download progress\&. Use your web browser(console\-based ones, such as elinks, w3m, are recommended) to connect the server and see what\'s what\&. See also +\fB\-\-http\-server\-listen\-port\fR +option\&. Default: \fIfalse\fR .RE .PP +\fB\-\-event\-poll\fR=POLL +.RS 4 +Specify the method for polling events\&. The possible Values are +\fIepoll\fR +and +\fIselect\fR\&. If you use recent Linux that has epoll, then the default value is +\fIepoll\fR\&. Otherwise, the default value is +\fIselect\fR\&. +.RE +.PP \fB\-\-file\-allocation\fR=METHOD .RS 4 Specify file allocation method\&. METHOD is either @@ -787,9 +799,10 @@ Fetch URIs in the command\-line sequentially and download each URI in a separate .PP \fB\-\-http\-server\-listen\-port\fR=PORT .RS 4 -Specify a port number for the built\-in HTTP Server to listen to\&. Possible Values: -\fI1024\fR\-\fI65535\fR -Default: +Specify a port number for the built\-in HTTP Server to listen to\&. See also +\fB\-\-enable\-http\-server\fR +option\&. The possible Values are +\fI1024\fR\-\fI65535\fR\&. Default: \fI6800\fR .RE .PP diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 7bb179c7..5e452ca8 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -642,7 +642,7 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip

- Specify URI selection algorithm. Possible values are inorder, + Specify URI selection algorithm. The possible values are inorder, feedback and adaptive. If inorder is given, URI is tried in the order appeared in the URI list. If feedback is given, aria2 uses download speed observed in the previous downloads and choose @@ -1368,8 +1368,20 @@ writes the piece to the appropriate files.

Enable the built-in HTTP server. Currently, this is the experimental feature and it just provides the current download progress. Use your - web browser(console-based ones, such as elinks, w3m, are recommended) - to connect the server and see what's what. Default: false + web browser(console-based ones, such as elinks, w3m, are + recommended) to connect the server and see what's what. See also + --http-server-listen-port option. Default: false +

+
+
+--event-poll=POLL +
+
+

+ Specify the method for polling events. The possible Values are + epoll and select. If you use recent Linux that has epoll, then + the default value is epoll. Otherwise, the default value is + select.

@@ -1431,7 +1443,8 @@ are also allocated if they share the same piece.

Specify a port number for the built-in HTTP Server to listen to. - Possible Values: 1024-65535 Default: 6800 + See also --enable-http-server option. The possible Values are + 1024-65535. Default: 6800

@@ -2199,7 +2212,7 @@ files in the program, then also delete it here.

diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index 957570f3..182d0b9c 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -156,7 +156,7 @@ aria2c -o myfile.zip \http://mirror1/file.zip \http://mirror2/file.zip Default: '60' *--uri-selector*=SELECTOR:: - Specify URI selection algorithm. Possible values are 'inorder', + Specify URI selection algorithm. The possible values are 'inorder', 'feedback' and 'adaptive'. If 'inorder' is given, URI is tried in the order appeared in the URI list. If 'feedback' is given, aria2 uses download speed observed in the previous downloads and choose @@ -530,8 +530,15 @@ Advanced Options *--enable-http-server*[='true'|'false']:: Enable the built-in HTTP server. Currently, this is the experimental feature and it just provides the current download progress. Use your - web browser(console-based ones, such as elinks, w3m, are recommended) - to connect the server and see what's what. Default: 'false' + web browser(console-based ones, such as elinks, w3m, are + recommended) to connect the server and see what's what. See also + *--http-server-listen-port* option. Default: 'false' + +*--event-poll*=POLL:: + Specify the method for polling events. The possible Values are + 'epoll' and 'select'. If you use recent Linux that has epoll, then + the default value is 'epoll'. Otherwise, the default value is + 'select'. *--file-allocation*=METHOD:: Specify file allocation method. METHOD is either 'none' or 'prealloc'. @@ -561,7 +568,8 @@ are also allocated if they share the same piece. *--http-server-listen-port*=PORT:: Specify a port number for the built-in HTTP Server to listen to. - Possible Values: '1024'-'65535' Default: '6800' + See also *--enable-http-server* option. The possible Values are + '1024'-'65535'. Default: '6800' *--max-download-limit*=SPEED:: Set max download speed in bytes per sec. '0' means unrestricted.