Allows shorthands for birdc noninteractive commands.
Fixes some potential issues with invalid term size in clients.
Restructures birdc and birdcl to merge duplicated code.
The BIRD client code is restructured that most of the code (includingmain function) is shared in client.c, while birdc.c and birdcl.c containjust I/O-specific callbacks. This removes all duplicated code from...
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 whichshould reuse as much code as possible from the old one but it should not depend...
Allow submitting BIRD commands from UNIX shell even in restricted mode.
History deduplication in birdc.
Fixes string handling in birdc.
Fix configure to enable warnings and fix most of them.
Restricted read-only CLI.
Also adds support for executing commands using birdc <cmd>.
Count number of lines (and not messages) in 'more'.
Implements 'more' feature to birdc.
Also does some code restructuring.
New syntax for bgp_path
Do not use ? for client-side help when in new BGP path syntax
I am not sure whether this is proper fix for a problem that birdcshows 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...
birdc died during terminal resize because of unhandled EINTRin select loop.
Check of socket name length
Previous patch reverted. :-(
Buffer overflow fix.
Unused parameters in the client.
Need <termios.h> for tcdrain().
Fix handling on full pipe to client in bird. Prevent packet overflowsfor even only medium sized route table output. Fix a strange garbledoutput problem in the client. The latter seems to be caused by somelibrary doing tcflush while there is still command output pending. So...
Small change to compile client on FreeBSD.
Don't use obsolete functions which are no longer declared in the header.
Fixed <time.h> vs. <sys/time.h> problems.
Use our own SUN_LEN if libc doesn't provide it.
Use SUN_LEN() for length of UNIX domain addresses. This should fix problemswith connection to clients on libc5 machines.
Both `help' command and the `unknown command' error message now tellthe user to press `?' if he wants help.
Delay user input whereever appropriate.
Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Commands which failed expansions are to be stored to history, too.
No longer echoes commands before sending them.
Fixed display of short continued messages in verbose mode.
Support expansion of command abbreviations.
Client considered finished (modulo bugs).
Completion works. Unfortunately, we have to access a couple of internalsymbols of libreadline :-(
Client: Online help works (Cisco style: just press `?' at the end of a line).
First usable version of the client. No command completion and similar niftyfeatures yet, but it works.
Configure, link and use the readline library.
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 itto sysdep and generic part. Instead of this, configure script decides (based onsystem type and user's wish) what (if any) client should be built and what...
Generate a list of all commands and their help texts for the client to use.
Added skeleton of the client. Does nothing, but at least compiles.