lua bindings for newt ncurses toolkit (LADI project modifications)
Go to file
Nedko Arnaudov 0dfa680a0e Update the README 2023-06-25 16:12:33 +03:00
autooptions@87a720d8ad build luanewt with waf 2023-06-25 13:51:53 +03:00
.gitignore build luanewt with waf 2023-06-25 13:51:53 +03:00
.gitmodules build luanewt with waf 2023-06-25 13:51:53 +03:00
AUTHORS Add AUTHORS file 2023-06-25 11:58:02 +03:00
Makefile Upgrade C standard used for compileing from -ansi to -std=c99 2023-06-25 11:35:11 +03:00
README.adoc Update the README 2023-06-25 16:12:33 +03:00
TODO.adoc Update the README. Move TODO list to TODO file. 2023-06-25 16:01:49 +03:00
luanewt.c Import changes from lnewt 2023-06-25 11:19:52 +03:00
luanewt.geany add more key enums 2013-04-06 00:31:50 -07:00
luanewt.h Import changes from lnewt 2023-06-25 11:19:52 +03:00
test1.lua build luanewt with waf 2023-06-25 13:51:53 +03:00
test2.lua build luanewt with waf 2023-06-25 13:51:53 +03:00
test3.lua build luanewt with waf 2023-06-25 13:51:53 +03:00
waf build luanewt with waf 2023-06-25 13:51:53 +03:00
wscript build luanewt with waf 2023-06-25 13:51:53 +03:00

README.adoc

lua bindings for Newt

luanewt provides simple lua bindings for Newt, a programming library for color text mode, widget-based user interfaces.

Note Here are LADI project modifications of bindings that work with Lua 5.3 (and 5.4). A waf build system is provided as alternative to the original Makefile (uses pkg-config).

Dependencies

  • lua 5.3, 5.4 or future version of lua

  • newt

Install deps on MacOS X

brew install newt # MacOS X

Install deps on CentOS

yum install -y newt-devel # CentOS

build & usage

Using waf

Configure the source tree:

./waf configure --prefix=/usr

Build the source tree:

./waf

Install the source tree:

./waf install

Using make

and then just do make, run test with make test