Greetings yet again;  The new rockspec is at:
  http://www.pjb.com.au/comp/lua/readkey-1.2-0.rockspec

Doc:     http://www.pjb.com.au/comp/lua/readkey.html
Tarball: http://www.pjb.com.au/comp/lua/readkey-1.2.tar.gz

1) ReadKey() restarts the P.read() after EINTR interrupt, iff the
terminal is in raw or ultra-raw mode.  (Thanks, Philipp. It would
be nice to have SA_RESTART in luaposix because then I could restart
after SIGWINCH but not after ^C; maybe it's not core POSIX ?)

2) xwininfo lets GetTerminalSize work even after ReadLine.
This works around a problem I have with readline: all other ways of
finding the size use ioctl with the non-POSIX TIOCGWINSZ parameter,
and they fail to respond to size-changes that occur after ReadLine()
has been invoked :-( It seems like readline doesn't reinstate the
kernel's SIGWINCH-handler after it finishes; but it comes back OK
at the end of the process, so not sure what's going on here...

A new CommandLineUI will follow shortly. :-)

Regards,  Peter Billam

http://www.pjb.com.au      p...@pjb.com.au     (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=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to