lua-users home
lua-l archive

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



On 2 Feb '06, at 7:52 AM, Rob Shaw wrote:

Also, in a shell window, you can typically scroll through previously typed input lines

by using the up-and-down arrow keys.  This too could easily be written, but is it

already in some small add-on?


That functionality comes from the 'readline' library, which didn't use to be included in OS X (due to licensing issues) so the Lua makefile disables its use when building on OS X.

But in a post from last month, Luiz Henrique de Figueiredo wrote:

It turns out that Mac OS X 10.4 has readline and so Lua builds just fine with
make MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" MYLIBS="-lreadline"

Haven't tried this myself, though.

--Jens