lua-users home
lua-l archive

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

On Tue, Jan 8, 2013 at 8:24 AM, Coda Highland <> wrote:
> Ugh, no kidding, readline's annoying like that.

Look at the end of 'man readline':

       It's too big and too slow.

Linenoise is surprisingly competent, especially if you don't use all
the fancy readline features (and very few do).

And very small, perfect for linking in statically, which is the
strategy I adopted for my mini Lua 5.2 distro, Luabuild.

(Rob Hoelz has an excellent binding to linenoise which is available
through LuaRocks and will give your interactive Lua scripts some
polish. Even supports customizable completion, which I exploited in

steve d.