Removes unnecessary client subdirectories and updates buildsystem.
Renames some files:birdc/client.c -> birdc.cbirdcl/client.c -> birdcl.cclient_common.c -> common.c
Fix birdcl async message handling
Fix handling of async messafe in the bird light client. The async messagemay occure at the any moment so we need the client to liste for themessage from server when it waits for user input.
Fix birdcl questionmark handling
Fix handling of questionmark handling in the bird light client. Thequestionmark should display help when it is the last non-blank character oncommand line. Otherwise the questionmark does not have any special meaningand it could be a part of a pattern.
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/....
Pull out independent routines from client_full.c
Pull out routines for interacting with the server and interpretinginternal commands which are not dependent on libreadline andncurses libraries.
This is a preparation step for a new lightweight birdc client.
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.
Some minor changes to CLI.
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.
Updated all the Doc files to new format.
Delay user input whereever appropriate.
Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.
Added skeleton Doc files for the whole developer's documentation.
Use xmalloc() instead of malloc().
Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Add internal commands of the client to the command list.
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.