clear Command Purpose Clears the terminal screen. Syntax clear Description The clear command clears your screen, if possible. The clear command first checks the TERM environment variable for the termi- nal type. Next, the /usr/share/lib/terminfo directory, which contains terminal definition files, is checked to determine how to clear the screen. If the TERM environment variable is not set, the clear command exits without taking any action. Examples To clear your screen, enter: clear Implementation Specifics This command is part of Base Operating System (BOS) Runtime. Files /usr/share/lib/terminfo Contains terminal information database. Related Information The Input and Output Redirection Overview in AIX Version 3.2 System User's Guide: Base and Devices describes how the operating system processes input and output and how to use redirect and pipe symbols. The tput command. clear Command for the Kernel Debug Program Purpose Removes one or all breakpoints. Syntax clear [ * | Address ] Description The clear command removes one or all breakpoints. The Address parameter specifies the location of the breakpoint to be removed. If you specify no flags, the breakpoint pointed to by the in- struction address register (IAR) is removed. The clear command can be initiated by entering clear, c, or cl at the command line. Addresses are entered as offsets at the start of their segment. In the event that two breakpoints are set at the same offset at the start of two different segments, and one breakpoint is then removed, the address specified to the clear command is not unique. In this case, each of the conflicting segment IDs are displayed, and the clear command displays a prompt requesting the ID of the segment you want to remove. Note: Use the clear command only while running the kernel debug program. Examples 1. To clear the breakpoint at the IAR, enter: clear 2. To clear the breakpoint at the 10000200 address, enter: cl 10000200 3. To clear all breakpoints, enter: clear * Related Information The Kernel Debug Program Overview in AIX Version 3.2 General Programming Concepts. Error Messages for the Kernel Debug Program in AIX Version 3.2 General Programming Concepts. List of Kernel Debug Program Commands in AIX Version 3.2 General Programming Concepts.