Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2022 21:34:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266627] stty -f <file> should be non-blocking
Message-ID:  <bug-266627-227-OkwOUhSDxm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266627-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266627-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266627

--- 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@:/ #=20

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

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266627-227-OkwOUhSDxm>