From owner-freebsd-current@FreeBSD.ORG Thu Mar 6 02:44:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D0F11065741 for ; Thu, 6 Mar 2008 02:44:10 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from qsrv01ps.mx.bigpond.com (qsrv01ps.mx.bigpond.com [144.140.82.181]) by mx1.freebsd.org (Postfix) with ESMTP id 15DCE8FC21 for ; Thu, 6 Mar 2008 02:44:09 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from oaamta07ps.mx.bigpond.com ([121.220.125.60]) by omta01ps.mx.bigpond.com with ESMTP id <20080306020025.KPVE864.omta01ps.mx.bigpond.com@oaamta07ps.mx.bigpond.com> for ; Thu, 6 Mar 2008 02:00:25 +0000 Received: from klein.bigpond.com ([121.220.125.60]) by oaamta07ps.mx.bigpond.com with ESMTP id <20080306020024.IQHA21882.oaamta07ps.mx.bigpond.com@klein.bigpond.com>; Thu, 6 Mar 2008 02:00:24 +0000 Received: from klein.bigpond.com (localhost [127.0.0.1]) by klein.bigpond.com (8.14.2/8.14.2) with ESMTP id m262206j013439; Thu, 6 Mar 2008 13:02:00 +1100 (EST) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from localhost (petros@localhost) by klein.bigpond.com (8.14.2/8.14.2/Submit) with ESMTP id m2621xOX013436; Thu, 6 Mar 2008 13:02:00 +1100 (EST) (envelope-from Peter.Ross@alumni.tu-berlin.de) X-Authentication-Warning: klein.bigpond.com: petros owned process doing -bs Date: Thu, 6 Mar 2008 13:01:58 +1100 (EST) From: Peter Ross X-X-Sender: petros@klein.bigpond.com To: Chuck Robey In-Reply-To: <47CF4AFD.5050708@chuckr.org> Message-ID: <20080306125012.X34358@klein.bigpond.com> References: <47CF4AFD.5050708@chuckr.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: how to design a tablet driver? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 02:44:10 -0000 Hi Chuck, On Wed, 5 Mar 2008, Chuck Robey wrote: > I'm suggesting this because I'm very, very confused as to how I would > figure out what the screen size is for a vty. If I gotta do a absolute gig > on a bty, then I gotta find some way to ask the size of the cry, and get me > driver in the list of those to be notified if the size of a vty changes. I am not really an expert in this area. For personal interest I looked yesterday into the libvgl (e.g. VGLMouseStatus(1) and the other functions mentioned there). It seems to cooperate with syscons including mouse support. Somehow (for me "by magic" - I do not know how) Xorg seems to recognize a system mouse that is configured for the terminal. If someone explains this magic it may be helpful for you. My interest came from another angle. I tried to find out whether FreeBSD's infrastructure does not support displaying of more than one VTs at the time, as someone claimed. I would like to configure my laptop to use the small internal monitor as a text console while the external monitor is serving X. Regards Peter