git: 9front

Download patch

ref: 5416c41b7be9d726beb4b5c3e08d1b9e40327033
parent: f64cf6fb2c810a1c319ae60ddf60f30930c48dd2
author: cinap_lenrek <cinap_lenrek@localhost>
date: Mon Apr 11 17:12:01 EDT 2011

vesa

--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -92,8 +92,13 @@
 		aux/mouse $mouseport
 		# parse vgasize into fields
 		vgasize=`{echo $vgasize}
-		if(! ~ $"monitor '' && ! ~ `{cat /dev/user} none)
-			aux/vga -l $vgasize
+		@{
+			rfork n
+			if(~ $monitor vesa)
+				aux/realemu
+			if(! ~ $"monitor '')
+				aux/vga -l $vgasize
+		}
 		if(~ $accupoint 1)
 			pipefile -dr /bin/aux/accupoint /dev/mouse
 	}
--