cvs commit: src/sys/amd64/amd64 bios.c src/sys/amd64/include/pc bios.h src/sys/conf files.amd64 src/sys/dev/fb vga.c src/sys/isa syscons_isa.c

Nate Lawson nate at root.org
Mon Feb 14 19:01:10 GMT 2005


Maxim Sobolev wrote:
> David E. O'Brien wrote:
> 
>> obrien      2005-02-14 09:34:40 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:        (Branch: RELENG_5)
>>     sys/conf             files.amd64     sys/dev/fb           vga.c 
>>     sys/isa              syscons_isa.c   Added files:           
>> (Branch: RELENG_5)
>>     sys/amd64/amd64      bios.c     sys/amd64/include/pc bios.h   Log:
>>   MFC: + Make syscons properly inherit the bios capslock/shiftlock/etc 
>> state like
>>        i386 does.  Note that we cannot inherit the bios key repeat 
>> rate because
>>        that requires a bios call (which is impossible for us).
>>        + Give syscons the ability to beep on amd64.
> 
> 
> Actually ability to beep is somewhat controversal ability in its current 
> implementation, since there is no way to disable it and at least on some 
> machines (i.e. my current and previous notebook) there is no way to mute 
> speaker using mixer controls either. It is very annoying when the shell 
> beeps loudly on file completion in the situations when silence is really 
> necessary.

See kbdcontrol(1):
      -b duration.pitch | belltype
	     Set the bell duration in milliseconds and pitch in hertz.	If a
	     belltype argument is specified, it may be one of normal which
	     sets sound parameters back to normal values, off which disables
	     the bell entirely, or visual which sets the bell to visual mode,
	     i.e., flashes the screen instead.	If belltype is preceded by the
	     word quiet., the bell will not be rung when the ringing process
	     is in the background vty.


-- 
Nate


More information about the cvs-all mailing list