tags 501893 + patch
thanks
Attached is the improved manual pages and POD source code.
# This is manual page in Perl POD format. Read more at
# http://perldoc.perl.org/perlpod.html or run command:
#
# perldoc perlpod | less
#
# To check the syntax:
#
# podchecker *.pod
#
# Create manual page with command:
#
# pod2man PAGE.N.pod > PAGE.N
=pod
=head1 NAME
ctorrent - Download bittorrent files from command line
=head1 SYNOPSIS
ctorrent - [options] *.torrent
=head1 OPTIONS
=over 4
=item B<-a>
Preallocate files on disk
=item B<-A USER-AGENT-STRING>
Set User-Agent header (default "Enhanced-CTorrent/dnh3.2")
=item B<-b FILE>
Bitfield save FILE (default is torrent+".bf")
=item B<-c>
Check pieces only, don't download
=item B<-d>
Daemon mode (fork to background)
=item B<-D rate>
Max bandwidth down (unit KiB/s)
=item B<-e hours>
Exit while seed HOURS later (default 72 hours)
=item B<-E ratio>
Exit after seeding to RATIO (UL:DL)
=item B<-f>
Force saved bitfield or seed mode (skip initial hash check)
=item B<-h|-H>
Display short help.
=item B<-i IP>
Listen for connections on specific IP address (default all/any)
=item B<-l LENGTH>
Piece length (default 262144)
=item B<-m PEERS-MIN>
Min peers count (default 1)
=item B<-M PEERS-MAX>
Max peers count (default 100)
=item B<-n FILE-NBR-LIST>
Specify file number(s) to download
=item B<-p PORT>
Listen PORT (default 2706 -> 2106)
=item B<-P ID>
Set Peer ID prefix (default "-CD0302-")
=item B<-s SAVEFILE|DIR>
Download ("save as") to a different file or directory
=item B<-t>
Create a new torrent file
=item B<-t URL>
Tracker's URL
=item B<-v>
Verbose output (for debugging)
=item B<-x>
Decode metainfo (torrent) file only, don't download
=item B<-z SLICE-SIZE>
Download slice/block size, unit KB (default 16, max 128)
=back
=head1 DESCRIPTION
CTorrent is a BitTorrent Client program written in C/C++. Fast and
small are CTorrent's two strengths.
EXAMPLES
ctorrent -s save.iso -e 12 -C 32 -p 6881 iso.torrent
=head1 ENVIRONMENT
None.
=head1 FILES
None.
=head1 SEE ALSO
azureus(1)
bittornado(1)
bittorrent(1)
ktorrent(1)
qbittorrent(1)
qtorrent(1)
rtorrent(1)
transmission-cli(1)
=head1 AUTHORS
This manual page was written by Jari Aalto <[EMAIL PROTECTED]>, for
the Debian GNU system (but may be used by others). Released under
license GNU GPL v2 or (at your option) any later version.
The program developement was discontinued 2006-06-07. See project page
https://sourceforge.net/projects/ctorrent
=cut
.\" Automatically generated by Pod::Man 2.18 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds :
\\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o
\\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "ctorrent 1"
.TH ctorrent 1 "2008-10-11" "ctorrent" "2008-10-11"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
ctorrent \- Download bittorrent files from command line
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
\& ctorrent \- [options] *.torrent
.Ve
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-a\fR" 4
.IX Item "-a"
Preallocate files on disk
.IP "\fB\-A USER-AGENT-STRING\fR" 4
.IX Item "-A USER-AGENT-STRING"
Set User-Agent header (default \*(L"Enhanced\-CTorrent/dnh3.2\*(R")
.IP "\fB\-b \s-1FILE\s0\fR" 4
.IX Item "-b FILE"
Bitfield save \s-1FILE\s0 (default is torrent+\*(L".bf\*(R")
.IP "\fB\-c\fR" 4
.IX Item "-c"
Check pieces only, don't download
.IP "\fB\-d\fR" 4
.IX Item "-d"
Daemon mode (fork to background)
.IP "\fB\-D rate\fR" 4
.IX Item "-D rate"
Max bandwidth down (unit KiB/s)
.IP "\fB\-e hours\fR" 4
.IX Item "-e hours"
Exit while seed \s-1HOURS\s0 later (default 72 hours)
.IP "\fB\-E ratio\fR" 4
.IX Item "-E ratio"
Exit after seeding to \s-1RATIO\s0 (\s-1UL:DL\s0)
.IP "\fB\-f\fR" 4
.IX Item "-f"
Force saved bitfield or seed mode (skip initial hash check)
.IP "\fB\-h|\-H\fR" 4
.IX Item "-h|-H"
Display short help.
.IP "\fB\-i \s-1IP\s0\fR" 4
.IX Item "-i IP"
Listen for connections on specific \s-1IP\s0 address (default all/any)
.IP "\fB\-l \s-1LENGTH\s0\fR" 4
.IX Item "-l LENGTH"
Piece length (default 262144)
.IP "\fB\-m PEERS-MIN\fR" 4
.IX Item "-m PEERS-MIN"
Min peers count (default 1)
.IP "\fB\-M PEERS-MAX\fR" 4
.IX Item "-M PEERS-MAX"
Max peers count (default 100)
.IP "\fB\-n FILE-NBR-LIST\fR" 4
.IX Item "-n FILE-NBR-LIST"
Specify file number(s) to download
.IP "\fB\-p \s-1PORT\s0\fR" 4
.IX Item "-p PORT"
.Vb 1
\& Listen PORT (default 2706 \-> 2106)
.Ve
.IP "\fB\-P \s-1ID\s0\fR" 4
.IX Item "-P ID"
Set Peer \s-1ID\s0 prefix (default \*(L"\-CD0302\-\*(R")
.IP "\fB\-s SAVEFILE|DIR\fR" 4
.IX Item "-s SAVEFILE|DIR"
Download (\*(L"save as\*(R") to a different file or directory
.IP "\fB\-t\fR" 4
.IX Item "-t"
Create a new torrent file
.IP "\fB\-t \s-1URL\s0\fR" 4
.IX Item "-t URL"
Tracker's \s-1URL\s0
.IP "\fB\-v\fR" 4
.IX Item "-v"
Verbose output (for debugging)
.IP "\fB\-x\fR" 4
.IX Item "-x"
Decode metainfo (torrent) file only, don't download
.IP "\fB\-z SLICE-SIZE\fR" 4
.IX Item "-z SLICE-SIZE"
Download slice/block size, unit \s-1KB\s0 (default 16, max 128)
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
CTorrent is a BitTorrent Client program written in C/\*(C+. Fast and
small are CTorrent's two strengths.
.PP
\&\s-1EXAMPLES\s0
.PP
.Vb 1
\& ctorrent \-s save.iso \-e 12 \-C 32 \-p 6881 iso.torrent
.Ve
.SH "ENVIRONMENT"
.IX Header "ENVIRONMENT"
None.
.SH "FILES"
.IX Header "FILES"
None.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIazureus\fR\|(1)
\&\fIbittornado\fR\|(1)
\&\fIbittorrent\fR\|(1)
\&\fIktorrent\fR\|(1)
\&\fIqbittorrent\fR\|(1)
\&\fIqtorrent\fR\|(1)
\&\fIrtorrent\fR\|(1)
\&\fItransmission\-cli\fR\|(1)
.SH "AUTHORS"
.IX Header "AUTHORS"
This manual page was written by Jari Aalto <[EMAIL PROTECTED]>, for
the Debian \s-1GNU\s0 system (but may be used by others). Released under
license \s-1GNU\s0 \s-1GPL\s0 v2 or (at your option) any later version.
.PP
The program developement was discontinued 2006\-06\-07. See project page
https://sourceforge.net/projects/ctorrent
-----------------------------------------------------------------------
ctorrent(1) 2008-10-11 ctorrent(1)
NAME
ctorrent - Download bittorrent files from command line
SYNOPSIS
ctorrent - [options] *.torrent
OPTIONS
-a Preallocate files on disk
-A USER-AGENT-STRING
Set User-Agent header (default "Enhanced-CTorrent/dnh3.2")
-b FILE
Bitfield save FILE (default is torrent+".bf")
-c Check pieces only, don’t download
-d Daemon mode (fork to background)
-D rate
Max bandwidth down (unit KiB/s)
-e hours
Exit while seed HOURS later (default 72 hours)
-E ratio
Exit after seeding to RATIO (UL:DL)
-f Force saved bitfield or seed mode (skip initial hash check)
-h|-H
Display short help.
-i IP
Listen for connections on specific IP address (default all/any)
-l LENGTH
Piece length (default 262144)
-m PEERS-MIN
Min peers count (default 1)
-M PEERS-MAX
Max peers count (default 100)
-n FILE-NBR-LIST
Specify file number(s) to download
-p PORT
Listen PORT (default 2706 -> 2106)
-P ID
Set Peer ID prefix (default "-CD0302-")
-s SAVEFILE|DIR
Download ("save as") to a different file or directory
-t Create a new torrent file
-t URL
Tracker’s URL
-v Verbose output (for debugging)
-x Decode metainfo (torrent) file only, don’t download
-z SLICE-SIZE
Download slice/block size, unit KB (default 16, max 128)
DESCRIPTION
CTorrent is a BitTorrent Client program written in C/C++. Fast and
small are CTorrent’s two strengths.
EXAMPLES
ctorrent -s save.iso -e 12 -C 32 -p 6881 iso.torrent
ENVIRONMENT
None.
FILES
None.
SEE ALSO
azureus(1) bittornado(1) bittorrent(1) ktorrent(1) qbittorrent(1)
qtorrent(1) rtorrent(1) transmission-cli(1)
AUTHORS
This manual page was written by Jari Aalto <[EMAIL PROTECTED]>, for
the Debian GNU system (but may be used by others). Released under
license GNU GPL v2 or (at your option) any later version.
The program developement was discontinued 2006-06-07. See project page
https://sourceforge.net/projects/ctorrent
ctorrent 2008-10-11 ctorrent(1)
-----------------------------------------------------------------------