Bug 235258 - Selection something with vidfont -K and kbdmap -V does not work
Summary: Selection something with vidfont -K and kbdmap -V does not work
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-28 02:35 UTC by scootergrisen
Modified: 2019-02-07 00:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scootergrisen 2019-01-28 02:35:59 UTC
If i try to select keyboard or font running "vidfont -K" or "kbdmap -V" it does not work:

    vidfont -K gives:
        vidcontrol: bad magic in font file

    kbdmap -V gives:
        kbdcontrol: illegal definition line

Works when -K and -V options are removed.
Comment 1 scootergrisen 2019-02-07 00:00:39 UTC
It seems "kbdmap -V" tries to set a font file as a keymap.
And that "vidfont -K" tries to set a keymap as a font.

With syscons:

    Run "kbdmap -V" press enter to select the first font in the list:

        kbdcontrol: illegal definition line
        keymap="armscii8-8x8.fnt"

    Run "vidfont -K" press enter to select the first layout in the list:

        Which font size? /usr/share/syscons/keymaps/hy.armscii-8.kbd
        font8=hy.armscii-8.kbd

With vt:

    Run "kbdmap -V" press enter to select the first font in the list:

        kbdcontrol: illegal definition line
        keymap="gallant.fnt"

    Run "vidfont -K" press enter to select the first layout in the list:

        vidcontrol: bad magic in font file