[…] I don't wan't to hear anything on the speaker on pressing backspace in an empty command line.
printf "\007" should still work, so no sysctl […]
terminal_beep procedure. Neither terminal_beep nor every location calling terminal_beep consult some configuration switch. Error condition → unconditionally ring bell.sysctl kern.vt.enable_bell=0
Never noticed. It's an old syscons annoyance. Disabling the speaker entirely would be better but I've never seen a command for that. Maybe a problem because it's a stone-age device.Unfortunately this is not possible. sh(1) uses editline(3). It has oneterminal_beepprocedure. Neitherterminal_beepnor every location callingterminal_beepconsult some configuration switch. Error condition → unconditionally ring bell.
This is already the default and for non‑root users it’s kbdcontrol(1)‑b offanyway.