diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2006-04-20 04:16:23 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2006-04-20 04:16:23 +0000 |
commit | 75f51d5bc7367af6a52700db989499162e8525e8 (patch) | |
tree | c8b0c1b7c60130b6732ab3d5cabfb89d8566c7f9 /doc/index.html | |
parent | 316e205cd4dea804b68ed6ca14cf8b41acf6712f (diff) | |
download | luasocket-75f51d5bc7367af6a52700db989499162e8525e8.tar.gz luasocket-75f51d5bc7367af6a52700db989499162e8525e8.tar.bz2 luasocket-75f51d5bc7367af6a52700db989499162e8525e8.zip |
Almost ready to release 2.0.1
Diffstat (limited to 'doc/index.html')
-rw-r--r-- | doc/index.html | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/doc/index.html b/doc/index.html index 3c0bbce..387b874 100644 --- a/doc/index.html +++ b/doc/index.html | |||
@@ -88,8 +88,9 @@ Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a> | |||
88 | 88 | ||
89 | <p> | 89 | <p> |
90 | LuaSocket version 2.0.1 is now available for download! It is | 90 | LuaSocket version 2.0.1 is now available for download! It is |
91 | compatible with Lua 5.0 and has been tested on | 91 | compatible with Lua 5.0 and Lua 5.1, and has |
92 | Windows XP, Linux, and Mac OS X. | 92 | been tested on Windows XP, Linux, and Mac OS X. Chances |
93 | are it works well on most UNIX systems. | ||
93 | </p> | 94 | </p> |
94 | 95 | ||
95 | <p> | 96 | <p> |
@@ -103,13 +104,13 @@ contains several examples, this user's manual and basic test procedures. | |||
103 | <p> | 104 | <p> |
104 | Danilo Tuler is maintaining Win32 binaries for LuaSocket, which are also | 105 | Danilo Tuler is maintaining Win32 binaries for LuaSocket, which are also |
105 | available from LuaForge. These are compatible with the | 106 | available from LuaForge. These are compatible with the |
106 | <a href=http://luaforge.net/projects/luabinaries>LuaBinaries</a> | 107 | <a href=http://luaforge.net/projects/luabinaries>LuaBinaries</a>, |
107 | available from LuaForge. | 108 | also available from LuaForge. |
108 | </p> | 109 | </p> |
109 | 110 | ||
110 | <p> | 111 | <p> |
111 | For those that want to give LuaSocket a quick try, download the | 112 | If you are using Lua 5.0, and want to give LuaSocket a quick |
112 | stand-alone archive and unpack everything into | 113 | try, download the stand-alone archive and unpack everything into |
113 | a directory, say <tt>c:\luasocket</tt>. Then set <tt>LUA_INIT</tt> to load | 114 | a directory, say <tt>c:\luasocket</tt>. Then set <tt>LUA_INIT</tt> to load |
114 | the <tt>compat-5.1.lua</tt> and set <tt>LUA_PATH</tt> and | 115 | the <tt>compat-5.1.lua</tt> and set <tt>LUA_PATH</tt> and |
115 | <tt>LUA_CPATH</tt> to look for files in the current directory: | 116 | <tt>LUA_CPATH</tt> to look for files in the current directory: |
@@ -135,6 +136,23 @@ Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | |||
135 | --> the source to this web page gets dumped to terminal | 136 | --> the source to this web page gets dumped to terminal |
136 | </pre> | 137 | </pre> |
137 | 138 | ||
139 | <p> | ||
140 | If you are using Lua 5.1, you shouldn't use | ||
141 | <tt>compat-5.1.lua</tt>. Just unpack the standalone | ||
142 | directory, set <tt>LUA_CPATH</tt> and <tt>LUA_PATH</tt>, and | ||
143 | you should be ready to run: | ||
144 | <p> | ||
145 | |||
146 | <pre class=example> | ||
147 | c:\luasocket\> set LUA_CPATH=?.dll | ||
148 | c:\luasocket\> set LUA_PATH=?.lua | ||
149 | c:\luasocket\> lua5.1 | ||
150 | Lua 5.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio | ||
151 | > http = require"socket.http" | ||
152 | > print(http.request"http://www.cs.princeton.edu/~diego/professional/luasocket/" | ||
153 | --> the source to this web page gets dumped to terminal | ||
154 | </pre> | ||
155 | |||
138 | <p> When you are done playing, take a look at the | 156 | <p> When you are done playing, take a look at the |
139 | <a href=installation.html>installation</a> section of the manual to find out | 157 | <a href=installation.html>installation</a> section of the manual to find out |
140 | how to properly install the library. </p> | 158 | how to properly install the library. </p> |