A cli program written in Perl to watch the TDT.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sergiotarxz c70e920570 Adding the demostration gif to the README.md. 3 months ago
bin Adding a working README.md. 3 months ago
lib/TDT Adding initial tdt watcher. 3 months ago
Build.PL Adding a working README.md. 3 months ago
README.md Adding the demostration gif to the README.md. 3 months ago
demostration.gif Adding a demostration gif. 3 months ago

README.md

TDTCli

A cli program written in Perl to watch the TDT.

Demostration

A demo video of the program

Dependencies

In order of this program to do something is absolutelly required the mpv program.

How to install

Clone this repository and cd into the new directory.

Install the program using cpan:

cpan .

If you get errors because missing libraries you should install the headers libs of openssl and the openssl command-line utils, this is distro specific.

If you get prompted by questions press intro to use the defaults and run: (Supposing your are using bash.)

. ~/.bashrc
echo $PERL5LIB

If you don't get an output that looks like

/home/sergio/perl5/lib/perl5:/home/sergio/perl5/lib/perl5

Run perl -I${HOME}/perl5/lib/ -Mlocal::lib to see what enviroment variables you will have to set in your .profile, .shellrc or whatever file your shell sources.

Once you have a working local::lib you will be able to run:

tdtcli.pl

It should get you into a new command line that looks like:

tdtcli ~>

Now type help to get further instructions of usage.

Sugar

In order to get advanced editing in TDTCli including auto-completion you will have to install Term::ReadLine::Gnu you can do that using:

cpan Term::ReadLine::Gnu

If you get errors related to missing libraries then you will have to install the headers for ncurses and readline, this is distro specific.