Date: Thu, 3 Sep 2009 16:31:11 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/syscons scterm-teken.c src/sys/teken teken.c teken.h teken_demo.c Message-ID: <200909031631.n83GVwaD090487@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-09-03 16:31:11 UTC FreeBSD src repository Modified files: sys/dev/syscons scterm-teken.c sys/teken teken.c teken.h teken_demo.c Log: SVN rev 196786 on 2009-09-03 16:31:11Z by ed Expose the TF_REVERSE flag to the console driver. Right now libteken processes TF_REVERSE internally and returns the toggled colors to the console driver. This isn't entirely correct. This means that the bold flag is always processed by the foreground color, while reversing should be done after the foreground color has been set to a brighter version by the bold flag. This is no problem with the syscons driver, because with VGA it only supports 16 foreground and 8 background colors. My WIP console driver reconfigures the graphics hardware to disable the blink functionality and uses 16 foreground and 16 background colors. This means that this driver will handle the TF_REVERSE flag a little different from what syscons does right now. Revision Changes Path 1.10 +11 -3 src/sys/dev/syscons/scterm-teken.c 1.2 +0 -21 src/sys/teken/teken.c 1.2 +1 -0 src/sys/teken/teken.h 1.2 +2 -0 src/sys/teken/teken_demo.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909031631.n83GVwaD090487>