netmeister.org

Next Previous Table of Contents

3. Usage

You need to run "yplib" first.
yplib
To see the different command line options supported by YPLib 0.3, please type
yplib -h
and/or see yplib(1). The program will set up a directory "~/.yplib/" where it keeps its files. YPLib will ask you for necessary information, which can be changed at all times.
YPLib 0.3 will present you the following, rather self-explanatory menu:


    1. Change User Preferences
    2. Show current settings
    3. Rent a book
    4. List all books you checked out
    5. Return a book
    6. About YPLib 0.3
    7. Quit

Once you exit out of this, edit your crontab to contain the following entry:
0 0 * * * /usr/local/bin/yplibd

Referr to crontab(5) for more information on how to edit your crontab. This needs to be done only once and NOT every time you run "yplib". From now on, you can run yplib whenever you feel like it.

Next Previous Table of Contents