From owner-freebsd-questions Wed Dec 1 18: 0:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 461A714D79 for ; Wed, 1 Dec 1999 18:00:50 -0800 (PST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id DAA09553 for freebsd-questions@freebsd.org; Thu, 2 Dec 1999 03:00:41 +0100 (CET) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id CAA34638 for freebsd-questions@freebsd.org; Thu, 2 Dec 1999 02:17:22 +0100 (CET) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: Accessing sysmouse(4)? Date: 2 Dec 1999 02:17:22 +0100 Message-ID: <824hb2$11q0$1@bigeye.rhein-neckar.de> References: <821asn$17d7$1@bigeye.rhein-neckar.de> <19991130152135.B59749@dan.emsphone.com> To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > Characters are always 8 pixels wide, but can be 8, 14, or 16 > pixels tall depending on your video mode. I can't seem to find an > ioctl that'll tell me font height. Summarizing the answer I got from Kazu: You can use FBIO_MODEINFO (on -current) or CONS_MODEINFO (on -stable, still available but deprecated on -current) to get information on the current video mode, including character cell size. A fixed width of eight should not be assumed. Use FBIO_GETMODE (on -current) or CONS_GET (on -stable, deprecated on -current) to get the video mode. Now, if I could only figure out how to enable the mouse cursor. MOUSE_SHOW gives EINVAL. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message