lua-users home
lua-l archive

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


It was thus said that the Great Dirk Laurie once stated:
> 
> The way I read the Linux-supplied documentation, this behaviour
> depends on a setting called "cbreak mode". If that had been set
> the other way, I would indeed have a finished read of one character
> from that first io.read(1).
> 
> Is there any way one can set cbreak from Lua?

  You will need something like luaposix or lcurses to do this.

  -spc (Something about hope and dragons  ... )