From owner-freebsd-questions Wed Mar 12 13:46:32 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1491E37B401 for ; Wed, 12 Mar 2003 13:46:31 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62DD843FAF for ; Wed, 12 Mar 2003 13:46:30 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18tE3R-00010L-00; Wed, 12 Mar 2003 13:46:29 -0800 Date: Wed, 12 Mar 2003 13:46:29 -0800 From: Nathan Kinkade To: Dan Langille Cc: freebsd-questions@FreeBSD.org Subject: Re: disabling the PAUSE/BREAK key Message-ID: <20030312214629.GD398@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: Dan Langille , freebsd-questions@FreeBSD.org References: <3E6F4A7B.23148.5AB6226@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M38YqGLZlgb6RLPS" Content-Disposition: inline In-Reply-To: <3E6F4A7B.23148.5AB6226@localhost> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --M38YqGLZlgb6RLPS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 12, 2003 at 02:55:55PM -0500, Dan Langille wrote: > Hi folks, >=20 > I've disabled the PrtScn key using kbdcontrol (see=20 > http://www.freebsddiary.org/kbdcontrol.php). Now I want to disable=20 > the Pause/Break key. Can I do that with kbdcontrol? If so, what in=20 > the output from kbdcontrol -d relates to that key? >=20 > Thanks > --=20 > Dan Langille : http://www.langille.org/ If you are using X you can do it with xmodmap(1). You could probably do something like: $ echo "keycode 110 =3D " | xmodmap - =2E..assuming that your Pause/Break key is keycode 110 as on my machine. You can find out which keycode the key generates using xev(1). Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --M38YqGLZlgb6RLPS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+b6q0WZYS9EJQoEwRAtkBAJ9Gvcdh4LwtwXs/MVI40dvUBr4BVwCfW4Ev McOEPvNlc2iRJqYZkR5a4R4= =0PVX -----END PGP SIGNATURE----- --M38YqGLZlgb6RLPS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message