[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#226180: not ameanable to configuration with readline frontend; lack of defaults



Package: xserver-xfree86
Version: 4.2.1-14
Severity: normal

The debconf configuration for xserver-xfree86 has a large number of
questions that are missing any default option. Some of these are not
obvious when xserver-xfree86 is configured using debconf's dialog
frontend. For example:

  Note that mouse buttons in excess of five (counting a scroll wheel as two 
  buttons, one each for "up" and "down", and a third if the wheel "clicks") are 
  not yet supported with this configuration tool.

  :-) Emulate 3 button mouse? 
  :-) Emulate 3 button mouse?

There is no reason why there cannot be a default value for this question.
Moreover, there _is_ an implicit default, when using the dialog frontend:
Whatever button dialog decides to highlight when it's not specified. Only
with the text frontend do boolean and select questions have no default
value. So you should go through and add reasonable defaults for all such
things.

Here is another one, using the string type:

  Users of U.S. English keyboards should generally enter "pc104".

  :-) Please select your keyboard model.

  Please enter a value for the entry.

  A null entry is not permitted.

  <proceeds to redislay the whole question>
  
  Users of U.S. English keyboards should generally enter "pc104".

  :-) Please select your keyboard model.

So, why not use "pc104" as a default. Better, why not come up with a
good default based on the selected keymap in console-tools. Or, you could
try to get the value of debian-installer/keymap, which will be available
in the debconf db on systems installed by debian-installer. Anyway,
there should be a reasonable default provided.

Attachment: signature.asc
Description: Digital signature


Reply to: