Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ display(7) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gpxconfig(1)

console(7)

gpx(7)

iseg(7)

termio(7)

display(7)

NAME

display − graphics monitor

DESCRIPTION

A fully-configured graphics display station consists of a display, a keyboard, and a mouse.  Each of these components operates as a separate device.  The display device is described here; the other components are described elsewhere (see console(7) and termio(7)). 

The graphics display monitor operates in either of two modes: as a raw graphics output device, when addressed as the special file /dev/gpxn as described in gpx(7), or as a user terminal as described here.  Terminal mode is used when output is directed to the tty port /dev/console, /dev/remote, or /dev/remoten used by the keyboard that is associated with the display. 

For a GPX display station, the keyboard tty port can be either of the two UART ports of the processor board to which the monitor is connected.  The display monitor is actually connected to the Integrated SCSI/Ethernet/Graphics (ISEG) daughter-board, and which of the two tty ports is associated with the display is selected by setting a DIP switch on the ISEG daughter-board.  The tty association can also be set by the gpxconfig(1) command. 

The display supports the ISO 8859/1 character encoding plus the DEC special graphics character set.  The standard 1280x1024 display size provides 40 rows and 102 columns. 

Control Sequences

Terminal mode provides a subset of the ANSI standard X3.64-1979 and ISO 6429:1988 control sequences and is roughly compatible with the DEC VT-100 and VT-200 terminal series and the Harris 8691 terminal.  (The ANSI X3.64-1979 standard is a subset of the international standard, ISO 6429.) 

The following control characters are recognized:

Mnemonic Name Coding
BEL Bell (not supported) hex 07
BS Backspace hex 08
HT Horizontal Tab hex 09
LF Line Feed hex 0a
VT Vertical Tab (same as LF) hex 0b
FF Form Feed (same as LF) hex 0c
CR Carriage Return hex 0d
SI Shift In hex 0f
SO Shift Out hex 0e
CAN Cancel (cancels control sequence) hex 18
SUB Substitute (cancels control sequence) hex 1a
ESC Escape hex 1b

The following standard control sequences are recognized. 

Mnemonic Name Coding
CBT Cursor Backward Tab ESC [ Pn Z
CHA Cursor Horizontal Absolute ESC [ Pn G
CHT Cursor Horizontal Tab ESC [ Pn I
CNL Cursor Next Line ESC [ Pn E
CPL Cursor Previous Line ESC [ Pn F
CTC Cursor Tab Control ESC [ Ps W
CUB Cursor Backward ESC [ Pn D
CUD Cursor Down ESC [ Pn B
CUF Cursor Forward ESC [ Pn C
CUP Cursor Position ESC [ Pn ; Pn H
CUU Cursor Up ESC [ Pn A
DA Device Attributes ESC [ 0 c
DCH Delete Character ESC [ Pn P
DL Delete Line ESC [ Pn M
DSR Device Status Report ESC [ Pn n
ECH Erase Character ESC [ Pn X
ED Erase in Display ESC [ Ps J
EL Erase in Line ESC [ Ps K
HPA Horizontal Position Absolute ESC [ Pn `
HPB Horizontal Position Back ESC [ Pn j
HPR Horizontal Position Relative ESC [ Pn a
HTS Horizontal Tab Set ESC H
HVP Hor. and Ver. Position ESC [ Pn ; Pn f
ICH Insert Character ESC [ Pn @
IL Insert Line ESC [ Pn L
IND Index ESC D
NEL Next Line ESC E
RI Reverse Index ESC M
RIS Reset to Initial State ESC c
RM Reset Mode ESC [ Ps l
SGR Set Graphic Rendition ESC [ Ps m
SM Select Mode ESC [ Ps h
SS2 Single Shift to G2 ESC N
SS3 Single Shift to G3 ESC O
TBC Tab Clear ESC [ Ps g
VPA Vertical Position Abs. ESC [ Pn d
VPB Vertical Position Back ESC [ Pn k
VPR Vertical Position Rel. ESC [ Pn e

The active and alternate character sets can be defined using these standard control sequences. 

Mnemonic Name Coding
SCS Select G0 Character Set ESC ( Pc
SCS Select G1 Character Set ESC ) Pc
SCS Select G2 Character Set ESC ∗ Pc
SCS Select G3 Character Set ESC + Pc
LS2 Load G2 into GL ESC n
LS3 Load G3 into GL ESC o
LS1R Load G1 into GR ESC ~
LS2R Load G2 into GR ESC }
LS3R Load G3 into GR ESC |

The following DEC private control sequences are recognized. 

Mnemonic Name Coding
DECALN Alignment Pattern ESC # 8
DECID Request Attributes ESC Z
DECKPAM Keyboard Application Mode ESC =
DECKPNM Keyboard Numeric Mode ESC >
DECREQTPARM Request Terminal Parameters ESC [ Pn x
DECRC Restore Display Attributes ESC 8
DECRM Reset DEC Private Modes ESC [ ? Ps l
DECSC Save Display Attributes ESC 7
DECSM Set DEC Private Modes ESC [ ? Ps h
DECSTBM Set Top/Bottom Margins ESC [ Pn ; Pn r

The following CX/UX private control sequences are recognized. 

Mnemonic Name Coding
CXRSM Restore Selected Modes ESC [ ? Ps r
CXSSM Save Selected Modes ESC [ ? Ps s
CXRESET Soft Reset ESC # 9

In the above table, the notation “Pn” is a parameter number, “Ps” is a sequence of parameter numbers separated by semi-colons, and “Pc” is a character set font code, as follows:

Code Name
0 Special graphics
A U.K. ASCII
B U.S. ASCII

The ED and EL sequences accept the following parameter values:

Parameter Action
0 Erase from active position to end
1 Erase from start to active position
2 Erase from start to end

The CTC sequence accepts the following parameter values:

Parameter Action
0 Set horizontal tab stop at active position
2 Clear horizontal tab stop at active position
5 Clear all horizontal tab stops
10 Set horizontal tab stops every 8 positions (CX ext.)

The TBC sequence accepts the following parameter values:

Parameter Action
0 Clear horizontal tab stop at active position
3 Clear all horizontal tab stops

The SGR sequence accepts the following parameter values in the parameter string:

Parameter Action
0 Reset to default
1 Bold (alternate foreground color)
4 Underlined
5 Blink (alternate background color)
7 Inverse
8 Concealed
22 Normal intensity
24 Not underlined
27 Not inverse
28 Not concealed
30 Black display
31 Red display
32 Green display
33 Yellow display
34 Blue display
35 Magenta display
36 Cyan display
37 White display
39 Default display color
40 Black background
41 Red background
42 Green background
43 Yellow background
44 Blue background
45 Magenta background
46 Cyan background
47 White background
49 Default background color

The response to DSR is either a DSR or CPR report. 

The response to DA and DECID is ESC [ ? 1 ; 2 c This is the same response given by the Harris 8691 terminals in VT100 mode, the xterm terminal emulator, and a VT100 with the Advanced Video Option. 

The response to DECREQTPARM is ESC [ P1+2 ; 1 ; 1 ; 112 ; 112 ; 1 ; 0 x indicating the request type, no parity, 8 bits, transmit at 9600 baud, receive at 9600 baud, clock multiplier, and STP flags. 

The following table shows the default or fixed state of the X3.64, ISO 6429, and private terminal modes and whether they can be altered. 

Mnemonic Name Default Alterable Parameter
CRM Control Representation reset √ 3
EBM Editing Boundary n/a   19
ERM Erasure set   6
FEAM Format Effector Action reset   13
FETM Format Effector Transfer reset   14
GATM Guarded Area Transfer n/a   1
GRCM (6429) Graphic Rend. Combination set √ 21
HEM Horizontal Editing reset   10
IRM Insertion/Replacement reset √ 4
KAM Keyboard Action n/a   2
LNM Line Feed New Line reset √ 20
MATM Multiple Area Transfer n/a   15
PUM Positioning Unit reset   11
SATM Selected Area Transfer n/a   17
SRM Send-Receive n/a   12
SRTM Status Reporting Transfer reset   5
TSM Tabulation Stop reset   18
TTM Transfer Termination n/a   16
VEM Vertical Editing reset   7
ZDM (6429) Zero Default n/a   22
DECCKM Cursor Key Codes reset   ?1
DECANM VT52/VT100 set   ?2
DECCOLM 132-Column reset   ?3
DECSCLM Smooth Scroll reset   ?4
DECSCNM Reverse Screen Video reset √ ?5
DECOM Origin reset √ ?6
DECAWM Right Margin Wraparound set √ ?7
DECARM Autorepeat reset   ?8
DECTCEM Text Cursor Enable set √ ?25
CXREVWRAP Left Margin Wraparound reset √ ?45

The Editing Extent Mode (EEM) set by Select Editing Extent Mode (SEM) or by the 6429 Select Editing Extent (SEE) sequence cannot be altered by this emulation.  Its value is 0 (edit in display) when using IL or DL, but 1 (edit in line) when using ICH or DCH. 

The Presentation Direction set by the 6429 Select Presentation Directions (SPD) sequence cannot be altered by this emulation.  Its value is 0 (left to right and top to bottom). 

The DECID and IND control sequences are supported but not recommended (they are subject to removal in the future versions of the standards).  Similarly, modes EBM and LNM are deprecated.  The mode EBM is superseded by the SEE control sequence.  The control LF should be used instead of IND , and the sequence NEL should be used instead of LF when its intended action is that of LNM set to New Line. 

Other Controls

All terminal mode features of the display can be controlled by sending the control sequences listed above.  Many of the features can also be controlled using ioctl(2) commands described in gpx(7), which can be directed to the equivalent /dev/gpxn device. 

FILES

/dev/console
/dev/remote
/dev/gpxn

SEE ALSO

gpxconfig(1) in the CX/UX User’s Reference Manual . 

console(7), gpx(7), iseg(7), termio(7). 

NOTES

The terminfo entry display describes the operation of the display device. 

CX/UX Administrator’s Reference

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026