Vigneshwaran
Vigneshwaran

Reputation: 3275

How can I make bash terminal to beep when its output screen changes?

I am using gnome-terminal. Is it possible to make it(or any other terminal) beep whenever its output screen changes (like some new output line came)?

I want it for only one particular window.

Upvotes: 1

Views: 892

Answers (2)

Kaz
Kaz

Reputation: 58617

Possibly of use:

The GNU screen program has features for monitoring background windows for activity as well as inactivity.

http://www.gnu.org/software/screen/manual/screen.html#Monitor

Something called lTerm has "tabs with activity alerts"

http://lterm.sourceforge.net/

But at this point I'm turning into a meta search engine.

Upvotes: 2

kev
kev

Reputation: 161864

$ ./myprogram | sed 's/$/\a/'

for example

$ for i in {1..10}; do echo $i; sleep 1; done | sed 's/$/\a/'

Upvotes: 1

Related Questions