X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Davin Pearson Subject: Why does CYGWIN remap my keys Date: Tue, 14 Nov 2006 06:13:46 +0000 (UTC) Lines: 31 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Archive: List-Post: List-Help: , 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/