From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ipmail01.adl2.internode.on.net ([203.16.214.140]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1I0x9j-0006DT-00 for ; Wed, 20 Jun 2007 06:11:20 -0400 X-IronPort-AV: E=Sophos;i="4.16,442,1175437800"; d="scan'208";a="145944581" Received: from ppp59-167-14-78.lns2.syd7.internode.on.net (HELO themuso.com) ([59.167.14.78]) by ipmail01.adl2.internode.on.net with SMTP; 20 Jun 2007 19:41:17 +0930 Received: (nullmailer pid 6094 invoked by uid 1000); Wed, 20 Jun 2007 10:11:14 -0000 Date: Wed, 20 Jun 2007 20:11:14 +1000 From: Luke Yelavich To: speakup@braille.uwo.ca Subject: Re: Speakup in userspace Message-ID: <20070620101114.GA6050@themuso.com> References: <20070620083354.GA4139@fajrero> <20070620095622.GA5790@themuso.com> <20070620095952.GF4837@implementation.labri.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070620095952.GF4837@implementation.labri.fr> User-Agent: Mutt/1.5.13 (2006-08-11) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 10:11:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 20, 2007 at 07:59:52PM EST, Samuel Thibault wrote: > Luke Yelavich, le Wed 20 Jun 2007 19:56:22 +1000, a écrit : > > -----BEGIN PGP SIGNED MESSAGE----- > > On Wed, Jun 20, 2007 at 06:33:54PM EST, Tyler Spivey wrote: > > > 1. How can a userspace program get extended key sequences such as caps > > > lock+i? Under Linux, I don't think that an API exists for this. > > > > THis is possible, using the uinput module from the kernel. > > And it is tedious: you have to grab the keyboard, and re-simulate > keypresses you don't interpret. Ok. Was unaware of this. > > > 2. What about console output? There is /dev/vcs[a]x, but polling that > > > a few times a second would be inefficient if the system was under load. > > > > BrlTTY uses this, > > For simulating keypresses, yes, but not for stealing key combinations. I was referring to reading the console, which is what I think Tyler was referring to. - -- Luke Yelavich GPG key: 0xD06320CE (http://www.themuso.com/themuso-gpg-key.txt) Email & MSN: themuso@themuso.com Jabber: themuso@jabber.org.au -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGeP1CjVefwtBjIM4RAhUsAKDxhDCdDMqUMkB/ExeZ4yJqLUtwbACggx2l UDG2iVT0iEMWnYE21e8q+aQ= =Sgb8 -----END PGP SIGNATURE-----