1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
lcurses
=======
By the [lcurses project][GitHub]
[](http://mit-license.org)
[](http://travis-ci.org/lcurses/lcurses/builds)
[](https://waffle.io/lcurses/lcurses)
lcurses is a curses binding for [Lua] 5.1, 5.2 and 5.3 (including LuaJIT).
lcurses is released under the MIT license, like Lua (see [COPYING];
it's basically the same as the BSD license). There is no warranty.
Unfortunately, there's currently no documentation other than
lcurses.c. It's fairly straightforward, though.
Please report bugs and make suggestions by opening an issue on the
github tracker.
Installation
------------
The simplest way to install lcurses is with [LuaRocks]. To install the
latest release (recommended):
luarocks install lcurses
To install current git master (for testing):
luarocks install https://raw.github.com/lcurses/lcurses/release/lcurses-git-1.rockspec
To install without LuaRocks, check out the sources from the
[repository][GitHub] and run the following commands:
cd lcurses
./bootstrap
./configure --prefix=INSTALLATION-ROOT-DIRECTORY
make all check install
Dependencies are listed in the dependencies entry of the file
`rockspec.conf`. You will also need Autoconf and Automake.
See [INSTALL] for `configure` instructions and `configure --help`
for details of available command-line switches.
Bugs reports & patches
----------------------
Bug reports and patches are most welcome. Please use the github issue
tracker (see URL at top). There is no strict coding style, but please
bear in mind the following points when writing new code:
0. Follow existing code. There are a lot of useful patterns and
avoided traps there.
1. 8-character indentation using TABs in C sources; 2-character
indentation using SPACEs in Lua sources.
[Lua]: http://www.lua.org/
[GitHub]: https://github.com/lcurses/lcurses
[LuaRocks]: http://www.luarocks.org "Lua package manager"
[LDoc]: https://github.com/stevedonovan/LDoc "Lua documentation generator"
[COPYING]: https://raw.github.com/lcurses/lcurses/release/COPYING
[INSTALL]: https://raw.github.com/lcurses/lcurses/release/INSTALL
|