[Mplayer-cvslog] CVS: main/TOOLS mpconsole,1.1,1.2

Diego Biurrun CVS diego at mplayerhq.hu
Thu Oct 10 02:51:57 CEST 2002


Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var/tmp.root/cvs-serv15546/TOOLS

Modified Files:
	mpconsole 
Log Message:
Fix usage for common users that may not have fbset in their path.
Idea by D Richard Felker III.


Index: mpconsole
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/mpconsole,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mpconsole	17 Jan 2002 00:39:27 -0000	1.1
+++ mpconsole	10 Oct 2002 00:51:41 -0000	1.2
@@ -4,7 +4,7 @@
 # Written by Rich Felker.
 
 trap "tput cnorm ; exit 1" SIGQUIT SIGINT EXIT
-res=`fbset | grep geometry | sed 's/^ *//'`
+res=`PATH="$PATH:/usr/sbin" fbset | grep geometry | sed 's/^ *//'`
 width=`echo "$res" | cut -d' ' -f2`
 height=`echo "$res" | cut -d' ' -f3`
 tput civis




More information about the MPlayer-cvslog mailing list