Guðlaugur Jóhannesson <[EMAIL PROTECTED]> wrote: When you type in a program name, the computer searches for those program in predefined paths. Those paths are defined in the PATH environment variables. Typing "echo $PATH" (without quotes) will give you your current search path. In modern linux distributions, the current path is not include in the search path for security reasons. That is why you have to specify the path to the program when it is not in your search path.
This should not be a complicated thing but I might not be the best person to explain this. So the easiest way to run the programs is just to give the full path to the ptune.pl, which I think in your case is /home/chris/ivtv-1.0.1/utils/perl/ptune.pl Cheers, Gulli Þann Þriðjudagur 7. ágúst 2007 19:04 skrifaði Christopher Boorman: > I'm not sure I understand. What is a "search path". What is a PATH > environment variable? > > Guðlaugur Jóhannesson wrote: > > Current directory is not in your search path. You can put the > > directories with the utilities in your PATH environment variable (use > > google if you don't know how) and then you can type ptune.pl or ivtv-tune > > from any directory. You can also add the path to the utilities on the > > command line, either relative or absolute paths. So when your in the > > utility directory, typing ./ptune.pl should work. > > > > HTH > > Gulli > > > > Þann Þriðjudagur 7. ágúst 2007 14:02 skrifaði Christopher Boorman: > >> I finally got my Mandriva 2007 Spring installed. My Hauppauge 250 card > >> is recognized. Entering > >> > >> mplayer /dev/video0 will allow me to watch tv, but only 1 channel. > >> I'm not able to watch TV using KMplayer. I get error message "mplayer > >> not running". > >> > >> First things first though, the utilities are in > >> /home/chris/ivtv-1.0.1/utils/perl typing > >> ptune.pl -c6 gives me error > >> > >> ptune.pl: command not found > >> > >> Same goes true for trying to use ivtv-tune. > >> > >> Any assistance would be appreciated. > > > > _______________________________________________ > > ivtv-users mailing list > > [email protected] > > http://ivtvdriver.org/mailman/listinfo/ivtv-users > > _______________________________________________ > ivtv-users mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-users _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users let me explain it a little more clearly. they must think youve been using linux for years but i can tell your new. you cant use technical terms, names etc with new people you guys, you even had my head spinning, and ive been using for 4 years...... what theyre trying to say is if you want to run a program like ptune.pl then you need to be in the directory where it is stored. so change to the directory where it is stored if you want to use that program. to change directories, use the cd command like this cd /XXX/XXX where XXX is the name of the directory where the program is stored. otherwise use ivtv-tune -cXX where XX= the channel you want to view. ivtv-tune can be used in whatever directory you are in. Steve Reilly http://reillyblog.com/ http://norwichlinuxusersgroup.com/ Registered Linux user: 412217 http://counter.li.org/ <img src="http://www.danasoft.com/sig/nlug.jpg"> --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel.
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
