Re: [PATCH] vc bell config

From: Jan Engelhardt
Date: Wed Oct 17 2007 - 12:36:19 EST



On Oct 11 2007 18:11, Pavel Machek wrote:
>
>> It is already possible to deactivate the vc bell on a per-tty basis,
>> by using echo -en "\e[11;0]", but this is reset on reset(1).
>>
>> This adds a sysfs parameter to globally control the vc bell, as well
>> as sysfs parameters for default pitch and duration.
>>
>> Signed-off-by: Jan Engelhardt <jengelh@xxxxxx>
>
>There are more parameters that should be set during reset... like
>cursor size and color, palette, .... What about /sys/.../string_to_interpret
>_on_reset ?

On reset(1), cursor size, palette, and bell parameters _do_ get reset
to the defaults. Some defaults may already be changed by the user,
like palette or default_utf8.

Bell configuration is currently not one of them so, should a program
decide to reset the tty, or should it happen that your output is
garbled (forcing you to do reset), some settings change back to
"unwanted defaults".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/