Previous: , Up: shell   [Contents][Index]

24.2.4 Startup Files

Upon startup gdbmtool looks for a file named .gdbmtoolrc first in the current working directory and, if not found, in the home directory of the user who started the command.

If found, this file is read and interpreted as a list of gdbmtool commands. This allows you to customize the program behavior.

Following is an example startup file which disables the welcome banner, sets command line prompt to contain the name of the database file in parentheses and defines the structure of the database content records:

set quiet
set ps1="(%f) "
define key stringz
define content {
        int time,
        pad 4,
        int status