updated client test docs.

This commit is contained in:
Arvid Norberg 2006-06-11 13:50:49 +00:00
parent 25dae899f0
commit e90f549f58
2 changed files with 14 additions and 12 deletions

View File

@ -148,7 +148,6 @@ than one).</p>
<p>While running, the <tt class="docutils literal"><span class="pre">client_test</span></tt> sample will look something like this:</p> <p>While running, the <tt class="docutils literal"><span class="pre">client_test</span></tt> sample will look something like this:</p>
<img alt="client_test.png" src="client_test.png" /> <img alt="client_test.png" src="client_test.png" />
<p>The commands available in the client are:</p> <p>The commands available in the client are:</p>
<blockquote>
<ul class="simple"> <ul class="simple">
<li><tt class="docutils literal"><span class="pre">q</span></tt> quits the client (there will be a delay while the client waits <li><tt class="docutils literal"><span class="pre">q</span></tt> quits the client (there will be a delay while the client waits
for tracker responses)</li> for tracker responses)</li>
@ -160,8 +159,9 @@ showing downloaded and requested blocks.</li>
<li><tt class="docutils literal"><span class="pre">p</span></tt> pause all torrents.</li> <li><tt class="docutils literal"><span class="pre">p</span></tt> pause all torrents.</li>
<li><tt class="docutils literal"><span class="pre">u</span></tt> unpause all torrents.</li> <li><tt class="docutils literal"><span class="pre">u</span></tt> unpause all torrents.</li>
<li><tt class="docutils literal"><span class="pre">r</span></tt> force tracker reannounce for all torrents.</li> <li><tt class="docutils literal"><span class="pre">r</span></tt> force tracker reannounce for all torrents.</li>
<li><tt class="docutils literal"><span class="pre">f</span></tt> toggle show file progress. Displays a list of all files and the
download progress for each file.</li>
</ul> </ul>
</blockquote>
<p>The list at the bottom (shown if you press <tt class="docutils literal"><span class="pre">d</span></tt>) shows which blocks has <p>The list at the bottom (shown if you press <tt class="docutils literal"><span class="pre">d</span></tt>) shows which blocks has
been requested from which peer. The green background means that it has been been requested from which peer. The green background means that it has been
downloaded. It shows that fast peers will prefer to request whole pieces downloaded. It shows that fast peers will prefer to request whole pieces

View File

@ -24,16 +24,18 @@ While running, the ``client_test`` sample will look something like this:
The commands available in the client are: The commands available in the client are:
* ``q`` quits the client (there will be a delay while the client waits * ``q`` quits the client (there will be a delay while the client waits
for tracker responses) for tracker responses)
* ``l`` toggle log. Will display the log at the bottom, informing about * ``l`` toggle log. Will display the log at the bottom, informing about
tracker and peer events. tracker and peer events.
* ``i`` toggles torrent info. Will show the peer list for each torrent. * ``i`` toggles torrent info. Will show the peer list for each torrent.
* ``d`` toggle download info. Will show the block list for each torrent, * ``d`` toggle download info. Will show the block list for each torrent,
showing downloaded and requested blocks. showing downloaded and requested blocks.
* ``p`` pause all torrents. * ``p`` pause all torrents.
* ``u`` unpause all torrents. * ``u`` unpause all torrents.
* ``r`` force tracker reannounce for all torrents. * ``r`` force tracker reannounce for all torrents.
* ``f`` toggle show file progress. Displays a list of all files and the
download progress for each file.
The list at the bottom (shown if you press ``d``) shows which blocks has The list at the bottom (shown if you press ``d``) shows which blocks has
been requested from which peer. The green background means that it has been been requested from which peer. The green background means that it has been