From owner-freebsd-questions Tue Oct 14 16:52:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA27159 for questions-outgoing; Tue, 14 Oct 1997 16:52:01 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from d2si.com (macbeth.d2si.com [206.8.31.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27126 for ; Tue, 14 Oct 1997 16:51:47 -0700 (PDT) (envelope-from alec@d2si.com) Received: (from alec@localhost) by d2si.com (8.8.5/8.8.5) id SAA05949; Tue, 14 Oct 1997 18:51:36 -0500 (CDT) From: Alec Kloss Message-Id: <199710142351.SAA05949@d2si.com> Subject: Re: reprogramming "win95" key In-Reply-To: <19971014185216.51061@panix.com> from "Larry S. Marso" at "Oct 14, 97 06:52:16 pm" To: lsmarso@panix.com (Larry S. Marso) Date: Tue, 14 Oct 1997 18:51:36 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Larry S. Marso said: > How do I reprogram a Windows95 key on my laptop to act as the Cntrl key? > > -- > Larry S. Marso > lsmarso@panix.com > I'll assume that you are running X. You'll have to figure out what it's keycode is. Use xev(1) to find out. Run xev and tap the key. You should get about four lines of text including what the keycode is. Then, try xmodmap - << DONE keycode xxx = Control_L add control = Control_L DONE Where xxx is the keycode. If the key is on the right hand side of the keyboard, you should probably use Control_R instead of Control_L. All the other Control keys should still work.