disable

disable -- stops data recording.

Syntax

(disable [pattern])
    

Parameters

pattern

The name of one or more (using a globbing pattern) histories previously defined by the history command. When this parameter is not specified, the default is *, to include all histories.

Returns

t (true) if successful, otherwise

    (error "No history matching pattern")
    

Description

This command flushes one or more histories to disk and causes each of them to ignore all subsequent values until either enable, hist_enable, or HI_Enable is called on it.

This command corresponds to the Cogent API function HI_Disable and the hist_disable dynamic library function.

Example

    [sh]$ lsend Hist
    Hist> (disable p5)
    t
    Hist>
        

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