PreviousNextIndex

TERMINAL statement

Changes terminal type during program execution. On UNIX, changes the value of the TERM environment variable.

Note: Does not apply to SpeedScript programming.
Syntax

TERMINAL = termid 

termid
Example

This procedure changes the terminal screen width from 80 columns to 132 columns, then back again:

r-seterm.p
FOR EACH Customer NO-LOCK: 
  DISPLAY Customer. 
END. 
TERMINAL = "wy60w". 
OUTPUT TO TERMINAL PAGED. 
FOR EACH Customer NO-LOCK: 
  DISPLAY Customer WITH WIDTH 132. 
END. 
OUTPUT CLOSE. 
TERMINAL = "wy60". 
DISPLAY "Back to 80 columns." WITH CENTERED. 

Notes
See also

TERMINAL function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex