Date: 2 Dec 1999 02:17:22 +0100 From: naddy@mips.rhein-neckar.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Subject: Re: Accessing sysmouse(4)? Message-ID: <824hb2$11q0$1@bigeye.rhein-neckar.de> References: <821asn$17d7$1@bigeye.rhein-neckar.de> <19991130152135.B59749@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson <dnelson@emsphone.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?824hb2$11q0$1>