lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

sorry for the late reply, have been away since last wednesday without any
internet access...

I did some work on lua and curses, and was working on some kind of
interface using lua to create console interfaces (cui) all the work is
done in lua, using the curses functions from C. Also working on some
"standard" controls (window, list box, etc...) to create some interfaces
on top of it.

You can look at what i did so far here:
http://mega.ist.utl.pt/~tngd/lua/lcurses-0.1-devel.tar.gz

I had posted some earlier works but removed them because they were rather
incomplete and i *stop* working on it from time to time (depending on
motivation hehe) wich is the case at the moment. But you can see what i
did so far.

There is no documentation (i think) but you can see how it works from the
examples (there are a couple i believe). Also, my intentions on working on
a curses binding to lua actually 'moved' to the motivation on working
on 'cui', so the curses binding may have some extensions having cui in
mind.

Hope it helps...


Tiago
(just remembered... this is probably not the latest version of what i
have, will try to look at what i have on my pc when i get the chance)



On Wed, 12 May 2004, Brennan Leathers wrote:

> Hello,
> I'm fairly new to Lua and I want to start moving up from simple scripts
> to applications with console interfaces. In message
> http://lua-users.org/lists/lua-l/2003-12/msg00305.html   a binding to
> curses is mentioned but unfortunately I can't find a file distribution
> for the library named in the message. Does anyone know of a
> curses/ncurses binding for lua? I realize it is probably pretty simple
> to bind using tolua, but I am just not that far along in my lua
> knowledge path yet.
>
> I've done curses programming in c, but it's more intuitive to me to
> script it. Ruby in particular has a very nice OO binding to curses and I
> think a curses module would be a good candidate for inclusion with the
> standard lua interpreter, since there is also a binding to readline.
>
> Regards,
> Brennan Leathers
>
>
>