OpenWindows User's Guide

History Submenu

The History of a Command Tool is a log of all the characters displayed. You can access this log by scrolling the Term Pane with the scrollbar or by saving the log to a file. This may be useful, for example, if you have performed a complicated sequence of operations that you want to save or send as part of a mail message for troubleshooting or debugging. The History submenu provides options to modify the history log.

The Mode setting determines whether the history log is Editable within the Command Tool, or Read Only. If you set the mode to Read Only in order to protect against accidental changes, you can still save the log to a file and edit that file using the File Editor option described in the next section. If the mode is editable, you can edit text anywhere in the Term Pane and use the editing items on the Term Pane menu. See Chapter 3, Text Editor for information on the editing functions.

    Choose Store log as new file to save the current history log to a file.

When you choose this option, the Text: Save As window is displayed. For complete information on saving files refer to Chapter 1, Introduction to the Solaris User Environment.

You can treat this new file as you would any other text file. You can edit it and save it again or drag and drop it from the File Manager onto a Mail Tool Compose or Text Editor window.

    Choose Clear log to clear the current history log.

This resets the Command Tool history log as if you just started the Command Tool application. (This does not change the output of the UNIX history command.)