Graphic Rendition Attributes

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

AttributeNotes
underline
blink
highlight
selectableLight pen
reverseMonochrome displays only
wideEach character takes two columns
order3270 order made visible
private-useUse Private Use Area for copy/paste
no-copyDo 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:

CharacterMeaning
.NUL, X'00'
<SO (shift to DBCS), X'0E'
>SI (shift to SBCS), X'0F'
0Start Field, default (visible; not highlighted, selectable, numeric or modified)
1Start Field, modified
2Start Field, selectable
3Start Field, selectable, modified
4Start Field, highlighted, selectable
5Start Field, highlighted, selectable, modified
6Start Field, invisible
7Start Field, invisible, modified
8Start Field, numeric
9Start Field, numeric, modified
AStart Field, selectable, numeric
BStart Field, selectable, numeric, modified
CStart Field, highlighted, selectable, numeric
DStart Field, highlighted, selectable, numeric, modified
EStart Field, invisible, numeric
FStart Field, invisible, numeric, modified
GStart Field, protected
HStart Field, protected, modified
IStart Field, selectable, protected
JStart Field, selectable, protected, modified
KStart Field, highlighted, selectable, protected
LStart Field, highlighted, selectable, protected, modified
MStart Field, invisible, protected
NStart Field, invisible, protected, modified
OStart Field, protected, numeric
PStart Field, protected, numeric, modified
QStart Field, selectable, protected, numeric
RStart Field, selectable, protected, numeric, modified
SStart Field, highlighted, selectable, protected, numeric
TStart Field, highlighted, selectable, protected, numeric, modified
UStart Field, invisible, protected, numeric
VStart 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:


b3270: Protocol - Operations - Indications