cmdhist.c File Reference

Routines for maintaining a command history. More...

#include "common.h"
#include "tcl.h"
#include "machine.h"
#include "cmd.h"

Include dependency graph for cmdhist.c:

Go to the source code of this file.

Functions

int bu_cmdhist_history (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
 Prints out the command history.
int bu_cmdhist_add (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
 Add a command to the history list.
int bu_cmdhist_prev (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
int bu_cmdhist_curr (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
int bu_cmdhist_next (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)


Detailed Description

Routines for maintaining a command history.

The history routines were borrowed from mged/history.c and modified to work with command history objects.

Author:
Robert G. Parker
Authors of mged/history.c
Glenn Durfee
Robert G. Parker
Source -
The U. S. Army Research Laboratory
Aberdeen Proving Ground, Maryland 21005-5068 USA

Definition in file cmdhist.c.


Generated on Mon Sep 18 01:25:03 2006 for BRL-CAD by  doxygen 1.4.6