From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: read-key-sequence(-vector) on Shift left/right gives[left]/[right], not [S-left]/[S-right] Date: Thu, 09 Sep 2004 10:34:44 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <861xhbet7f.fsf@ketchup.de.uu.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094719274 31136 80.91.224.253 (9 Sep 2004 08:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 08:41:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 09 10:41:04 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5KUJ-0002xt-00 for ; Thu, 09 Sep 2004 10:41:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5KZc-0003gT-RV for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Sep 2004 04:46:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C5KZT-0003gN-Qf for help-gnu-emacs@gnu.org; Thu, 09 Sep 2004 04:46:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C5KZS-0003gB-79 for help-gnu-emacs@gnu.org; Thu, 09 Sep 2004 04:46:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5KZR-0003g8-HU for help-gnu-emacs@gnu.org; Thu, 09 Sep 2004 04:46:22 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C5KTw-0000Ni-6p for help-gnu-emacs@gnu.org; Thu, 09 Sep 2004 04:40:40 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C5KTt-00050Q-00 for ; Thu, 09 Sep 2004 10:40:39 +0200 Original-Received: from 139.4.37.213 ([139.4.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2004 10:40:37 +0200 Original-Received: from kai by 139.4.37.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2004 10:40:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 139.4.37.213 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:a5p1ddCLQUj8iV6miv7IawZmMHw= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20548 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20548 Charles_Davis@fws.gov writes: > I cannot seem to get Emacs to recognize either the control or shift > modifiers for any of the arrow or 6-pack keys. Only the meta-key modifier > seems to be recognized. Is there some variable I need to set to make the > use of control and shift modifiers of these keys possible? When you use a terminal, it sends escape sequences to the application when you hit the cursor keys. Many terminals send the same escape sequence for, say, and C- and S-. So the application (Emacs in this case) cannot distinguish them. These days, terminals can be configured to send different escape sequences for these cases. Then you need to teach Emacs which escape sequence stands for which keypress, and then you can bind these keypresses normally. Kai