### Graphic Rendition Attributes

Graphic rendition attributes are a comma-separated list of the following values.

Attribute | Notes
--- | ---
underline
blink
highlight
selectable | Light pen
reverse | Monochrome displays only
wide | Each character takes two columns
order | 3270 order made visible
private-use | Use Private Use Area for copy/paste
no-copy | Do not copy into paste buffer

An empty value indicates the default (none of the above properties are set).

When a location has the order attribute, the contents are a visible representation of a 3270 order that would normally be displayed as a blank. This is done when b3270 has the visibleControl toggle set.

Note that except when the private-use attribute is also set, visible orders should be copied into a paste buffer as a space (U+0020).

The set of orders displayed this way are:

Character | Meaning
--- | ---
. | NUL, X'00'
< | SO (shift to DBCS), X'0E'
> | SI (shift to SBCS), X'0F'
0 | Start Field, default (visible; not highlighted, selectable, numeric or modified)
1 | Start Field, modified
2 | Start Field, selectable
3 | Start Field, selectable, modified
4 | Start Field, highlighted, selectable
5 | Start Field, highlighted, selectable, modified
6 | Start Field, invisible
7 | Start Field, invisible, modified
8 | Start Field, numeric
9 | Start Field, numeric, modified
A | Start Field, selectable, numeric
B | Start Field, selectable, numeric, modified
C | Start Field, highlighted, selectable, numeric
D | Start Field, highlighted, selectable, numeric, modified
E | Start Field, invisible, numeric
F | Start Field, invisible, numeric, modified
G | Start Field, protected
H | Start Field, protected, modified
I | Start Field, selectable, protected
J | Start Field, selectable, protected, modified
K | Start Field, highlighted, selectable, protected
L | Start Field, highlighted, selectable, protected, modified
M | Start Field, invisible, protected
N | Start Field, invisible, protected, modified
O | Start Field, protected, numeric
P | Start Field, protected, numeric, modified
Q | Start Field, selectable, protected, numeric
R | Start Field, selectable, protected, numeric, modified
S | Start Field, highlighted, selectable, protected, numeric
T | Start Field, highlighted, selectable, protected, numeric, modified
U | Start Field, invisible, protected, numeric
V | Start Field, invisible, protected, numeric, modified

When a location has the private-use attribute, it should be treated specially when copied into a paste buffer: the character value should be offset by the value 0xe000 to put it in the Unicode BMP Private Use Area. For example, the * character (U+002a), when marked with private-use, represents the EBCDIC character DUP (X'1C'). It should be encoded in the paste buffer as U+e02a. The Z character (U+005a), when marked with private-use, represents the APL EBCDIC character Underlined Z (GE X'69'). It should be encoded in the paste buffer as U+e05a. This rule applies even if the order attribute it set (normally orders are represented as U+0020 in the paste buffer).

When a location has the no-copy attribute, it should not be copied into a paste buffer. This is generally the case for EBCDIC SO (X'0E') and SI (X'0F') orders, which can be inferred from other data.

So the hierarchy for selecting a value to copy into the paste buffer is:

- if no-copy is set, do not copy anything
- else if private-use is set, add 0xe000
- else if order is set, substitute U+0020
- else copy the value as-is

b3270: Protocol - Operations - Indications