From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 01:37:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 824F11FA for ; Tue, 22 Oct 2013 01:37:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa11-08.prod.phx3.secureserver.net (p3plsmtpa11-08.prod.phx3.secureserver.net [68.178.252.109]) by mx1.freebsd.org (Postfix) with ESMTP id 620312499 for ; Tue, 22 Oct 2013 01:37:02 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa11-08.prod.phx3.secureserver.net with id g1cu1m0074XeM01011cujh; Mon, 21 Oct 2013 18:36:56 -0700 Date: Mon, 21 Oct 2013 18:36:34 +0000 From: Gary Kline To: "Julian H. Stacey" Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131021183634.GA20511@ethic.thought.org> References: <20131021164926.GA19974@ethic.thought.org> <201310220058.r9M0waxN050989@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201310220058.r9M0waxN050989@fire.js.berklix.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 01:37:02 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Tue, Oct 22, 2013 at 02:58:36AM +0200, Julian H. Stacey wrote: > > > What method of "capturing keys" do you use? > > man xmodmap ; xev ? > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com > Interleave replies below like a play script. Indent old text with "> ". > Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. I have remapped a few keys this way; I dont see how these could be used within a C program that uses curses ... gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE