Re: scanf failling with ICANON mode when in daemon mode (screen -dmS)

2025-04-25 Thread Jeffrey Walton
On Fri, Apr 25, 2025 at 5:11 PM Presseau, Michael wrote: > > Hi, > > > > I have done my own application console with scanf(). When I run in the screen > (screen -mS test ./test), it work as expected with each characters printed. > But when I run it in screen as daemon, it's failing in loop: > >

scanf failling with ICANON mode when in daemon mode (screen -dmS)

2025-04-25 Thread Presseau, Michael
Hi, I have done my own application console with scanf(). When I run in the screen (screen -mS test ./test), it work as expected with each characters printed. But when I run it in screen as daemon, it's failing in loop: $ screen -dmS test ./test $ screen -r test stdin_thread scanf failed! ret: -