[Bug 275550] bsdconfig - not handling numpad key inputs correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Dec 2023 14:35:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275550

            Bug ID: 275550
           Summary: bsdconfig - not handling numpad key inputs correctly
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: peter.chen.devs@gmail.com

Summary:
  bsdconfig(8) - Not handling "+" and "-" keys in numpad as expected when Num
lock is off

Environment:
  FreeBSD version: 13.2-RELEASE
  hardware: Raspberry Pi 400
  keyboard: Ducky One 2 usb keyboard (108 keys) / irocks K86R (100 keys)
  shell: bash

Bug Description:
  1. In bsdconfig(8), typing "+" using shift+"=" in main key area will move the
selection bar down. However, pressing the "+" key in the numpad area doesn't
give the same result. The similar thing happens to the "-" key.
  2. This only happens when the Num lock is turned off.

Steps to Reproduce:
  1. Install FreeBSD 13.2-RELEASE on Raspberry Pi 400
  2. Use command bsdconfig to enter bsdconfig(8) program
  3. Turn off Num lock on the keyboard
  4. Press shift+"=" in the main key area, verify the selection bar goes down 1
space. Then press "+" key in the numpad, the bug should happen where the
selection bar doesn't move.
  5. Move the selection bar down several times, then press "-" in the main key
area, verify the selection bar goes up 1 space. Then press "-" key in the
numpad, the bug should happen where the selection bar doesn't move.

Expected Result:
  1. The "+" and "-" should function correctly no matter the num lock is on or
off.

-- 
You are receiving this mail because:
You are the assignee for the bug.