Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2019 17:17:12 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343779 - head/sys/dev/vt
Message-ID:  <201902051717.x15HHCph019610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bde
Date: Tue Feb  5 17:17:12 2019
New Revision: 343779
URL: https://svnweb.freebsd.org/changeset/base/343779

Log:
  Fix missing translation of old ioctls for KDSETMODE, KDSBORDER and
  CONS_SETWINORG.  After translation, the last 2 are not supported, but
  the first one has incomplete support that is enough to run old versions
  of X.

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

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Tue Feb  5 16:59:29 2019	(r343778)
+++ head/sys/dev/vt/vt_core.c	Tue Feb  5 17:17:12 2019	(r343779)
@@ -2114,11 +2114,20 @@ vtterm_ioctl(struct terminal *tm, u_long cmd, caddr_t 
 	case _IO('K', 8):
 		cmd = KDMKTONE;
 		break;
+	case _IO('K', 10):
+		cmd = KDSETMODE;
+		break;
+	case _IO('K', 13):
+		cmd = KDSBORDER;
+		break;
 	case _IO('K', 63):
 		cmd = KIOCSOUND;
 		break;
 	case _IO('K', 66):
 		cmd = KDSETLED;
+		break;
+	case _IO('c', 104):
+		cmd = CONS_SETWINORG;
 		break;
 	case _IO('c', 110):
 		cmd = CONS_SETKBD;



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