Greetings :-)  I wrote (23sep):
> with terminfo, readline and now hopefully readkey,
> my infrastructure is more or less complete.

and this is It, the module I wanted that infrastructure for.
The rockspec is at:
  http://www.pjb.com.au/comp/lua/commandlineui-1.69-0.rockspec

Doc:     http://www.pjb.com.au/comp/lua/commandlineui.html
Tarball: http://www.pjb.com.au/comp/lua/CommandLineUI-1.69.tar.gz

It has more dependencies than I usually use: luaposix, terminfo,
readkey, readline, luabitop, and lgdbm. It displays utf8 and iso8859
correctly (consulting LANG and LC_TYPE), for which reason it depends
on readkey 1.1, which if necessary you can install directly from
 luarocks install http://www.pjb.com.au/comp/lua/readkey-1.1-0.rockspec

>From the blurb:

CommandLineUI offers a high-level user interface to give the user of
command-line applications a consistent "look and feel". Its metaphor
for the computer is as a human-like conversation-partner, and as each
question/response is completed it is summarised onto one line, and remains
on screen, so that the history of the session gradually accumulates
on the screen and is available for review, or for highlight/paste.
It contains: ask(), ask_password(), choose(), confirm(), edit(), inform(),
view() etc.  It supports mouse, uft8, history, filename-completion etc.

It's a slightly leaner descendant of the CPAN module Term::Clui
and the Python3 module TermClui.py. I'd like to keep all three
version-numbers approximately synchronised; therefore this is
already CommandLineUI version 1.69, hope that's OK.

May it be useful,

Peter Billam

http://www.pjb.com.au      [email protected]     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to