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
sobomax at portaone.com
Mon Feb 14 19:30:07 GMT 2005
Nate Lawson wrote:
> 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
> word quiet., the bell will not be rung when the ringing process
> is in the background vty.
Oh, great, thank you for the pointer. I overlooked it, since I always
have been under impression that beep is controlled on per-tty basis
(i.e. via vidcontrol(8)).
More information about the cvs-all