svn commit: r343779 - head/sys/dev/vt
Bruce Evans
bde at FreeBSD.org
Tue Feb 5 17:17:13 UTC 2019
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;
More information about the svn-src-all
mailing list