Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 16:45:50 -0500 (EST)
From:      Kelly Yancey <kbyanc@posi.net>
To:        Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
Cc:        hackers@FreeBSD.ORG, saper@system.pl, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: syscons: SC_MOUSE_CHAR value rationale
Message-ID:  <Pine.BSF.4.05.10001061637460.98788-100000@kronos.alcnet.com>
In-Reply-To: <20000106212404.A30244@dcse.fee.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10001061637460.98788-100000>