Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2015 15:44:09 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286808 - head/sys/dev/vt
Message-ID:  <201508151544.t7FFi9Zo033520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sat Aug 15 15:44:09 2015
New Revision: 286808
URL: https://svnweb.freebsd.org/changeset/base/286808

Log:
  Improve the VT initialization message: have it say what the
  resolution is. For text mode this is the number of columns
  by the number of rows. Include the name of the driver in a
  much less prominent way.

Modified:
  head/sys/dev/vt/vt_core.c

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Sat Aug 15 15:42:21 2015	(r286807)
+++ head/sys/dev/vt/vt_core.c	Sat Aug 15 15:44:09 2015	(r286808)
@@ -264,8 +264,9 @@ vt_update_static(void *dummy)
 	if (!vty_enabled(VTY_VT))
 		return;
 	if (main_vd->vd_driver != NULL)
-		printf("VT: running with driver \"%s\".\n",
-		    main_vd->vd_driver->vd_name);
+		printf("VT(%s): %s %ux%u\n", main_vd->vd_driver->vd_name,
+		    (main_vd->vd_flags & VDF_TEXTMODE) ? "text" : "resolution",
+		    main_vd->vd_width, main_vd->vd_height);
 	else
 		printf("VT: init without driver.\n");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508151544.t7FFi9Zo033520>