summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-11 21:12:01 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-11 21:12:01 +0000
commitac751cc6ef1594810e5f9b5c10124dd430dbde75 (patch)
tree17016a15bc040af91a56f083f98dea9930422c5a
parent632defb65612ae342358a4effc5ae71c8d90b8b8 (diff)
downloadplan9front-ac751cc6ef1594810e5f9b5c10124dd430dbde75.tar.xz
vesa
-rwxr-xr-xrc/bin/termrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/rc/bin/termrc b/rc/bin/termrc
index 5de208a55..07de69b99 100755
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -92,8 +92,13 @@ if(test -f /dev/mousectl){
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
}