This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why does CYGWIN remap my keys


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]