Subject: Re: Wscons. Any substitute?
To: Bill Studenmund <wrstuden@netbsd.org>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 12/07/2005 20:18:27
--Signature_Wed__7_Dec_2005_20_18_27_-0500_=z7_bfuIv.gBioVR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > What we need for multiple console support a la wscons's
> > > Ctl-Alt-Fx is a  way for wscons to keep a cell array in memory of
> > > the characters at each  location. As lines scroll, etc, the cell
> > > array is manipulated as well as  the screen. Whenever we switch
> > > consoles, we just redraw a different cell  array. When activity
> > > happens off-screen, we only update the cell array.
> >=20
> > Guess what I've been writing since yesterday or so. I got annoyed
> > enough by at least 4 different drivers implementing virtual consoles
> > with more or less identical code to write a wrapper that does
> > exactly what you describe ( instead of having it in each driver... )
> > and which would also work with ofb or any other wsdisplay driver.
>=20
> WOO HOO!!!!!

So you volunteer to review the code? ;)
Seriously - it's in a shape that I'd consider settled down and halfway
presentable now, so far it works with pnozz and ffb, adapting other
drivers is trivial ( saves a couple hundred lines when throwing out
driver-specific virtual console stuff, adds only a few otherwise ) You'd
probably want a few things renamed, I spent my time getting it to work
properly instead of thinking about file names ;)

have fun
Michael

--Signature_Wed__7_Dec_2005_20_18_27_-0500_=z7_bfuIv.gBioVR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ5eJ5MpnzkX8Yg2nAQLEgwf/XU5BU8GEPO2cPM2+or8dPMMJ66ZLIN6d
USIJVdKusL6aNBV8sVYy6V9UMoQ2vhbsTF/6lk/DgUTL2qhBYLbV8Y6bS32lDqkc
Sm3JLpr8EOUK7J3FxeNghdkzkpqLu/qdJ/aOmGwZD7i6IkHd3SBfKuwmyIW9JaYk
qUSrwQXe8uikN2htyKvrBXCQhVNMHpXtBLtst4jJ2k7nss5I6tFf21nwc36U8Ccb
7ssFvKnl8WXDlpB/7QOVEfRVSZaGwjW+1zXKier4hrKGCylUFarfVVN6y4HCodKL
3jUeeLrQ/16Sl08DqSalml6ZSnhOZHiXxByn12TzxW9/4KdadQT20w==
=FyMP
-----END PGP SIGNATURE-----

--Signature_Wed__7_Dec_2005_20_18_27_-0500_=z7_bfuIv.gBioVR--