Installation should be as simple as:

./configure
make
make install

Optionally, you can do a

make check

to try out rlwrap on a test client. The test result doesn'n mean much,
but it lets you try out rlwraps behaviour under different circumstances
(diverse prompts, passowrds, signal handling, etc)

If you don't have GNU readline 4.2, the configure script will complain; 
you can get it at ftp://ftp.gnu.org/gnu/readline/

configure can be called with a number of options (e.g. if you want to
install rlwrap in a non-standard place). Do 

./configure --help

to see them all.

To uninstall, do 'make uninstall'


*** Installing as non-root

If you want to install rlwrap as non-root, you should call configure with 
the --prefix option, like:

./configure --prefix=$HOME 

after which 'make install' will install rlwrap in $HOME/bin

You may have to install GNU readline 4.2 first, (e.g using ./configure
--prefix=$HOME in the readline-4.2 directory)

rlwrap's configure script will not find this installation automatically, but

CFLAGS=-I$HOME/include CPPFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib ./configure --prefix=$HOME

should work. You can add '-static' to LDFLAGS if you want to build a statically linked rlwrap.


