describe

describe -- describes a history's current configuration.

Syntax

(describe history)
    

Parameters

history

The name of a history defined by the history command.

Returns

The history information, formatted as described below, otherwise

    (error "History history does not exist")
    

Description

This command returns a summary of the configuration parameters associated with the specified history.

The format of the return is:

    (describe "histname" "directory" "basename" "extension" ndigits
    "full_filename" flags deadband maxvalues point)

Any undefined string values are returned as "", not the string "nil". The following values apply specifically:

The length of the reply (in bytes) can be up to the following sum:

          strlen(histname)
        + (strlen(directory) * 2)
        + (strlen(basename) * 2)
        + (strlen(extension) * 2)
        + (strlen(full_filename) * 2)
        + (strlen(point) * 2)
        + 64

This command corresponds to the Cogent API function HI_Describe and the hist_describe dynamic library function.

Example

    [sh]$ lsend Hist
    Hist> (describe p3)
    (describe p3 "./data" "p3_" ".dat" 2 "./data/p3_01.dat" 0x102 nil 100 "p3")
    Hist>
        

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.