diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-21 07:04:44 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-21 07:04:44 +0000 |
| commit | a2b780bf7a78c66d54a248fa99b5fc862c12a127 (patch) | |
| tree | a9377a265f47439952c9100c594ed789117d9063 /doc/installation.html | |
| parent | 71f483496de874f1200526816528b7b2a4e9e4a6 (diff) | |
| download | luasocket-a2b780bf7a78c66d54a248fa99b5fc862c12a127.tar.gz luasocket-a2b780bf7a78c66d54a248fa99b5fc862c12a127.tar.bz2 luasocket-a2b780bf7a78c66d54a248fa99b5fc862c12a127.zip | |
Spell checking on the manuals.
David's changes to lp.lua.
Diffstat (limited to 'doc/installation.html')
| -rw-r--r-- | doc/installation.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/installation.html b/doc/installation.html index 4086f41..c8eb5d9 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
| @@ -37,7 +37,7 @@ Installation"> | |||
| 37 | 37 | ||
| 38 | <!-- installation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 38 | <!-- installation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
| 39 | 39 | ||
| 40 | <h2>Instalation</h2> | 40 | <h2>Installation</h2> |
| 41 | 41 | ||
| 42 | <p> LuaSocket 2.0 uses the new package proposal for Lua 5.1. | 42 | <p> LuaSocket 2.0 uses the new package proposal for Lua 5.1. |
| 43 | All Lua library developers are encouraged to update their libraries so that | 43 | All Lua library developers are encouraged to update their libraries so that |
| @@ -48,7 +48,7 @@ standardization and flexibility of the standard. | |||
| 48 | <p> | 48 | <p> |
| 49 | The proposal was considered important enough by some of us to justify | 49 | The proposal was considered important enough by some of us to justify |
| 50 | early adoption, even before release of Lua 5.1. | 50 | early adoption, even before release of Lua 5.1. |
| 51 | Thus, a compability module | 51 | Thus, a compatibility module |
| 52 | <a href=http://www.keplerproject.org/compat/>compat-5.1</a> | 52 | <a href=http://www.keplerproject.org/compat/>compat-5.1</a> |
| 53 | has been released in conjunction with Roberto Ierusalimschy and <a | 53 | has been released in conjunction with Roberto Ierusalimschy and <a |
| 54 | href=http://www.keplerproject.org/>The Kepler Project</a> team. | 54 | href=http://www.keplerproject.org/>The Kepler Project</a> team. |
| @@ -110,7 +110,7 @@ LUA_PATH=<SHARE>/?.lua;?.lua | |||
| 110 | LUA_CPATH=<LIB>/?.dll;?.dll | 110 | LUA_CPATH=<LIB>/?.dll;?.dll |
| 111 | </pre> | 111 | </pre> |
| 112 | 112 | ||
| 113 | <p> Again, naturally, on Unix systmems the shared library extension would be | 113 | <p> Again, naturally, on Unix systems the shared library extension would be |
| 114 | <tt>.so</tt> instead of <tt>.dll</tt>.</p> | 114 | <tt>.so</tt> instead of <tt>.dll</tt>.</p> |
| 115 | 115 | ||
| 116 | <h3>Using LuaSocket</h3> | 116 | <h3>Using LuaSocket</h3> |
| @@ -127,13 +127,12 @@ Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | |||
| 127 | </pre> | 127 | </pre> |
| 128 | 128 | ||
| 129 | <p> Each module loads their dependencies automatically, so you only need to | 129 | <p> Each module loads their dependencies automatically, so you only need to |
| 130 | load the modues you directly depend upon: <p> | 130 | load the modules you directly depend upon: </p> |
| 131 | 131 | ||
| 132 | <pre class=example> | 132 | <pre class=example> |
| 133 | Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | 133 | Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio |
| 134 | > http = require("socket.http") | 134 | > http = require("socket.http") |
| 135 | > | 135 | > print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) |
| 136 | print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) | ||
| 137 | --> homepage gets dumped to terminal | 136 | --> homepage gets dumped to terminal |
| 138 | </pre> | 137 | </pre> |
| 139 | 138 | ||
| @@ -152,7 +151,7 @@ print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) | |||
| 152 | <p> | 151 | <p> |
| 153 | <small> | 152 | <small> |
| 154 | Last modified by Diego Nehab on <br> | 153 | Last modified by Diego Nehab on <br> |
| 155 | Sun Nov 28 03:19:00 EST 2004 | 154 | Mon Nov 21 01:57:22 EST 2005 |
| 156 | </small> | 155 | </small> |
| 157 | </p> | 156 | </p> |
| 158 | </center> | 157 | </center> |
