From 534b0cedf714d4de0a6cf67570e11f232cdccf84 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sun, 28 Nov 2004 08:17:16 +0000 Subject: Added new instalation section to the manual. --- doc/index.html | 84 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 39 deletions(-) (limited to 'doc/index.html') diff --git a/doc/index.html b/doc/index.html index c0a46ea..c3c391f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -4,7 +4,7 @@ - + LuaSocket: Network support for the Lua language @@ -26,6 +26,7 @@

home · download · +instalation · introduction · reference

@@ -79,7 +80,7 @@ LuaSocket.

-Copyright © 1999-2004 Tecgraf/PUC-Rio. All rights reserved.
+Copyright © 2004 Diego Nehab. All rights reserved.
Author: Diego Nehab

@@ -88,7 +89,7 @@ Author: Diego Nehab

Download

-LuaSocket version 2.0 beta2 is now available for download! It is +LuaSocket version 2.0 (beta3) is now available for download! It is compatible with Lua 5.0 and has been tested on Windows XP, Linux, and Mac OS X.

@@ -99,8 +100,8 @@ The library can be downloaded in source code from the following links:

-luasocket-2.0-beta2.tar.gz
-luasocket-2.0-beta2.zip +luasocket-2.0-beta3.tar.gz
+luasocket-2.0-beta3.zip

@@ -116,7 +117,7 @@ LuaSocket a quick try:

-luasocket-2.0-beta2-win32.zip +luasocket-2.0-beta3-win32.zip

@@ -124,11 +125,15 @@ LuaSocket a quick try: The quick and dirty way to use these binaries is to unpack everything into a directory, say c:\luasocket (include all Lua files from the LuaSocket distrbitution in the same directory too!). -Then set LUA_INIT to load the lua.lua helper file: +Then set LUA_INIT to load the compat-5.1.lua and set +LUA_PATH and LUA_CPATH to look for files in that +directory:

-c:\luasocket\> set LUA_INIT=@lua.lua
+c:\luasocket\> set LUA_INIT=@compat-5.1.lua
+c:\luasocket\> set LUA_CPATH=?.dll
+c:\luasocket\> set LUA_PATH=?.lua
 

@@ -142,9 +147,13 @@ c:\luasocket\> lua Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio > http = require"http" > print(http.request"http://www.tecgraf.puc-rio.br/luasocket/") ---> this file +--> this gets dumped to terminal +

Take a look at the installation section of +the manual to find out how to properly install the library after you are +done playing with it.

+

Special thanks

@@ -165,35 +174,31 @@ has been helping a lot too! Thanks to you all!

What's New

-Changes in the 2.0-beta2 were mostly bug-fixes. +The big change for the 2.0 (beta3) release was the adoption of the Lua 5.1 +package proposal. There were several bug fixes too (a beta is a +beta, is a beta).

@@ -201,10 +206,9 @@ higher resolution and no wrap around problems;

Incompatibilities with previous versions

@@ -225,6 +229,8 @@ those that have compatibility issues.

download · +download · +instalation · introduction · reference

-- cgit v1.2.3-55-g6feb