lkml.org 
[lkml]   [1997]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectChanges in drivers/char/vt.c
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



\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.033 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site