Every once in a while, I accidentally cat a binary file
and rxvt starts
beeping from all the control-Gs in the file. It seems
that no matter
how fast I manage to control-C the cat command, it
manages to buffer
up enough data that that rxvt window is beeping at me
for the next
ten minutes. And, on my Solaris box, the window
manager is so busy
playing the beeps that I can't kill the rxvt window or
get any useful
work done (don't know if other OSes are quite as bad).
Anyway, I've fixed the problem for me by throttling the
rate at which
rxvt beeps. The attached patch to screen.c doesn't
allow more than
three beeps in half a second (configurable).
I hope you find it useful.
Log in to post a comment.