Most video output functions respect the window's options. All of these options, except the tab expansion quantity, are controlled by values in the window structure. Each window structure has a number of members that can influence the output. This allows the same output functions to behave differently when writing to different windows.
These options include the default attribute, the amount of scrolling that will occur, and the tab stops. There are also a number of window options, such as word wrap, clear to end of row, and virtual cursor advance, that affect the output. Functions are provided for setting all the options. This chapter will assume that the default settings are being used. To change these settings, you use set window functions. They begin with "sw_".