Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2022 21:24:11 +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-mwuGo7VZjr@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 #7 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Stefan E=C3=9Fer from comment #5)
I found a Linux box to test, and so far the behavior seems to be identical
to ours.  As I said, the patch would break existing software most likely.

[kostik@fc ~]$ stty -F /dev/tty sane&
[1] 1309
[kostik@fc ~]$=20

[1]+  Stopped                 stty -F /dev/tty sane
[kostik@fc ~]$

The hang you see is due to SIGTTOU sent before return from
tty_wait_background().
This means that the patch is to make things work to your liking is even less
likely to be reasonable.

I attached the updated version that should work for you, but it is arguably
not committable.

--=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-mwuGo7VZjr>