From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 06:04:40 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 ADD9DAD6 for ; Sat, 26 Oct 2013 06:04:40 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-05.prod.phx3.secureserver.net (p3plsmtpa08-05.prod.phx3.secureserver.net [173.201.193.106]) by mx1.freebsd.org (Postfix) with ESMTP id 895B52A51 for ; Sat, 26 Oct 2013 06:04:40 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa08-05.prod.phx3.secureserver.net with id hi321m0024XeM0101i33Lw; Fri, 25 Oct 2013 23:03:03 -0700 Date: Wed, 23 Oct 2013 23:02:26 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131023230226.GA2828@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> <20131026024429.920d6e7e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131026024429.920d6e7e.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Sat, 26 Oct 2013 06:04:40 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Sat, Oct 26, 2013 at 02:44:29AM +0200, Polytropon wrote: > On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote: > > On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > > > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > > > No need to re-invent the wheel here. Just "attach to" the > > > responsible components of the OS mentioned above. In C. :-) > > > > > > > > > > > > I wonder if I could take the src of xev.c and then, > > seeing what it does when I click on CTRL, ATL, CAPS LOCK, > > anf SHIFT. MAke any sense? > > Yes, makes _perfectly_ sense as long as you're running X. > The X event viewer is a very good example on how to find > out the key codes. You simply need to get that "in between" > in the input chain so the keys keep working (instead of > "making them disappear" by reading them _from_ the input > buffer). I'd imagine that this is possible. > > I havent searched that far, but cant find xev.c; can you dig it out of the src and send it my way? --the shi*t has hit the fan here. my wife's mother is in the hospital [???], my w'chair seem to be on the verge of breaking down. wife is downtown and/or in ambulance with her mother. meanwhile, my daughter is home with her boyfriend I dont like. _--whatelse? oh yeah, I am running out of meds and the federal govt is crapping its pants about not the Severe drugs as much as the pain meds I take. Ah, *Life*. well, I cant go to bed until the kid leaves. just hope the chair doesnt Kwit until im near my bed. lastly, I will answer the note where we were discussiing . > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- 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