Should be documented on the help message.
On Fri, Apr 14, 2006 at 01:24:02PM +0000, nextgens at freenetproject.org wrote:
> Author: nextgens
> Date: 2006-04-14 13:23:58 +0000 (Fri, 14 Apr 2006)
> New Revision: 8551
>
> Modified:
> trunk/freenet/src/freenet/node/TextModeClientInterface.java
> trunk/freenet/src/freenet/node/Version.java
> Log:
> 645: Small tweaks on TMCI, proposed by Zothar to fix windows related issues
>
> Modified: trunk/freenet/src/freenet/node/TextModeClientInterface.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/TextModeClientInterface.java
> 2006-04-14 12:44:45 UTC (rev 8550)
> +++ trunk/freenet/src/freenet/node/TextModeClientInterface.java
> 2006-04-14 13:23:58 UTC (rev 8551)
> @@ -289,8 +289,17 @@
> if(e.newURI != null)
> outsb.append("Permanent redirect: "+e.newURI+"\r\n");
> }
> + } else if(uline.startsWith("SHUTDOWN")) {
> + n.exit();
> } else if(uline.startsWith("QUIT")) {
> - n.exit();
> + StringBuffer sb = new StringBuffer();
> + sb.append("Closing connection.\r\n");
> + out.write(sb.toString().getBytes());
> + out.flush();
> + return true;
> + } else if(uline.startsWith("HELP")) {
> + printHeader(out);
> + return false;
> } else if(uline.startsWith("PUT:") || (getCHKOnly =
> uline.startsWith("GETCHK:"))) {
> // Just insert to local store
> if(getCHKOnly)
> @@ -465,12 +474,12 @@
> }
> } else if(uline.startsWith("MAKESSK")) {
> InsertableClientSSK key = InsertableClientSSK.createRandom(r);
> - outsb.append("Insert URI: "+key.getInsertURI().toString(false));
> - outsb.append("Request URI: "+key.getURI().toString(false));
> + outsb.append("Insert URI:
> "+key.getInsertURI().toString(false)+"\r\n");
> + outsb.append("Request URI:
> "+key.getURI().toString(false)+"\r\n");
> FreenetURI insertURI =
> key.getInsertURI().setDocName("testsite");
> String fixedInsertURI = insertURI.toString(false);
> - outsb.append("Note that you MUST add a filename to the end of
> the above URLs e.g.:\r\n"+fixedInsertURI);
> - outsb.append("Normally you will then do PUTSSKDIR:<insert
> URI>#<directory to upload>, for
> example:\r\nPUTSSKDIR:"+fixedInsertURI+"#directoryToUpload/");
> + outsb.append("Note that you MUST add a filename to the end of
> the above URLs e.g.:\r\n"+fixedInsertURI+"\r\n");
> + outsb.append("Normally you will then do PUTSSKDIR:<insert
> URI>#<directory to upload>, for
> example:\r\nPUTSSKDIR:"+fixedInsertURI+"#directoryToUpload/"+"\r\n");
> outsb.append("This will then produce a manifest site containing
> all the files, the default document can be accessed
> at\r\n"+key.getURI().toString(false)+"testsite/");
> } else if(uline.startsWith("PUTSSK:")) {
> String cmd = line.substring("PUTSSK:".length());
>
> Modified: trunk/freenet/src/freenet/node/Version.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/Version.java 2006-04-14 12:44:45 UTC
> (rev 8550)
> +++ trunk/freenet/src/freenet/node/Version.java 2006-04-14 13:23:58 UTC
> (rev 8551)
> @@ -20,7 +20,7 @@
> public static final String protocolVersion = "1.0";
>
> /** The build number of the current revision */
> - private static final int buildNumber = 644;
> + private static final int buildNumber = 645;
>
> /** Oldest build of Fred we will talk to */
> private static final int lastGoodBuild = 591;
--
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20060421/0d2bca34/attachment.pgp>