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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: Swapping CTRL & CAPS Date: Fri, 13 Jun 2003 09:27:26 -0700 Lines: 26 Message-ID: References: <0C260F619E428642BFA6380177C3ADF33C6A16 AT exmsea005 DOT us DOT wamu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/