Have tincctl act as a shell when no command is given.

By default it uses readline to read commands. If the input and output are not a
tty, no prompt is shown.
This commit is contained in:
Guus Sliepen 2012-08-02 17:24:42 +02:00
parent 91937812bd
commit 73348be58e
4 changed files with 249 additions and 49 deletions

View file

@ -182,6 +182,7 @@ dnl These are defined in files in m4/
AC_ARG_WITH(libgcrypt, AC_HELP_STRING([--with-libgcrypt], [enable use of libgcrypt instead of OpenSSL])], [])
tinc_CURSES
tinc_READLINE
tinc_LIBEVENT
tinc_ZLIB
tinc_LZO