--------------------------------------------------------
Installation
============

A compiled copy of the program is already included. It will work
fine with libc.so.4.6.27.

If you want to recompile the program, just type:

   $ make clean
   $ make


You will get a binary called 'ncd'. Copy it to /usr/bin:

   $ cp ncd /usr/bin


For the bash shell you MUST add this function to your .profile or
to the system /etc/profile (see the included 'profile' file):

function ncd()
{
        /usr/bin/ncd $*;
        if [ $? = 0 ]; then
                cd "$(cat $HOME/.ncd_sdir)";
        fi
}

For the tcsh shell, you MUST add this alias to your .login or to 
the system /etc/csh.login (see the included 'csh.login' file):

alias ncd '/usr/bin/ncd \!* ; if $? == 0 cd "`cat $HOME/.ncd_sdir`" '


Copy the man page to /usr/man/man1:

    $ cp ncd.1 /usr/man/man1


You can gzip the manpage if you want:

    $ gzip -9 /usr/man/man1/ncd.1


If you prefer, you can use a preformated man page instead of 
the groff formated one:

    $ cp ncd.man /usr/man/preformat/cat1/ncd.1
    $ gzip -9 /usr/man/preformat/cat1/ncd.1


Exit current shell and login again so that the alias/function 
gets defined. An that's all, ncd is installed!

Read the files COPYING and COPYRIGHT for the legal stuff.

--------------------------------------------------------
HISTORY
=======

-- version 0.9.7
  * Thanks to  Har-Peled Sariel <sariel@math.tau.ac.il> for his advice!
    The nasty warnings at compile-time have now gone away for ever.

-- version 0.9.8
  * Keyboard handling is now corrected. The ncurses ungetch() function
    was a bit problematic. Now I don't use it to detect keystrokes
    without actually reading them.


--------------------------------------------------------
BUGS
====

- If you have any improvement or bugfix, please send it to 
Borja Etxebarria <borja@bips.bi.ehu.es> or <jtbecgob@s835cc.bi.ehu.es>.

