Progress
Language Reference


TERMINAL Function

Interfaces
OS
SpeedScript
All
All
No

On Windows, in graphical interfaces, TERMINAL returns WIN3. On Windows, in character interfaces, TERMINAL returns CO80, BW80, or MONO, depending on the monitor type. On UNIX, TERMINAL returns the value of the $TERM environment variable. In batch mode, TERMINAL returns a null string.

SYNTAX

TERMINAL 

EXAMPLE

This one-line procedure displays the type of terminal you are using.

r-term.p
MESSAGE "You are currently using a" TERMINAL "terminal.". 

SEE ALSO

TERMINAL Statement


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095