Why does CYGWIN remap my keys
Davin Pearson
davin.pearson@gmail.com
Tue Nov 14 06:15:00 GMT 2006
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/
More information about the Cygwin
mailing list