Skip to content

WINDOW WRAP

Change Wrap Attribute

This directive provides for dynamically changing the wrap attribute of the currently active Thoroughbred Basic Window.

WINDOW WRAP ( ON )
WINDOW WRAP ( OFF )
ON
is a keyword designating that the wrap attribute should enabled for this Thoroughbred Basic Window. With wrap enabled, terminal output that goes beyond the end of the current line appears on the next normal print line.
OFF
is a keyword designating that the wrap attribute should be disabled for this Thoroughbred Basic Window. With wrap disabled, terminal output that goes beyond the end of the current line is lost.

This directive is generally available starting with release level 8.1.

If you use this directive but Thoroughbred Basic Windows is not enabled, an ERR=70 results. For information on how to enable Thoroughbred Basic Windows, please refer to the information on TCONFIG files and IPL files in the chapter on System Files in the Thoroughbred Basic Customization and Tuning Guide.

If this task is configured for Thoroughbred Basic Windows, only the standard set of Thoroughbred Basic terminal mnemonics should be used to send output to the terminal.
Using direct hexadecimal escape sequences to control the terminal screen may cause the Thoroughbred Basic Windows Manager to lose knowledge of cursor position and character attributes. For more information on terminal mnemonics, please refer to the Thoroughbred Basic Customization and Tuning Guide.

WINDOW WRAP ( ON )

enables line wrapping in the currently active Thoroughbred Basic Window whether or not it was already enabled.

Other WINDOW directives
Additional WIN functions

From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF