This example resets the terminal. The first line suppresses the beep that usually accompanies this action.

Note: Resetting the terminal has the effect of restoring Bell to the default value of True. This means that if you execute subsequent ResetTerminal commands, you must reset Bell to False if you don't want a beep.

Sub ResetWithoutBeep ()

 Session.Bell = False

 Session.ResetTerminal rcHardReset

End Sub