| Branch: | Revision:

iof-bird-daemon / client @ d2c392d4

# Date Author Comment
d2c392d4 04/19/2013 11:59 AM Ondrej Zajicek

Removes unnecessary client subdirectories and updates buildsystem.

Renames some files:
birdc/client.c -> birdc.c
birdcl/client.c -> birdcl.c
client_common.c -> common.c

568d9c9f 04/06/2013 08:07 PM Tomas Hlavacek

Fix birdcl async message handling

Fix handling of async messafe in the bird light client. The async message
may occure at the any moment so we need the client to liste for the
message from server when it waits for user input.

ce134853 03/19/2013 05:03 PM Tomas Hlavacek

Fix birdcl questionmark handling

Fix handling of questionmark handling in the bird light client. The
questionmark should display help when it is the last non-blank character on
command line. Otherwise the questionmark does not have any special meaning
and it could be a part of a pattern.

8322ecde 03/19/2013 05:03 PM Tomas Hlavacek

Add lightweight client - birdcl

Restructure client/ subdir. Add two different flavors of client.
The full featured birdc client code is in client/birdc/.
The new light client birtcl is in client/birdcl/.
Common sources of both clients are directly in client/....

e4549161 03/19/2013 05:03 PM Tomas Hlavacek

Pull out independent routines from client_full.c

Pull out routines for interacting with the server and interpreting
internal commands which are not dependent on libreadline and
ncurses libraries.

This is a preparation step for a new lightweight birdc client.

5c2c4ea8 03/19/2013 05:03 PM Tomas Hlavacek

Rename client/client.c to client_full.c

Rename client/client.c to client-full.c and change the Makefile accordingly.
This is a preparation step for introducing a new lightweight client which
should reuse as much code as possible from the old one but it should not depend...

4c2abee7 02/12/2013 12:15 PM Ondrej Filip

Allow submitting BIRD commands from UNIX shell even in restricted mode.

064e7be5 05/03/2012 10:20 PM Ondrej Zajicek

History deduplication in birdc.

c47d037e 03/22/2012 11:13 AM Ondrej Zajicek

Some minor changes to CLI.

154e2aed 12/13/2010 10:17 AM Ondrej Zajicek

Fixes string handling in birdc.

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

e0a45fb4 02/21/2010 08:57 AM Ondrej Zajicek

Restricted read-only CLI.

Also adds support for executing commands using birdc <cmd>.

9c46ad8e 08/12/2009 08:16 AM Ondrej Zajicek

Count number of lines (and not messages) in 'more'.

f0333f44 07/14/2009 11:47 PM Ondrej Zajicek

Implements 'more' feature to birdc.

Also does some code restructuring.

cf186034 03/14/2009 11:43 AM Ondrej Zajicek

New syntax for bgp_path

80ac7dc1 02/12/2009 12:41 PM Ondrej Zajicek

Do not use ? for client-side help when in new BGP path syntax

661ec5db 11/21/2008 12:05 PM Ondrej Zajicek

I am not sure whether this is proper fix for a problem that birdc
shows only parts of larger outputs (for example 'show route all').
It seems that birdc reads (from bird) and writes (to stdout)
everything but during execution of some readline code some already...

e0011590 11/21/2008 11:59 AM Ondrej Zajicek

birdc died during terminal resize because of unhandled EINTR
in select loop.

68fa95cf 10/26/2008 10:55 PM Ondrej Zajicek

Check of socket name length

97c6fa02 08/25/2008 12:06 PM Ondrej Filip

Previous patch reverted. :-(

030e3a79 08/25/2008 11:57 AM Ondrej Filip

Buffer overflow fix.

d7390312 06/05/2004 09:26 AM Martin Mares

Unused parameters in the client.

7deffd84 05/31/2004 08:51 PM Martin Mares

Need <termios.h> for tcdrain().

5f2a6a9f 05/31/2004 05:55 PM Martin Mares

Fix handling on full pipe to client in bird. Prevent packet overflows
for even only medium sized route table output. Fix a strange garbled
output problem in the client. The latter seems to be caused by some
library doing tcflush while there is still command output pending. So...

bd62eeca 05/31/2004 01:32 PM Ondrej Filip

Small change to compile client on FreeBSD.

59b96d7b 11/13/2002 08:45 AM Martin Mares

Don't use obsolete functions which are no longer declared in the header.

01b776e1 03/06/2001 01:40 PM Martin Mares

Fixed <time.h> vs. <sys/time.h> problems.

4daf03e5 06/16/2000 11:12 PM Martin Mares

Use our own SUN_LEN if libc doesn't provide it.

0b3bf4b1 06/09/2000 07:30 AM Martin Mares

Use SUN_LEN() for length of UNIX domain addresses. This should fix problems
with connection to clients on libc5 machines.

2983460b 05/31/2000 10:39 PM Martin Mares

Both `help' command and the `unknown command' error message now tell
the user to press `?' if he wants help.

fcb5f4a7 05/31/2000 11:30 AM Martin Mares

Updated all the Doc files to new format.

9e85a5e6 05/29/2000 10:16 PM Martin Mares

Delay user input whereever appropriate.

d69e5ff2 05/08/2000 02:29 PM Martin Mares

Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.

ab1129c1 05/05/2000 05:17 PM Martin Mares

Added skeleton Doc files for the whole developer's documentation.

f33c6c66 04/20/2000 10:55 PM Martin Mares

Use xmalloc() instead of malloc().

77506349 04/12/2000 01:21 PM Martin Mares

Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.

221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

abf2be7d 03/12/2000 11:04 PM Martin Mares

Add internal commands of the client to the command list.

971b2310 03/12/2000 10:55 PM Martin Mares

Commands which failed expansions are to be stored to history, too.

3eb0b586 03/07/2000 09:04 PM Martin Mares

No longer echoes commands before sending them.

54fb7701 03/04/2000 09:26 PM Martin Mares

Fixed display of short continued messages in verbose mode.

e69e4ed9 02/27/2000 10:00 PM Martin Mares

Support expansion of command abbreviations.

Client considered finished (modulo bugs).

fae0396e 02/17/2000 11:37 PM Martin Mares

Completion works. Unfortunately, we have to access a couple of internal
symbols of libreadline :-(

0223d4ff 02/17/2000 10:00 PM Martin Mares

Client: Online help works (Cisco style: just press `?' at the end of a line).

c51f132d 02/15/2000 12:18 PM Martin Mares

First usable version of the client. No command completion and similar nifty
features yet, but it works.

7211be1c 01/20/2000 01:13 PM Martin Mares

Configure, link and use the readline library.

9fac310d 01/19/2000 03:07 PM Martin Mares

Put client on a stony ground. The whole client is going to be system-specific
(the current version UNIX-specific) anyway, so it's useless to try splitting it
to sysdep and generic part. Instead of this, configure script decides (based on
system type and user's wish) what (if any) client should be built and what...

f50b9e48 01/19/2000 02:37 PM Martin Mares

Generate a list of all commands and their help texts for the client to use.

ed608150 10/29/1999 09:44 AM Martin Mares

Added skeleton of the client. Does nothing, but at least compiles.