Bug 235095

Summary: Select keymap quickly by pressing a-z (e.g. d for Danish)
Product: Base System Reporter: scootergrisen
Component: miscAssignee: freebsd-sysinstall mailing list <sysinstall>
Status: Open ---    
Severity: Affects Some People CC: 0mp
Priority: --- Keywords: feature
Version: 12.0-RELEASE   
Hardware: amd64   
OS: Any   

Description scootergrisen 2019-01-21 01:51:57 UTC
If i run bsdinstall (FreeBSD Installer) and see the language list at Keymap Selection i would like to be able to press "d" key to go to keymaps that starts with "d" like "Danish" but nothing happens.

If i press 1-9 i can to to item 1-9 in the list but that is not really usefull when the item i want it beyond number 9.

If i want to select "Danish" now i have to press e.g.:

    PageDown+PageDown+Up+Up+Up+Up+Up+Up+Up+Up+Enter

If i could select with a-z i could select "Danish" by pressing:

    d+Enter

Which would be much quicker/smarter.

Tested in VirtualBox 6.0
Comment 1 scootergrisen 2019-01-21 02:06:51 UTC
Oddly on the Time Zone Selector page the list have this on the front of the items:
1
2
3
4
5
6
7
8
9
0
a

And the Countries In Europe page have:
1
2
3
...
47
48
49

I guess it useable but would it not be smarter to use the first character?

If numbers should be used consistently i guess they should be added to the Keymap Selection screen.
But of course it might be annoying if you are used to pressing 8 to select your country but then in the next version a new country might be added making your country number 9.
Comment 2 scootergrisen 2019-01-21 02:34:30 UTC
If i run the command kbdmap i can type "d" to go to "Danish".

Maybe it would be better if kbdmap and bsdinstall used the same style so it is consistent how you can select the items in the list.
Comment 3 Mateusz Piotrowski freebsd_committer 2019-01-21 09:03:01 UTC
I'd like to see a feature like this in the installer as well.