[Bug 266627] stty -f <file> should be non-blocking

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Sep 2022 21:34:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266627

--- Comment #9 from Konstantin Belousov <kib@FreeBSD.org> ---
I think I have an idea that makes your case workable:

root@:/ # stty -i -f /dev/tty sane &
root@:/ # 

[1]   Done                    stty -i -f /dev/tty sane
root@:/ # 

Note the new '-i' option, which makes stty not block when in background,
without kernel patch.  In fact it would not block even if using blocking fd.

-- 
You are receiving this mail because:
You are the assignee for the bug.