lua-users home
lua-l archive

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

2009/9/8 Juris Kalnins <>:
> On Tue, 08 Sep 2009 13:50:14 +0300, Reuben Thomas <> wrote:
>> I'm currently rewriting GNU Zile (a lightweight Emacs clone) in Lua,
>> so I need curses support.
> You may consider doing it without curses. That library is worthy of it's
> name.

Not in my experience. I've tried with termcap before, but simply ended
up hitting problems that curses has already fixed. Curses is also
standardized in POSIX-2001.

> There is big enough subset of ANSI escape sequences that is well
> supported by all current terminals.

That's nice in theory, but "a big enough subset" is not a documented
standard (though I see that it is documented at least to some degree).

> Terminal emulation bugs are often easy to work around without adding
> specific cases to the code.

And with curses I don't have to.

> See and
> for good reference.

Thanks, but with curses I can spend my time writing the application
rather than the terminal interaction. As far as I'm concerned, this is
already a solved problem. (Plus the fact that ncurses's maintainer is
responsive helps.)

Belief marks the line at which our thinking stops (Carse)