delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/13/12:44:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: Swapping CTRL & CAPS
Date: Fri, 13 Jun 2003 09:27:26 -0700
Lines: 26
Message-ID: <bcctsi$9ad$1@main.gmane.org>
References: <0C260F619E428642BFA6380177C3ADF33C6A16 AT exmsea005 DOT us DOT wamu DOT net>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
In-Reply-To: <0C260F619E428642BFA6380177C3ADF33C6A16@exmsea005.us.wamu.net>

Karr, David wrote:

> Go to http://www.sysinternals.com and get the "Ctrl2Cap" tool.

That one installs a DLL (kernel driver that intercepts keypresses) to do 
the keymapping, and is an excellent introduction to driver writing for NT.

It's also possible to do this less invasively with a simple registry 
tweak. See 
http://www.gnu.org/software/emacs/windows/faq3.html#capscontrol - the 
"NT 4.0" subsection works on NT, Win2K and WinXP.

I use the "caps-as-ctrl.reg" registry hack variant, which maps CapsLock 
to Control, but leaves the real control keys alone. The 
caps-ctrl-swap.reg variant swaps the capslock and left control keys, if 
you really want a caps lock.

Both are trivial to install, and are utterly safe (I've been using it on 
all 3 OSes above, and every SP for each of them), though they need a 
reboot to take effect (as does the kernel driver above, by the way).

The nice thing about the registry hack above is that undoing it is as 
simple as deleting that registry entry (value).
--
Shankar.



--
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