[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why no unbuffered read from stdin?
- From: Sean Conner <sean@...>
- Date: Wed, 7 Mar 2018 15:59:30 -0500
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 ... )