Bug 235546 - Keymaps file names in vt/ and syscons/ are not consistent
Summary: Keymaps file names in vt/ and syscons/ are not consistent
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: vt
Depends on:
Blocks:
 
Reported: 2019-02-06 02:45 UTC by scootergrisen
Modified: 2021-06-30 00:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scootergrisen 2019-02-06 02:45:45 UTC
How come the kbd files in these two folder does not use the same style for file names?:

    /share/vt/keymaps
    /share/syscons/keymaps

For danish layout we have:

    share/vt/keymaps/dk.acc.kbd
    share/vt/keymaps/dk.kbd
    share/vt/keymaps/dk.macbook.kbd

    share/syscons/keymaps/danish.cp865.kbd
    share/syscons/keymaps/danish.iso.acc.kbd
    share/syscons/keymaps/danish.iso.kbd
    share/syscons/keymaps/danish.iso.macbook.kbd

So "dk" is used in one folder and "danish" in the other.

But for other languages its consistent ("cz" and "cz":

    share/vt/keymaps/cz.kbd
    share/syscons/keymaps/cz.iso2.kbd

Another example:

    share/vt/keymaps/nordic.asus-eee.kbd
    share/syscons/keymaps/eee_nordic.kbd

I would like for them to use the same style.
Like 2 letter language code etc.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2019-12-10 14:42:04 UTC
Generally the 2 letter code is preferred, but there are some layouts that don't really fit into the scheme.