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: > >

screen's InitTTY vs cfmakeraw

2019-11-11 Thread Jeffrey Walton
Hi Everyone, I have an unrelated application that is having trouble reading from a USR modem. Other modems are OK. When I test the USR modem with screen, screen does not have the problem. I am trying to understand the differences between my program and screen's startup code. The big difference se