]> git.tue.mpg.de Git - paraslash.git/commit
client: Implement interactive mode.
authorAndre Noll <maan@systemlinux.org>
Mon, 5 Sep 2011 13:47:34 +0000 (15:47 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 20 Nov 2011 14:08:41 +0000 (15:08 +0100)
commit367daa451bd837c3e267c8385bbc92898f06ecca
tree3cb01b0d8d3b9649545d8b3f776062bffac5951e
parentb5e5c97342576b3a5f2b09feb68b38abea5dad22
client: Implement interactive mode.

This makes para_client enter an interactive session when started with no
command. Command line history and command completion are available in
interactive sessions.

This populates the previously empty files interactive.h and interactive.c which
contain the readline/interactive specific part. Everything in these files is
independent of para_client.  Conversely, client.c and client_common.c are
independent of readline.

The public API defined in interactive.h was designed to be reused from other
applications. In fact, a subsequent commit changes para_audioc to offer
interactive sessions as well.
client.c
error.h
ggo/client.m4
ggo/complete.m4 [new file with mode: 0644]
ggo/history_file.m4 [new file with mode: 0644]
ggo/makefile
interactive.c
interactive.h