Mercurial > mplayer.hg
diff TVout/matroxtv @ 7524:3a9a1530ab2d
function for blanking+clearing screen
author | gabucino |
---|---|
date | Sat, 28 Sep 2002 16:10:09 +0000 |
parents | c3273d9bc41c |
children | 10ac5e716014 |
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