summaryrefslogtreecommitdiffstats
path: root/TVout
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 16:10:09 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 16:10:09 +0000
commitc8e2a152468c88144fcb3b750f136001d34031b7 (patch)
treec7d6c1d627f97747050559884a4cd5bf506769a5 /TVout
parent0df7d07f808f5fc2307f656ebe54af369bfd2884 (diff)
downloadmpv-c8e2a152468c88144fcb3b750f136001d34031b7.tar.bz2
mpv-c8e2a152468c88144fcb3b750f136001d34031b7.tar.xz
function for blanking+clearing screen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7525 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TVout')
-rwxr-xr-xTVout/matroxtv8
1 files changed, 8 insertions, 0 deletions
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