On both 11.3 and 12.0 the update to 4.7.0_1 broke reporting of any and all screen sessions started by users via standard tools like w/who.
Created attachment 208644 [details] Instead of using pututline() use addToUtmp()
You can approximate the patch by chmod u-s the screen binary.
Without suid root (ie 755) screen will at least not wipe out the parent tty session. However 4.6.2 (with suid) logged multiple per tty/terminal in utx. This work around does not restore that functionality.
A commit references this bug: Author: cy Date: Tue Oct 29 04:23:51 UTC 2019 New revision: 515953 URL: https://svnweb.freebsd.org/changeset/ports/515953 Log: Correctly identify utmpx support in FreeBSD. - FreeBSD's utmpx is incorrectly identified in ./configure. - Because of the falsely identified utmpx support in the ./configure script, a previously applied patch, which didn't work, is no longer needed. PR: 241530 Reported by: Henry David Bartholomew <PopularMoment@protonmail.com> Daniel Drinnon <ddrinnon@cdor.net> Changes: head/sysutils/screen/Makefile head/sysutils/screen/files/patch-configure head/sysutils/screen/files/patch-utmp.c
fixed
Thank you for the prompt fix.