aboutsummaryrefslogtreecommitdiff
path: root/etc/README
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-18 21:41:44 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-18 21:41:44 +0000
commit7ed89c97f760600df238f9853ee453570935870f (patch)
treea17573a43815071e35f85557519fefca739ef7ef /etc/README
parentac4aac0909da26befaaeb6b415f66cf35b6980e0 (diff)
downloadluasocket-7ed89c97f760600df238f9853ee453570935870f.tar.gz
luasocket-7ed89c97f760600df238f9853ee453570935870f.tar.bz2
luasocket-7ed89c97f760600df238f9853ee453570935870f.zip
2.0 alpha RELEASED!
Diffstat (limited to 'etc/README')
-rw-r--r--etc/README20
1 files changed, 3 insertions, 17 deletions
diff --git a/etc/README b/etc/README
index d650843..c459a46 100644
--- a/etc/README
+++ b/etc/README
@@ -1,24 +1,10 @@
1This directory contains code that is more useful than the examples. This code 1This directory contains code that is more useful than the examples. This code
2*is* supported. 2*is* supported.
3 3
4 lua.lua 4 lua.lua -- new require and requirelib implementations
5 5
6These are modules to suport dynamic loading of LuaSocket by the stand alone 6This is to support dynamic loading of LuaSocket. Check the INSTALL
7Lua Interpreter with the use of new "require" and "requirelib" functions. 7file for more information.
8For my Mac OS X box, for instance, I place all files in
9/Users/diego/tec/luasocket and set the following environment variables:
10
11 LUA_INIT=@/Users/diego/tec/luasocket/lua.lua
12 LUA_PATH=/Users/diego/tec/luasocket/?.lua;?.lua
13 LUA_PATHLIB=/Users/diego/tec/luasocket/?.dylib;?.dylib
14
15With that, I can run any luasocket application with the command line:
16
17 lua <script>
18
19as long as the script uses "require" to load the needed namespaces.
20Much nicer than having to build a new executable just to initialize
21LuaSocket!
22 8
23 tftp.lua -- Trivial FTP client 9 tftp.lua -- Trivial FTP client
24 10