Generate VT events when the bell beeps. When coupled with disabling the
bell,this allows custom bells to be rung when we'd otherwise beep.
Details
Details
- Reviewers
• hselasky kevans - Group Reviewers
manpages - Commits
- rGa82d7aeb3f26: vt: Add devctl message for bells
rG4ac3d08a9693: vt: Add devctl message for bells
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 42566 Build 39454: arc lint + arc unit
Event Timeline
sbin/devd/devd.conf.5 | ||
---|---|---|
608 | ||
share/man/man4/vt.4 | ||
304 | ||
sys/dev/vt/vt_core.c | ||
1122 | Maybe pedantic, but I think this should capture (vd->vd_flags & VDF_QUIET_BELL) != 0 as well -- it's not specified in the manpage update whether enabled=false is purely user-driven or if it'll also be set if the console driver's disabled the bell, but I suspect it should cover console-disabled as well. it'd probably be good to juts add a bell_enabled bool above that captures the below two cases, so you can just reuse it here and with one return below. |
sys/dev/vt/vt_core.c | ||
---|---|---|
1122 | perfect, thanks |