So flua is basically a Lua5.3 that can run some scripts on system startup. But has anyone tried using flua in the interpreter mode to do some quick jobs? One thing that annoys me is when using flua instead of the official Lua I am unable to move my cursors, for example when I type <arrow-left><arrow-right><arrow-up><arrow-bottom> I see: ^[[D^[[C^[[A^[[B instead of allowing me to move cursors left to modify text or move up to repeat previous inputs.
A commit references this bug: Author: kevans Date: Mon Mar 30 18:43:06 UTC 2020 New revision: 359453 URL: https://svnweb.freebsd.org/changeset/base/359453 Log: flua: enable readline bits, courtesy of libedit This is a nicer experience when attempting to run ad-hoc lua bits in the flua REPL. PR: 245121 MFC after: 1 week Changes: head/libexec/flua/Makefile
A commit references this bug: Author: kevans Date: Mon Apr 6 04:06:16 UTC 2020 New revision: 359646 URL: https://svnweb.freebsd.org/changeset/base/359646 Log: MFC r359453, r359455 r359453: flua: enable readline bits, courtesy of libedit This is a nicer experience when attempting to run ad-hoc lua bits in the flua REPL. r359455: flua: follow-up to r359453, don't bother with libedit in bootstrap The bootstrap flua should not be used for REPL-like activities; exclude it to save the dependency on libedit and not waste time with it. PR: 245121 Changes: _U stable/12/ stable/12/libexec/flua/Makefile
libedit in stable/11 is far enough behind, it's not worth the effort to bring it up to pair with stable/12 and head just for this; closing without touching it.