diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-18 21:41:51 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-18 21:41:51 +0000 |
commit | cdae8c02ed79efec522408b95106dca028e30ebf (patch) | |
tree | d15ee16ba5e886654863291394dae68b3a0bcc9d /doc/index.html | |
parent | 7ed89c97f760600df238f9853ee453570935870f (diff) | |
download | luasocket-cdae8c02ed79efec522408b95106dca028e30ebf.tar.gz luasocket-cdae8c02ed79efec522408b95106dca028e30ebf.tar.bz2 luasocket-cdae8c02ed79efec522408b95106dca028e30ebf.zip |
*** empty log message ***
Diffstat (limited to 'doc/index.html')
-rw-r--r-- | doc/index.html | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/doc/index.html b/doc/index.html index b96385e..7394386 100644 --- a/doc/index.html +++ b/doc/index.html | |||
@@ -108,21 +108,41 @@ contains several examples, this user's manual and the test procedures. | |||
108 | </p> | 108 | </p> |
109 | 109 | ||
110 | <p> | 110 | <p> |
111 | I am also providing a Windows binary for those that want to give | 111 | I am also providing PC Win32 binaries for those that want to give |
112 | LuaSocket a quick try: | 112 | LuaSocket a quick try: |
113 | </p> | 113 | </p> |
114 | 114 | ||
115 | <blockquote> | 115 | <blockquote> |
116 | <p> | 116 | <p> |
117 | <a href="luasocket-2.0.exe">luasocket-2.0.exe</a> | 117 | <a href="luasocket-2.0-beta-win32.zip">luasocket-2.0-beta-win32.zip</a> |
118 | </p> | 118 | </p> |
119 | </blockquote> | 119 | </blockquote> |
120 | 120 | ||
121 | <p> | 121 | <p> |
122 | This binary has been compiled with the <tt>LUASOCKET_DEBUG</tt> | 122 | The quick and dirty way to use these binaries is to unpack everything into a |
123 | option, and should be able to run the automatic test procedures. | 123 | directory, say <tt>c:\luasocket</tt> (include all Lua files from the |
124 | LuaSocket distrbitution in the same directory too!). | ||
125 | Then set <tt>LUA_INIT</tt> to load the <tt>lua.lua</tt> helper file: | ||
124 | </p> | 126 | </p> |
125 | 127 | ||
128 | <pre class=example> | ||
129 | c:\luasocket\> set LUA_INIT=@lua.lua | ||
130 | </pre> | ||
131 | |||
132 | <p> | ||
133 | From that directory, you can then run the interpreter and it should find all | ||
134 | files it needs. To download this manual page from the Internet, for example, | ||
135 | do the following: | ||
136 | </p> | ||
137 | |||
138 | <pre class=example> | ||
139 | c:\luasocket\> lua | ||
140 | Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | ||
141 | > http = require"http" | ||
142 | > print(http.request"http://www.tecgraf.puc-rio.br/luasocket/") | ||
143 | --> this file | ||
144 | </pre> | ||
145 | |||
126 | <!-- thanks +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 146 | <!-- thanks +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
127 | 147 | ||
128 | <h2 id=thanks>Special thanks</h2> | 148 | <h2 id=thanks>Special thanks</h2> |