From owner-cvs-src-old@FreeBSD.ORG Thu Sep 3 16:31:58 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A17BD106568F for ; Thu, 3 Sep 2009 16:31:58 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED7D8FC19 for ; Thu, 3 Sep 2009 16:31:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n83GVwGT090488 for ; Thu, 3 Sep 2009 16:31:58 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n83GVwaD090487 for cvs-src-old@freebsd.org; Thu, 3 Sep 2009 16:31:58 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200909031631.n83GVwaD090487@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Thu, 3 Sep 2009 16:31:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/syscons scterm-teken.c src/sys/teken teken.c teken.h teken_demo.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 16:31:58 -0000 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