From c8e2a152468c88144fcb3b750f136001d34031b7 Mon Sep 17 00:00:00 2001 From: gabucino Date: Sat, 28 Sep 2002 16:10:09 +0000 Subject: function for blanking+clearing screen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7525 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TVout/matroxtv | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TVout') diff --git a/TVout/matroxtv b/TVout/matroxtv index ba40126482..c7f8d30738 100755 --- a/TVout/matroxtv +++ b/TVout/matroxtv @@ -61,6 +61,7 @@ while [ 1 ]; do clear +echo " [ 0 ] Clear & blank screen" echo " [ 1 ] Monitor only" echo " /---> Monitor" echo " [ 2 ] DualHead - CRTC1" @@ -77,6 +78,13 @@ echo " [ G ] 640x480 NTSC, Interlaced" 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 -- cgit v1.2.3