Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2019 16:08:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 226553] kbdcontrol doesn't map function keys
Message-ID:  <bug-226553-227-6pn2vaUsrO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226553-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226553-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226553

--- Comment #12 from commit-hook@freebsd.org ---
A commit references this bug:

Author: bde
Date: Fri Feb  1 16:07:49 UTC 2019
New revision: 343663
URL: https://svnweb.freebsd.org/changeset/base/343663

Log:
  Fix function keys for syscons in cons25 mode (vidcontrol -T cons25).

  kbd(4) (but only documented in atkbd(4)) maintains a table of strings
  for 96 function keys.  Using teken broke this 9+ years ago for the
  most usable first 12 function keys and for 10 cursor keys, by supplying
  its own non-programmable strings so that the keyboard driver's strings
  are not used.

  Fix this by supplying NULL in the teken layer for syscons in cons25 mode
  so that the the strings are found in the kbd(4) layer.

  vt needs more changes to use kbd(4)'s tables.  Teken's cons25 table is
  still needed to supply nonempty strings for vt in cons25 mode.

  Keep using teken's xterm tables for both syscons and vt in xterm mode.
  Function keys should at least default to xterm values in xterm mode,
  and kbd(4) doesn't support this.

  teken_set_cons25() sets a sticky flag to ask for the fix, and space is
  reserved for another new flag.  vt should set this flag when it uses
  kbd(4)'s tables.

  PR:           226553 (for vt)

Changes:
  head/sys/teken/teken.c

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226553-227-6pn2vaUsrO>