cool-retro-term icon indicating copy to clipboard operation
cool-retro-term copied to clipboard

Bell sound & notifications

Open subraizada3 opened this issue 6 years ago • 2 comments

Hi, Thanks for making CRT, it is awesome!

Konsole allows one to configure the behaviour of the terminal bell (show menu bar with ctrl-shift-m, then settings => configure notifications). Aside from playing a sound whenever there is a bell, it also allows for a system notification to pop up when a BEL is emitted in an inactive (nonfocused) terminal.

This allows for

$ long-running-command; tput bel

As a simple way to get a beep + a GUI notification when long-running-command finishes.

Would it be possible to get something like that in CRT?

Thanks!

konsole_bell

subraizada3 avatar Feb 16 '19 05:02 subraizada3

I am running some old software that uses BEL via terminal for notifications. Currently using minicom on Linux which does emit a crude beep when the BEL is received. It would be great to also have a simple BEL sound when using CRT (focused session or otherwise)! Perhaps a user-configurable WAV, in addition to a default? Cheers for making this awesome opensource software available.

BRFud avatar Feb 29 '20 00:02 BRFud

I don't know what the situation is on Mac, but on Linux, most terminal emulators just pass ^G/BEL to X, and from there it gets handled by the desktop environment, and most DEs these days have broken bell handling. Konsole allows you to set a sound to be played on BEL, but if another BEL comes in while the first is still playing, only one will be played. In a lot of the retrocomputing I do, systems will send a single bell for user attention, and a triple bell for "this is important". Having a terminal, any terminal, that recognizes BEL and also properly handles multiple BELs would be amazing.

jwbrase avatar May 12 '22 10:05 jwbrase