Configuration prompts

From time to time, UDB will show prompts which offer to configure your environment.

The prompts are:

Would you like to make all the Undo tools available on your path?

If agreed, UDB edits your .profile file to add the Undo directory to your PATH environment variable, so that in future you can launch UDB or other Undo tools by simply typing udb or undo instead of having to remember the install location.

Would you like to launch UDB when you type 'gdb'?

If agreed, UDB installs a script called gdb in your home directory which launches UDB. This is useful if you like using UDB but your fingers are in the habit of typing “gdb”.

The prompts are not shown if they would have no effect, for example if your PATH environment variable already contains the Undo tools directory, or if they cannot be applied, for example if the home directory is read-only.

The prompts can be disabled in the following ways:

set default-gdb-prompt on|off

Set whether UDB may prompt to install a script which launches UDB when gdb is entered at the shell prompt.

Added in version 8.3.

show default-gdb-prompt

Show whether the prompt to install a gdb script is enabled.

Added in version 8.3.

set default-path-prompt on|off

Set whether UDB may prompt to add the location of the Undo tools to the environment variable PATH.

Added in version 8.3.

show default-path-prompt

Show whether the prompt to add the Undo directory to the PATH environment variable is enabled.

Added in version 8.3.