Chapter Contents

Previous

Next
The Windowing Interface

Looking at Terminal I/O

Most programs involve some input or output to the terminal. The SAS/C Debugger provides two windows that are specifically designed to enable efficient terminal I/O debugging. Terminal output from functions such as printf can be displayed in the Termout window, and terminal input from functions such as gets can be entered from the Termin window.


Using the Termout Window

As shown in The Termout Window, there are three areas in the Termout window: a status and prompt line, an optional scale or ruler line, and the output field.

The Termout Window

[IMAGE]

Use the window open command to open the Termout window, as previously described in Opening and Closing Windows. However, in full-screen mode the debugger usually intercepts program output and displays it in the Termout window automatically. Switching to line mode turns the intercept off, and switching back to full-screen mode restores the previous status of the intercept.


Using the Termin Window

As shown in The Termin Window, there are three areas in the Termin window: a status and prompt line, an optional scale or ruler line, and the input field, which includes the input prompt.

The Termin Window

[IMAGE]

By default, the debugger intercepts program input requests, opens the Termin window, and prompts you for input. Switching to line mode turns the intercept off, and returning to full-screen mode restores the previous status of the intercept.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.