Colorgraphix 3 5632E

From HackRVA
Revision as of 16:49, 5 January 2024 by Yeti (talk | contribs)
Jump to navigation Jump to search

Colorgraphix 3 5632E

Overview This document describes the use of ANSI escape codes to control a network-connected display board. It includes instructions for text coloring, screen control, and cursor positioning, as well as guidance on establishing a network connection to the display board or a Lantronix UTS Serial Adapter.

ANSI Escape Codes Screen Control:

Clear Screen: '\033[2J' clears the entire display. Reset Cursor: '\033[H' moves the cursor to the home position (top-left corner). Cursor Positioning:

Position Cursor: '\033[{line};{column}H' moves the cursor to the specified line and column. Color Configuration:

COLOR_GREEN_BLACK: Green text on a black background. ANSI Code: chr(27) + '[31{'. COLOR_RED_BLACK: Red text on a black background. ANSI Code: chr(27) + '[30{'. COLOR_ORANGE_BLACK: Orange text on a black background. ANSI Code: chr(27) + '[29{'. COLOR_BLACK_GREEN: Black text on a green background. ANSI Code: chr(27) + '[63{'. COLOR_BLACK_RED: Black text on a red background. ANSI Code: chr(27) + '[62{'. COLOR_BLACK_ORANGE: Black text on an orange background. ANSI Code: chr(27) + '[61{'. Network Connection to Display Board TCP/IP Connection:

To control a display board over a network, establish a TCP socket connection. IP Address: Replace '10.200.200.98' with the actual IP address of your display board. Port: Use port 23 for standard Telnet connections to the display board. Connection to Lantronix UTS Serial Adapter:

For connecting to devices through a Lantronix UTS Serial Adapter, use Telnet. IP Address: The IP of the Lantronix adapter. Port: Use port 9999 for the Lantronix UTS Serial Adapter (Model: Snr 1363-058 V3.6).