delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/14/01:15:40

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Davin Pearson <davin DOT pearson AT gmail DOT com>
Subject: Why does CYGWIN remap my keys
Date: Tue, 14 Nov 2006 06:13:46 +0000 (UTC)
Lines: 31
Message-ID: <loom.20061114T070842-434@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I sent this message to comp.windows.cygwin but received no reply.

I have just installed Cygwin on my Mum's Windows XP Home computer and I
noticed that it rebinds some of the keys, such as

" -> @
@ -> "
\ -> #
| -> ~

etc.

I managed to patch Gnu Emacs so that it goes back to the old bindings
with the following Lisp code:

(progn
 (keyboard-translate 35 92)   ;; hash -> backslash
 (keyboard-translate 126 124) ;; tilde -> vertical bar
 (keyboard-translate 34 64) ;; doublequote -> ampersand
 (keyboard-translate 64 34) ;; ampersand -> doublequote
 (keyboard-translate 163 35) ;; poundsign -> hash
 (keyboard-translate 172 126) ;; notsign -> tilde
 )

But a better solution would be to stop CYGWIN from rebinding the keys
in the first place, as the Emacs key bindings only work inside Emacs.
You could tell me that I should never need to leave Emacs in the first
place! However I am running a course in Web Design for high school
students so they would probably need the keys to work the way they
should in applications such as Internet Explorer or Mozilla Firefox.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019