lua-users home
lua-l archive

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


There's this CPAN module:
"dedicated to providing simple control over terminal driver modes
 (cbreak, raw, cooked, etc.,) support for non-blocking reads,
 if the architecture allows, and some generalized handy functions
 for working with terminals. One of the main goals is to have the
 functions as portable as possible"

The Perl and C parts of it are:

Is there a Lua equivalent ?

(I didn't find anything in ... )
At the moment I just need the GetTerminalSize() function, though
I'd like to do single-char (single-byte will do) kbd input soon...

Peter      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2