https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196742
Bug ID: 196742 Summary: new feature for syslogd - obey mesg flag Product: Base System Version: 10.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: j...@mail.acme.com Created attachment 151651 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151651&action=edit context diff for 10.0-R /usr/src/usr.sbin/syslogd/syslogd.c Currently, when syslogd sends a message to a named user, all of that user's logged-in sessions receive the message. This can be annoying. It would be preferable to be able to designate one particular session to receive such messages. This patch changes syslogd so that when sending a message to a named user, it obeys each session's mesg y/n setting. Sessions with mesg y get the message, sessions with mesg n do not. The patch does not affect messages to everyone ("*"), those still go through regardless of mesg settings. Please find attached a context diff against the 10.0-RELEASE version of /usr/src/usr.sbin/syslogd/syslogd.c - it adds a wrapper routine that checks the mesg flag, and calls it in the appropriate place. I have been using this patch since FreeBSD 4 in 2004, and it seems like time to try and get it into the release. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"