I wrote:
> I've had an uncomfortably long break from writing in Lua,
> largely because of Perl's CPAN module Term::ReadKey
>   http://search.cpan.org/perldoc?Term::ReadKey
> for which I haven't noticed a Lua equivalent (so that's the first
> question: are there already Lua equivalents for ReadMode(),
> ReadKey() and GetTerminalSize() that I missed ?);

Hisham wrote:
> Not exactly sure what those do, but I guess you could have
> equivalent functionality from the curses module from luaposix?

Well, not from the curses module; but I upgraded my luaposix,
and I find that it now has tcsetattr() and tcgetattr()
and constants ECHONL and ECHO and various others !
so I might be able to get ReadMode() working just using luaposix :-)
and also poll() so maybe ReadKey() could be possible too :-)
Feels more promising...

Regards,  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

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to