From nobody Wed Feb 01 16:30:48 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6S8T1Dmjz3cdlt; Wed, 1 Feb 2023 16:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6S8T0pwZz3FVW; Wed, 1 Feb 2023 16:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675269049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YRSclsu4ctPZZJyiduZLSPaFW6A2/sRFIPs0B7nRJaE=; b=CtwU2rqwaauzoUukZp0ZsKfPhAT3axBiCNyXVEL0lhvxF8kUOTU8PMFXWBI6owvzas2D3x yEuSWXz8Xqg0nmxaSJQgdfRUJHBauwZcnQJmexFcyBwK1D81kLo5D6fO/5mNBuFeVpU1L6 6AVwrEosn+iwa3ZRfLy9kN85BIM7IsWD+MdWZQb7DJECrY+439yfBJh98wmo5yMC0iCKrk LL7axb2Xy2yz3MXsuDt08WiYtygCsA6Nhzu9+o9tUNEuljHz/fGCG6sHuQi52UaYXagsLU 9tpdr2MaboAY2qPl7th/h9VFkZREkREN6cSIIxNues0Jj8NhoC83g4rftUwD1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675269049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YRSclsu4ctPZZJyiduZLSPaFW6A2/sRFIPs0B7nRJaE=; b=At4Y3pzSqNHCHgqq8+h8TqNo9gFVxipCpZ27FLUP2AK6+0KbrBXjB6cDQsRuOwvW4TPeuq WGo5avjwgWA3fWfd7hoEgATi1HCdifE7Pn2QBl0tnI9PTR8ffLhW+bPgR/x2nC3wsIG+Ap Y0I75WX3m3nChb26a/LsWeeadVo4GpJPbxyGoRRa5yVCAW2638Q9LlSJ243axfyHoFSQOW MSKKJTHIdS/bjLrqCFmlZ+Pexlbnd4oJfGouavhQUYTWm9o73ptOF8owNoOKSm0+nMn2EY YCH/N8e0gdx+nf9Gbl6NaGR7tBoJOPp34W+DttQKqMibbDHoVkhEiKaP5WhaLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675269049; a=rsa-sha256; cv=none; b=Yx0hxtdAO1tu7ly41H7oAK3KQmKqOcMZtxFl0kIPrqi3f3QAmDPnyNZMgrCUrU/47+iL3L 098tGVBco6ah1G0s1Spr16wzFrp7ex5gFQX6idkkmadMHs1HQjURASUwErQ3WvCteXsbJd VO2K8SDgRZq9GW4UvxIz8F5FBzu7l/k2dPtHjac1fL8qjR/wggGmV3YY5KQJhuZh8w+2/Y Zz+ZOvSpxSXzoIUG7kTIGbmKFXVQ22apjHn0aBgKijey4TrcOksldqlULeK2H6KatbuI6J bHTOFt64djFd/oq8V1N+qNBZ2q47n+YwGgr6eICbHwiKsV1oZm1ZAyUTXleuxQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6S8S70pFzLRV; Wed, 1 Feb 2023 16:30:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 311GUmtZ068107; Wed, 1 Feb 2023 16:30:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311GUmt1068106; Wed, 1 Feb 2023 16:30:48 GMT (envelope-from git) Date: Wed, 1 Feb 2023 16:30:48 GMT Message-Id: <202302011630.311GUmt1068106@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 1e0853ee8403 - main - sys/kbio.h: support Unicode key codes in vt keymap files List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e0853ee84031e4131a0b8cc8737696f199d3d4c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=1e0853ee84031e4131a0b8cc8737696f199d3d4c commit 1e0853ee84031e4131a0b8cc8737696f199d3d4c Author: Stefan Eßer AuthorDate: 2023-02-01 16:24:18 +0000 Commit: Stefan Eßer CommitDate: 2023-02-01 16:24:18 +0000 sys/kbio.h: support Unicode key codes in vt keymap files Some keyboard definitions return Unicode characters that cannot be represented in the 8 bits provided by an u_char. Extend then width of the keycode entries to 16 bits to allow for all keycodes currently defined in share/vt/keymaps/*,kbd. Reported by: yuri@aetern.org MFC after: 3 days --- sys/sys/kbio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/kbio.h b/sys/sys/kbio.h index 7f17bda76c51..b0779f5ed114 100644 --- a/sys/sys/kbio.h +++ b/sys/sys/kbio.h @@ -200,7 +200,7 @@ typedef struct okeymap okeymap_t; struct acc_t { u_char accchar; - u_char map[NUM_ACCENTCHARS][2]; + u_short map[NUM_ACCENTCHARS][2]; }; struct accentmap {