[MPlayer-dev-eng] [PATCH] video.html simplification

Diego Biurrun diego at biurrun.de
Thu Feb 14 01:45:38 CET 2002


Hello!

The following patch simplifies the instructions for turning the cursor
off in video.html.  Why use "echo -e '\033[?25l'" if you can just say
"setterm -cursor off" ?
Regards

Diego

--- video.html.orig	Thu Feb 14 01:41:14 2002
+++ video.html	Thu Feb 14 01:42:14 2002
@@ -1140,13 +1140,13 @@
     and turn off screen blanking. Execute the following commands:</P>
 
     <P>
-      <CODE>echo -e '\033[?25l'<BR>
+      <CODE>setterm -cursor off<BR>
       setterm -blank 0</CODE>
     </P>
 
     <P>
     You possibly want to put the above into a script, and also clear
-    the screen.. To turn the cursor back :<BR><CODE>echo -e '\033[?25h'</CODE>
+    the screen.. To turn the cursor back on:<BR><CODE>setterm -cursor on</CODE>
     </P>
 
     <P>Yeah kewl. Start movie playing with <CODE>mplayer -vo mga -fs -screenw 640



More information about the MPlayer-dev-eng mailing list