From owner-freebsd-hackers Thu Jan 6 13:46:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id A974514E10 for ; Thu, 6 Jan 2000 13:46:04 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id QAA99094; Thu, 6 Jan 2000 16:45:50 -0500 (EST) Date: Thu, 6 Jan 2000 16:45:50 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Cejka Rudolf Cc: hackers@FreeBSD.ORG, saper@system.pl, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: syscons: SC_MOUSE_CHAR value rationale In-Reply-To: <20000106212404.A30244@dcse.fee.vutbr.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 6 Jan 2000, Cejka Rudolf wrote: > > Marcin Cieslak wrote (2000/01/05): > > Is there any _particular_ reason why this is #define'd to (0xd0) > > in /sys/dev/syscons/syscons.c? > > >From syscons.c,v - 1998/02/11 (author: yokota): > > - another new option: SC_MOUSE_CHAR > Define the first character code of four consecutive codes to be used for > the mouse cursor. Default codes are 0xd0 through 0xd3. Beware that > if you decide to use any codes outside the range of 0xc0-0xdf, > the mouse cursor may not look good, because of the way VGA displays > characters in 9-dot-wide character cells. > Requested by several people. > In the 90-column video modes, you can use any character you want. They work by turning off the 0th bit copy used to simulate the 9th bit position on the VGA fonts. I believe Kazu has incorporated my patches for these modes into -current (I originally wrote them for 2.2.6 syscons). So in response to the original question: sure you could move the mouse chars to 0x08 - 0x0b if you wanted, but it'll look bad unless you are running in a 90-column text mode. In any event, If we don't here from Kazu in the near future, I'll send-pr a patch to make the first character used for the mouse cursor a sysctl knob. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message