[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


SCR_ATTRIB Source code in scr_attrib.pro

SCR_ATTRIB

Name
       SCR_ATTRIB
Purpose
       To set the screen attribute to those given, in the given order.
Calling Sequence
       scr_attrib [, a1, a2, a3, a4, a5]
Input Parameters
       a1 - a5  --  The attribute codes.  The attributes are set in the
                    command string in the given order.  Thus, if a1 turns
                    the attributes off and a2 sets reverse video, the final
                    attribute will reset and then set to reverse video.  If
                    the order were reversed, then the current attribute
                    would have reverse video added to it, and then would be
                    reset, leaving the terminal with all attributes off.  Up
                    to five attribute codes may be specified.  The codes are:
                         0 : all attributes off  (default)
                         1 : bold on
                         2 : underscore on
                         3 : blink on
                         4 : reverse video on
Output Parameters
       None.
Side Effects
       None.
Restrictions
       This procedure will only work with DEC compatible equipment (or
       terminal emulators).
Procedure
       A string containing the appropriate DEC terminal command is put
       together and printed.  NOTE:  In general, the DEC commands correspond
       to the ANSI escape sequences.
Revision History
       Written by Michael R. Greason, STX, May 1990.
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:14 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically