--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/manual/environment.html Thu Apr 21 14:57:45 2011 +0100
@@ -0,0 +1,67 @@
+<html>
+<head>
+<title> DTN2 Manual: Environment Variables </title>
+<link rel="stylesheet" type="text/css" href="manual.css" />
+</head>
+<body>
+<h1>Environment Variables
+</h1>
+
+<p>
+Using environment variables, you can configure some aspects of
+DTN2. The following table summarizes these variables.
+
+<p>
+<table>
+<tr>
+<th> Variable
+<th> Component
+<th> Syntax
+<th> Description
+<th> Default
+
+<tr>
+<td>DTNAPI_ADDR
+<td>dtnd and all DTN API clients (dtncp, dtnping, etc)
+<td>An IP address (<b>not</b> a hostname)
+<td>This is the address that dtnd listens on for requests from DTN
+API clients, and the address that DTN API clients send requests to.
+<td>0.0.0.0
+
+<tr>
+<td>DTNAPI_PORT
+<td>dtnd and all DTN API clients (dtncp, dtnping, etc)
+<td>An IP port number
+<td>This is the port that dtnd listens on for requests from DTN
+API clients, and the port that DTN API clients send requests to.
+<td>5010
+
+<tr>
+<td>HOME
+<td>dtnd
+<td>A directory name
+<td>The <a href="logging.html">logging system</a> looks for the
+<tt>.dtndebug</tt> file in this directory.
+<td><i>Set by operating system.</i>
+
+<tr>
+<td>TMP
+<td>dtnd
+<td>A directory name
+<td>The directory where bundles will be copied when an application
+asks for a bundle to be delivered as a file. If not set, a default
+of <tt>/tmp</tt> is used.
+<td><i>Set by operating system. (Unix)</i>
+
+<tr>
+<td>TEMP
+<td>dtnd
+<td>A directory name
+<td>Same as TMP. TEMP is used only if TMP is not set.
+<td><i>Set by operating system (Windows).</i>
+
+</table>
+
+</body>
+</html>
+