سؤال

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.

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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

for example

$ for i in {1..10}; do echo $i; sleep 1; done | sed 's/$/\a/'
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top