dunset
Restores default settings for state variables
Format:
Restores a CLI variable to its default value
dunset debugger-var
Restores all CLI variables to their default values
dunset -all
Arguments:
debugger-var
Name of the CLI state variable whose default setting is being restored.
-all
Restores the default settings of the CLI state variables.
Description:
The dunset command reverses the effects of any previous dset commands, restoring CLI state variables to their default settings.
Note: Because user-defined state variables have no default values, the CLI deletes them.
Tcl variables (those created with the Tcl set command) are, of course, unaffected by this command.
If you use the -all option, the dunset command affects all changed CLI state variables, restoring them to the settings that existed when the CLI session began. Similarly, specifying debugger-var tells the CLI to restore that one variable.
Examples:
dunset PROMPT
Restores the prompt string to its default setting; that is, {[dfocus]>}.
dunset -all
Restores all CLI state variables to their default settings.