#537286 rtorrent: Example rtorrent.rc shows ratio command for version 0.8.3, not 0.8.4

Package:
rtorrent
Source:
rtorrent
Description:
ncurses BitTorrent client based on LibTorrent from rakshasa
Submitter:
Rune Kock
Date:
2021-09-22 04:45:35 UTC
Severity:
minor
#537286#5
Date:
2009-07-16 17:50:11 UTC
From:
To:
The way to specify maximum ratio for upload changed in version 0.8.4.

The example rtorrent.rc should show the new way, which is described on the
wiki: libtorrent.rakshasa.no/wiki/RTorrentRatioHandling

Just copying the quick setup from the wiki should be enough, I think.

Also, maybe mention this new behaviour in the NEWS file?

#537286#16
Date:
2011-07-01 11:51:40 UTC
From:
To:
Hi,

I'm just resending this patch, that got hidden away after the merge of
#578598 and #537286. It fixes both the documentation and the example
file. It would be great to have this fixed at least in debian, as
upstream seems to take its time updating the documentation.

Cheers,
--- diff --git a/doc/rtorrent.1 b/doc/rtorrent.1 index fa5477f..423d2ad 100644 --- a/doc/rtorrent.1 +++ b/doc/rtorrent.1 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "RTORRENT" "1" "14 May 2009" "BitTorrent client for ncurses" "" +.TH "RTORRENT" "1" "07 December 2010" "BitTorrent client for ncurses" "" .SH NAME rtorrent \- a BitTorrent client for ncurses @@ -280,11 +280,16 @@ to the filename provided. Load a resource file. \fBtry_import\fR does not throw torrent::input_error exception on bad input. .TP -\fBstop_on_ratio = \fImin_ratio\fB\fR +\fBratio.enable =\fR .TP -\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB\fR +\fBratio.disable =\fR +Enable or disable ratio settings, respectively (see below). .TP -\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB,\fImax_ratio\fB\fR +\fBratio.min.set = \fImin_ratio\fB\fR +.TP +\fBratio.max.set = \fImax_ratio\fB\fR +.TP +\fBratio.upload.set = \fImin_upload\fB\fR Stop torrents when they reach the given upload ratio \fBmin_ratio\fR in percent. If the optional \fBmin_upload\fR is given, require a total diff --git a/doc/rtorrent.1.xml b/doc/rtorrent.1.xml index 9c45585..8fc3da2 100644 --- a/doc/rtorrent.1.xml +++ b/doc/rtorrent.1.xml @@ -581,9 +581,17 @@ torrent::input_error exception on bad input. </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> + <term>ratio.enable =</term> + <term>ratio.disable =</term> + <listitem><para> +Enable or disable ratio settings, respectively (see below). + </para></listitem> + </varlistentry> + + <varlistentry> + <term>ratio.min.set = <replaceable>min_ratio</replaceable></term> + <term>ratio.max.set = <replaceable>max_ratio</replaceable></term> + <term>ratio.upload.set = <replaceable>min_upload</replaceable></term> <listitem><para> Stop torrents when they reach the given upload ratio <emphasis>min_ratio</emphasis> in percent. If the optional diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index bc567f0..0932cc8 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -37,7 +37,10 @@ # when also reaching total upload in bytes, or when # reaching final upload ratio in percent. # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0 -#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000" +#ratio.enable= +#ratio.min.set=200 +#ratio.max.set=2000 +#ratio.upload.set=200M # The ip address reported to the tracker. #ip = 127.0.0.1
#537286#29
Date:
2021-09-22 04:26:15 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com