Re: It appears the terminal bell doesn't work with our definition of wsvt25?, is that right?
RVP <[email protected]>
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 15 Jan 2026, Brian Buhrow wrote:
> If I log into one of the ttyEx consoles on my NetBSD/amd64 machine and I use the
> default terminal type, wich is wsvt25, it appears the terminal bell doesn't work.
>
It does, if you `modload wsbell'. Tested just now on 10.1_STABLE/i386 (QEMU) and
11.99.4/amd64 (real HW).
> If I open a file with vi, then mash on the escape key, I get silence.
>
`:set noflash'
(The default is `flash'.)
> In looking at our copy of the terminfo database (/usr/share/misc/terminfo/terminfo), it appears
> the bel attribute never gets set for wsvt25, tmux-256color or xterm type terminals.
>
For all of those TERM types, `tput bel' (and, `printf \\a') does ring the bell.
> I just checked and the bell doesn't work on xterm windows either.
>
xset b 50 1500 100
will set the Xorg bell to the same vol., pitch and duration as the wscons bell.
Note that this too relies on the console bell working; and, you'll have to delay
the setting a bit if set in `~/.xinitrc'--something like:
{ sleep 3; xset b 50 1500 100; } &
> Is this a known issue or is there another way to activate the bell on these terminals?
>
Run `aiomixer' and make sure the volume(s) is OK and none of the mutes are turned
on.
-RVP