10. Hercules 3270 Logo

10.1 Function

The Hercules 3270 logo is the initial welcome screen that is presented when a 3270 terminal connects to
a Hercules 3270 device. While in previous releases of Hercules this logo screen was hardcoded it can
now be customized.

The customized logo is stored in a plain text file which contains positioning orders, attributes and supports
variable substitutions. Each line in the text file represents either an order statement or a plain text line. If
no logo file is specified then Hercules uses a built-in default logo. Upon startup Hercules will first look in
the current directory for a file called "herclogo.txt". The name of the logo file can also be specified as a
startup option by using the "-b" flag. The file may also be specified using the "LOGOFILE" system para-
meter or can be changed during Hercules operation using the "HERCLOGO" console command.

10.2 Order Commands

Order commands are used to set the current buffer position, set the highlight and/or protected attributes,
to force a skip to a new line and to specify text alignment.

10.2.1 Set Buffer Address

Descriptive

x,y

Diagram

Êʬ¬¬ ¬¬¬ x,y ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ





The Set Buffer Address order sets the current buffer position to row x and column y. Row and column
both begin counting with zero.

10.2.2 Set Field

Descriptive

Diagram

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ








The Set Field order sets the highlight ("H") and/or protected ("P") attribute.

10.2.3 New Line

Descriptive

Diagram

Êʬ¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ





The New Line order forces a skip to a new line.

10.2.4 Align

Descriptive

@

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬ ¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




¬¬¬¬¬«




¬¬¬¬«








The Align order specifies the text alignment relative to the left and right borders of the terminal. When the
alignment is other than "NONE" a new line is automatically inserted after each line of text. If the alignment
is "NONE" then the text will be written without skipping to the next line.

Previous Page Next Page