From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Originating-IP: [81.100.29.190] X-Spam: 0 X-Authority: v=2.1 cv=XKnNMlVE c=1 sm=1 tr=0 a=+He7s6SjlwGdCRwhjLOitA==:117 a=+He7s6SjlwGdCRwhjLOitA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=L24OOQBejmoA:10 a=Br9LfDWDAAAA:8 a=-Z53KwaH7bQ1aHMzd98A:9 a=tj7p4LFrL5lEof1-:21 a=QEXdDO2ut3YA:10 a=TRW-o2S9CEoA:10 a=gR_RJRYUad_6_ruzA8cR:22 Date: Thu, 10 Nov 2016 20:32:35 +0000 From: Ken Moffat To: Linux console tools development discussion Message-ID: <20161110203235.GA30093@milliways.localdomain> References: <20161110191316.GA31120@xps.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <20161110191316.GA31120@xps.localdomain> User-Agent: Mutt/1.7.1 (2016-10-04) Subject: Re: [kbd] ctrl arrow keys not working in linux virtual consoles X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 20:32:45 -0000 Archived-At: List-Archive: On Thu, Nov 10, 2016 at 08:13:16PM +0100, Benoît wrote: > Hi, > > Trying my luck here as I don't find a solution after mutiple tries. > I posted my issue in archlinux forum for reference : > > https://bbs.archlinux.org/viewtopic.php?id=219078 > > To summarize, I am unable to make a ctrl arrow combination recognized and > work under virtual consoles (working in X). > > Pushing ctrl + arrow is giving the same hex as pushing only arrow key. > I am thinking about remapping keys and use a customizable .map for my > virtual console but I don't see how to get the right code to put into my > .map > > I am under an azerty keyboard. > I would very appreciate if you have any idea :) > > Many thanks > If by 'arrow' you mean 'up arrow', on my keyboard that is keycode 103. Use 'showkey' to confirm the code in your setup. Then add a line to your map, something like control keycode 103 = acircumflex and when that gives you an â you will know it works. Then change it to whichever key or glyph you wish. For some reason, the control keycode values in the map from which I started my own changes are all inset like that after the corresponding entry - I assume you can just add the control entry after any included files have been mentioned (in the uk map I used, the up arrow is only mentioned in one of the included files). But, if you are starting from fr-latin1 or fr-latin9 there are already entries for 'plain' keycode 103 and for some neighbouring codes which show how shift, alt can be given on separate lines (or commented with '#'). But I can't help with decoding the escape sequences you showed in that Arch posting. HTH ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods