From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Shift on console Date: Sun, 16 Mar 2008 19:23:29 +0000 Message-ID: <20080316192329.GB1544@muc.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1205694647 12129 80.91.229.12 (16 Mar 2008 19:10:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2008 19:10:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Robert J. Chassell" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 16 20:11:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JayGJ-000120-6p for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 20:11:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JayFj-0002ch-Gp for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 15:10:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JayFe-0002Zk-Mx for emacs-devel@gnu.org; Sun, 16 Mar 2008 15:10:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JayFd-0002Xs-5E for emacs-devel@gnu.org; Sun, 16 Mar 2008 15:10:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JayFc-0002Xe-T7 for emacs-devel@gnu.org; Sun, 16 Mar 2008 15:10:33 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JayFc-0003Dv-CG for emacs-devel@gnu.org; Sun, 16 Mar 2008 15:10:32 -0400 Original-Received: (qmail 47697 invoked by uid 3782); 16 Mar 2008 19:08:58 -0000 Original-Received: from acm.muc.de (p57AF5659.dip.t-dialin.net [87.175.86.89]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 16 Mar 2008 20:08:56 +0100 Original-Received: (qmail 7074 invoked by uid 1000); 16 Mar 2008 19:23:29 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92766 Archived-At: 'Evening, Robert! On Sun, Mar 16, 2008 at 06:34:42PM +0000, Robert J. Chassell wrote: > Shift fails on my console. Where "console" = ???? I have had this problem on my GNU tty (which might be the same as your console, but probably isn't). > I cannot run C-M-S-v > (scroll-other-window-down) on it although I can run it on both an > Xterm and on RXVT On a GNU tty, this has the same cause as not having C- or M-: the standard keyboard layout discards the modifier keys. :-( The solution is to add stuff to a keymap (in the sense of Linux's loadkeys) and add stuff to Emacs's function-key-map to parse this. For example, I've got the following lines in my boottime.kmap.gz for C-M-S-a: keycode 30 = a AltGr keycode 30 = +adiaeresis # ä ACM 11/7/99 Shift AltGr keycode 30 = +Adiaeresis # Ä ACM 11/7/99 control alt shift keycode 30 = F214 <================ ......... string F214 = "\033[7>a" # Control+Alt+Shift+a > All as a regular user using BASH. This problem is going to become really problematic if "shift-movement selection" becomes the Emacs default". [ .... ] > Robert J. Chassell GnuPG Key ID: 004B4AC8 -- Alan Mackenzie (Nuremberg, Germany).