Changes in drivers/char/vt.c

tenthumbs (10@dhack3-161.cybernex.net)
Wed, 20 Aug 1997 13:27:31 -0400 (EDT)


In 2.1.49, the follwing change was made.


@@ -506,8 +504,7 @@
* If the time is zero, turn off sound ourselves.
*/
ticks = HZ * ((arg >> 16) & 0xffff) / 1000;
- if ((arg & 0xffff) == 0 ) arg |= 1; /* jp: huh? */
- count = ticks ? (1193180 / (arg & 0xffff)) : 0;
+ count = ticks ? arg : 0;
kd_mksound(count, ticks);
return 0;
}

This drastically changes the frewuency and the duration of the
standard beep in an xterm or rxvt, but not in a virtual terminal.
Does anyone know why this change was made? If it's an attempt to match
the beeps, it's overshot the mark quite a bit.

Thanks