shithub: riscv

Download patch

ref: ac751cc6ef1594810e5f9b5c10124dd430dbde75
parent: 632defb65612ae342358a4effc5ae71c8d90b8b8
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
 	}
--