changeset 7524:3a9a1530ab2d

function for blanking+clearing screen
author gabucino
date Sat, 28 Sep 2002 16:10:09 +0000
parents 5d3b0f7efc6b
children 33788b00b0e8
files TVout/matroxtv
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TVout/matroxtv	Sat Sep 28 09:54:39 2002 +0000
+++ b/TVout/matroxtv	Sat Sep 28 16:10:09 2002 +0000
@@ -61,6 +61,7 @@
 
 clear
 
+echo " [ 0 ]    Clear & blank screen"
 echo " [ 1 ]    Monitor only"
 echo "                          /---> Monitor"
 echo " [ 2 ]    DualHead - CRTC1"
@@ -77,6 +78,13 @@
 read ABC
 
 case "$ABC" in
+	0)
+	clear
+	setterm -cursor off
+	setterm -blank 0
+	read
+	;;
+
 	1)
 	matroxset -f /dev/fb1 -m 0
 	matroxset -f /dev/fb0 -m 1