NetBSD Problem Report #54422
From www@netbsd.org Mon Jul 29 20:32:17 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 57C7C7A166
for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Jul 2019 20:32:17 +0000 (UTC)
Message-Id: <20190729203216.0EAAE7A1B3@mollari.NetBSD.org>
Date: Mon, 29 Jul 2019 20:32:16 +0000 (UTC)
From: jdbaker@consolidated.net
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: right-hand modifiers don't work for text console magic key sequences
X-Send-Pr-Version: www-1.0
>Number: 54422
>Category: kern
>Synopsis: right-hand modifiers don't work for text console magic key sequences
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jul 29 20:35:00 +0000 2019
>Originator: John D. Baker
>Release: NetBSD/i386-1.4 through 8.99.51
>Organization:
>Environment:
NetBSD skuld.technoskunk.fur 8.1_STABLE NetBSD 8.1_STABLE (SKULD) #317: Thu Jul 18 19:29:17 CDT 2019 sysop@yggdrasil.technoskunk.fur:/r0/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/SKULD amd64
>Description:
This has vexed me for some time, but I just now felt compelled to
mention it.
On i386/amd64 or other ports that use a similar keyboard with wscons,
at a text console various magic key sequences only use the left-hand
modifier keys (Shift, Ctrl, Alt) while their right-hand equivalents
produce only strange character sequences.
To wit:
RShift+PgUp produces "<esc>[5~" instead of scrolling the screen back.
RShift+PgDn produces "<esc>[6~" instead of scrolling the screen forward.
Given the proximity of the PgUp/PgDn keys to the right-hand Shift key,
on the extended AT keyboard layout, it would be nice to be able to
scroll a text terminal up and down with only one hand.
Any Ctrl+Alt+Fn combination that uses the right-hand copy of either of
the modifier keys produces
<esc>[11~
<esc>[12~
<esc>[13~
<esc>[14~
<esc>[15~
instead of switching to the desired virtual terminal or back to Xorg.
(Meanwhile Xorg allows any combination of Ctrl+Alt+Fn to switch to
any of the text screens.)
The same also may be true of "Ctrl+Alt+ESC" to enter DDB, but I'm not
in a position to test that while opening this PR.
Last I checked, FreeBSD and OpenBSD support using either left or
right-hand modifier keys on their virtual terminals. As does
penguin-OS.
>How-To-Repeat:
See above.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.