Axel AX3000 Platine 65E Manual

Platine Terminal AXEL
Serial and TCP/IP Models
Programmer's Guide
February 2000 - Ref.: AXPRGE832-4

The reproduction of this material, in part or whole, is strictly prohibited. For
additional information, please contact:
16 Avenue du Québec
Bât. M1 EVOLIC - BP 728
91962 Courtabœuf cedex - FRANCE
Tel.: +33 1.69.28.27.27
Fax: +33 1.69.28.82.04
The information in this document is subject to change without notice. AXEL
assumes no responsibility for any errors that may appear in this document.
All trademarks and registered trademarks are the property of their respective
holders.
© - 1998-2000 - AXEL - All Rights Reserved.

1 - ABOUT THIS MANUAL ............................................................................... 1
1.1 - ORGANISATION.................................................................................... 2
1.2 - AVAILABLE EMULATIONS ACCORDING TO THE MODEL................ 2
1.3 - FIRMWARE REVISION ......................................................................... 4
1.3.1 - Hardware Information...................................................................... 4
1.3.2 - Firmware Information ...................................................................... 4
2 - TERMINAL COMMANDS ............................................................................ 7
2.1 - ANSI FAMILY......................................................................................... 8
2.2 - VT FAMILY........................................................................................... 16
2.3 - WYSE 60 EMULATION ....................................................................... 24
2.4 - PCTERM FAMILY................................................................................ 31
2.5 - SM94XX FAMILY................................................................................. 35
2.6 - PROLOGUE FAMILY........................................................................... 35
2.7 - QVT119+ EMULATION........................................................................ 36
2.8 - TVI EMULATION.................................................................................. 40
2.9 - 3151 EMULATION ............................................................................... 43
3 - CHARACTER SETS................................................................................... 47
3.1 - ANSI, PCTERM, SM94XX, PROLOGUE, QVT, TVI, 3151 .................. 48
3.2 - VT FAMILY........................................................................................... 61
3.3 - WYSE FAMILY..................................................................................... 65
4 - KEYBOARDS............................................................................................. 70
4.1 - NATIONAL KEYBOARDS.................................................................... 71
4.2 - PROGRAMMING KEYS ...................................................................... 83
4.2.1 - ANSI Family................................................................................... 85
4.2.2 - VT Family ...................................................................................... 93
4.2.3 - WYSE Emulation......................................................................... 100
4.2.4 - PCTERM Family.......................................................................... 101
4.2.5 - SM94xx Family............................................................................ 102
4.2.6 - PROLOGUE Family .................................................................... 105
4.2.7 - QVT119+ Emulation.................................................................... 106
4.2.8 - TVI Emulation.............................................................................. 107
4.2.9 - 3151 Emulation............................................................................ 108
4.3 - COMPOSITE CHARACTERS............................................................ 109
4.3.1 - Standard Processing ................................................................... 110
4.3.2 - Local Processing ......................................................................... 110
4.3.3 - Remote Processing ..................................................................... 111


About this Manual
AX3000 - Programmer's Guide 1
- 1 -
ABOUT THIS MANUAL

About this Manual
2 AX3000 - Programmer's Guide
Organisation of the manual and available emulations.
1.1 - ORGANISATION
This manual provides detailed information on AX3000 terminal and its features.
This manual has three chapters:
- terminal commands: an exhaustive list of escapes sequences
supported by the AX3000 emulations,
- character sets: description of character sets,
- keyboards: description of available national keyboards, list of the default
values for programming keys corresponding to the selected emulation
and information about dead keys.
1.2 - AVAILABLE EMULATIONS ACCORDING TO THE MODEL
Several emulations are provided by the AX3000. The available emulations
depend on the AX3000 model (serial or Ethernet TCP/IP).
Further more, emulations are grouped by family. These emulation families are
used in the following chapters.

About this Manual
AX3000 - Programmer's Guide 3
The following table lists the available emulations (sorted by family) according to
the AX3000 models:
Emulation AX3000 Models
Families Emulations Serial TCP/IP
ANSI ANSI
XENIX SCO
UNIX SCO 3.2.2
UNIX SCO 3.2.4
SCO OPENSERVER
ANSI DOS
UNIX SVR4
ANSI INTERACTIVE
ANSI RS6000
ANSI MOS
ANSI DATA GENERAL
ANSI SLNET
UNIXWARE 7
LINUX
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
---
---
---
---
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes *
yes
yes
VT VT220 yes yes
HFT yes yes
VT AS400 --- yes
WYSE WYSE 60 yes * yes *
PCTERM PCTERM
PCTERM THEOS
OS2 POLYMOD2
yes
yes
yes
yes *
yes *
yes *
SM94xx SM9400 et SM9412 yes * yes *
TVI TVI --- yes *
QVT QVT119+ --- yes *
3151 3151 --- yes *
Prologue PROLOGUE 2/3, PROLOGUE 4/5 yes ---
TWIN SERVER yes yes *
(*) optional

About this Manual
4 AX3000 - Programmer's Guide
1.3 - FIRMWARE REVISION
The AX3000 firmware revision is composed by:
- an hardware information
- a firmware information
1.3.1 - Hardware Information
The AX3000 hardware information is:
FKx-BVyyy
- FKx is the electronic board code
- BVyyy is the boot code version (the boot code is the non-erasable
part of the flash memory)
Examples:
FK3-BV11f
FK5-BV12a
1.3.2 - Firmware Information
a) General Information
The beginning of the firmware version is:
FCT.NA.aassi
- FCT is the AX3000 operating mode:
- TCP stands for both TCP/IP and serial modes,
- SER stands for serial mode.
- NA is the firmware nationality (code is ISO compliant). The main
nationalities are:
- FR: France - XX: International
- GR: Greece - TR: Turkey
- FI: Finland - PT: Portugal
- aassi is the year and the week number of the firmware creation
following by an alphabetical index (for instance: 9832f).

About this Manual
AX3000 - Programmer's Guide 5
Note: Three parameters depend on the firmware nationality:
- the set-up message nationality (FR: French messages, other: English
messages),
- the possible presence of a national keyboard and associated character
set. For instance, the Turkish environment (keyboards and character set)
is only available with the 'TR' firmware.
- the default keyboard nationality (FR: France, XX: North American, TR:
Turkey, etc).
b) Possible Firmware Options
If no option are included, the general firmware information is followed by ':STD'.
Else, options, encoded by 3 characters, follow the general firmware information.
A '&' is used as a separator.
The main firmware options are:
WYS : Wyse 60/120 emulation ATO : ATO300 emulation
SM9 : SM9400/SM9412 emulation THE : Theos emulation
QVT : QVT 119+ emulation TVI : TVI 910 emulation
SLN : SLNET emulation I51 : 3151 emulation
ALG : alpha-graphics mode EUR : Euro currency symbol
F24 : 24-fctn-keys keyboard (AS/400) MSE : mouse support
Note: some options are incompatible (ex.: WYS and I51).
Examples:
FK3-BV11f/TCP.FR.9832f:STD
FK5-BV12a/TCP.XX.9832f:WYS&EUR


Terminal Commands
AX3000 - Programmer's Guide 7
- 2 -
TERMINAL COMMANDS

Terminal Commands
8 AX3000 - Programmer's Guide
This chapter describes supported terminal commands for each emulation.
A terminal command is a character string. Terminal commands perform special
actions (moving the cursor, setting reverse mode, etc). Generally such a
sequence contains only 1 unprintable ASCII character (smaller than 20h). All
other characters are printable (greater than 20h).
Conventions:
- xxh: xx is the hexadecimal ASCII character (ex: 1Bh is 27 decimal),
- Esc is 1Bh,
- CSI is the both ASCII characters 'Esc [' (1Bh and 5Bh).
2.1 - ANSI FAMILY
Note: for the 4 SCO emulations and the LINUX emulation, CSI can also be
obtained by the 9Bh ASCII character (instead of the Esc [ ASCII characters).
Controlling the Cursor
Cursor right Pn columns CSI Pn C (or CSI Pn a)
Cursor left 08h
Cursor left Pn columns CSI Pn D
Cursor up Esc M
Cursor up Pn lines CSI Pn A
Cursor up Pn lines and to column 1 CSI Pn F
Cursor down Esc D (or 0Ah)
Cursor down Pn lines CSI Pn B (or CSI Pn e)
Cursor down Pn lines and to column 1 CSI Pn E
Cursor to column Pn CSI Pn G (or CSI Pn `)
Cursor to line Pn CSI Pn d

Terminal Commands
AX3000 - Programmer's Guide 9
Cursor to line Pn1 (1..25) column Pn2 (1..132) CSI Pn1;Pn2 H
(or CSI Pn1;Pn2 f)
Cursor to start of line (or to start of next line) 0Dh
Save cursor position CSI s (or Esc 7)
Restore cursor to saved position CSI u (or Esc 8)
Disable cursor CSI < 0 @
Enable cursor CSI < 1 @
Controlling the Terminal
Sound bell 07h
Set scrolling region (beginning line number, ending line number) CSI Pn1;Pn2 r
Terminal mode on CSI Ps;...Ps h
Ps = 2: lock keyboard
Ps = 4: insert character mode
Ps = 20: new line (LF=CR+LF)
Ps = 32: lock keyboard and send ACK (06h)
Ps = 33: autoscrolling mode on
Ps = ?3: set 132-column display
Ps = ?6: origin is scrolling region
Ps = ?7: autowrap mode on
Terminal mode off CSI Ps;...Ps l*
Ps = 2: unlock keyboard
Ps = 4: replace character mode
Ps = 20: line feed
Ps = 33: autoscrolling mode off
Ps = ?3: set 80-column display
Ps = ?6: origin is screen
Ps = ?7: autowrap mode off
PC-scancode mode CSI < 0 A
ASCII mode CSI < 1 A
Display 24 data lines + 1 message line CSI < 0 I**
Display 25 data lines CSI < 1 I
Enable main screen (24 lines) CSI < 0 E
Enable message line (25Th. line) CSI < 1 E
Disable colouring feature CSI < 0 G
Enable colouring feature CSI < 1 G
*The last character in this sequence is a lowercase L
** The last character in this sequence and in the next sequence is an uppercase i

Terminal Commands
10 AX3000 - Programmer's Guide
Set colours and enable colouring mode (4 pairs) CSI < 2;Cn1;...;Cn8 G
Set a VGA palette colour CSI < 3;Cn;Pn G
Enable private enhanced AXEL ANSI sequence mode CSI < 0 B
Disable private enhanced AXEL ANSI sequence mode CSI < 1 B
Save current setting and set UNIX SCO 3.2.2 personality CSI < 0 H
Restore saved setting CSI < 1 H
Active la vue Pn CSI Pn z
Enable monitor mode Esc U
Disable monitor mode Esc X
Miscallenous actions CSI = Pn L
Pn=0: a cleared area (CSI Pn J, CSI Pn K or scroll) is filled with the current video attribute
Pn=1: a cleared area (CSI Pn J, CSI Pn K or scroll) is filled with the normal video attribute
Pn=2: the CSI Pn g sequence is equal to CSI = Pn g (see Editing section)
Pn=3: the CSI Pn g sequence is behavior is defined in the Editing section
Change page (only if '4 views, 2 pages' is selected through the set-up) CSI < Ps1;Ps2 L
Ps1 = 0: regular page changing Ps2 = 0: enable next page
Ps1 = 1: copy current page to wanted page before swap Ps2 = 1: enable page number 1
Ps1 = 2: clear wanted page before swap Ps2 = 2: enable page number 2
Turn keyboard LEDs on or off CSI < Pn1;Pn2;Pn3 O
Pn1 is the state of NUM LED, Pn2 is the state of CAPS LED and Pn3 is the state of SCROLL
LED.
The Pn parameter values should be:
Pn = 0: the state of the LED (on or off) is not modified
Pn = 1: turn the LED on
Pn = 2: turn the LED off
Mouse feature (if set through the set-up) CSI < Pn M*
Pn = 0: disable mouse Pn = 1: local mode Pn = 2: raw mode
Axel bitmap graphics functions CSI < Ps;...Ps K**
Font downloading (if set through the set-up) CSI < Ps;...Ps N <font>
Double-size characters (if set through the set-up) CSI < Pn Q term mess term
Pn = 1: double height Pn = 2: double width Pn = 3: double height / double width
term: message terminator message: character string displayed in double size
*For more information, refer the concerned literature
** For more information, refer the concerned literature

Terminal Commands
AX3000 - Programmer's Guide 11
Controlling Character Attributes
Definition CSI Ps;...Ps m
Ps = 0: all attributes off
Ps = 1: bold
Ps = 4: underline (only monochrome VGA monitor)
Ps = 5: blinking
Ps = 7: reverse video
Ps = 8: blank
Ps = 10: selects the primary font
Ps = 11: selects the first alternate font; lets ASCII characters less than 32 be displayed as
ROM characters
Ps = 12: selects a second alternate font; toggles high bit of extended ASCII code before
displaying as ROM characters
Ps = 22: bold off
Ps = 24: blinking off
Ps = 25: underline off
Ps = 27: reverse video off
Ps = 3x: set foreground colour to colour x (x from 0 to 7)
0: black 1: red 2: green 3: brown*
4: blue 5: magenta 6: cyan 7: white
Ps = 38: enable underline option
Ps = 39: disable underline option
Ps = 4x: set background colour to colour x (x from 0 to 7)
0: black 1: red 2: green 3: brown
4: blue 5: magenta 6: cyan 7: white
Editing
Set tab stop at cursor position Esc H
Move cursor to next tab stop 09h
Move cursor backward Pn tab stops CSI Pn Z
Clear tab stop at cursor position CSI 0g
Clear all tab stops CSI 3g
Display ASCII character Pn CSI =Pn g
Insert Pn null characters beginning at cursor position CSI Pn @
Insert Pn lines of null characters beginning at cursor line CSI Pn L
Display Pn times, the last displayed character CSI Pn b
*Yellow for ANSI RS6000 emulation

Terminal Commands
12 AX3000 - Programmer's Guide
Erase display:
from cursor to end of screen CSI 0 J
from beginning of screen to cursor CSI 1 J
entire screen CSI 2 J
Erase line:
from cursor to end of line CSI 0 K
from start of line to cursor CSI 1 K
entire line CSI 2 K
Delete Pn characters beginning at cursor position CSI Pn P
Delete Pn lines beginning at cursor line CSI Pn M
Erase Pn character beginning at cursor column CSI Pn X
Printing Control Sequences
Select the default printer port: CSI < Po F
TCP/IP models: Po = 1: AUX1 Po = 2: AUX2 Po = 3: parallel
Serial models: Po = 1: AUX1 Po = 2: parallel
Using default port (serial or parallel): CSI Pn i
Pn = 0: Print screen Pn = 5: Enable local printing mode Pn = 4: Disable local printing mode
Enable Po auxiliary port for sending only (disable: CSI 4i) CSI < 5; Po C
Enable receive mode of Po auxiliary port (AUX1 or AUX2) CSI < 5; Po D
Disable receive mode of Po auxiliary port (AUX1 or AUX2) CSI < 4; Po D
TCP/IP models: Po = 0: default port Po = 1: AUX1 Po = 2: AUX2 Po = 3: parallel
Serial models: Po = 0: default port Po = 1: AUX1 Po = 2: parallel
Programming Function Keys
ANSI mode: Esc Q Code Terminator Message Terminator
- Code: function key (<F1> = 0 (30h) ... <F61> = l (6Ch))
- Terminator: one character (>20h)
- Message: key definition (any character except Terminator). Character '^' (5Eh) indicates 20h
must be subtracted from the next character.
Example: ESC Q 0 amenu^-a, <F1> sends menu <RC>
AXEL mode: CSI < Code P Terminator Message Terminator
- Code: function key (refer to appendix A.3 or see the AX3000 set-up)
- Terminator: one character (>20h)
- Message: key definition (any character except Terminator). Character '^' (5Eh) indicates 20h
must be subtracted from the next character.
Example: CSI < 1 P amenu^-a, <F1> sends menu <RC>

Terminal Commands
AX3000 - Programmer's Guide 13
Additional Screen Attributes Sequences (except ANSI DOS)
Set overscan colour to colour Cn (64 colours are available) CSI = Cn A
VGA mode 'blink' (8 background colours) CSI = D
VGA mode 'bold' (16 background colours) CSI = E
Set normal foreground colour to Cn CSI = Cn F*
Set normal background colour to Cn CSI = Cn G
Set normal foreground colour to Cn1 and background colour to Cn2 CSI 2;Cn1;Cn2 m
Set reverse foreground colour to Cn CSI = Cn H
Set reverse background colour to Cn CSI = Cn I
Set reverse foreground colour to Cn1 and background colour to Cn2 CSI 7;Cn1;Cn2 m
Set graphic foreground colour to Cn CSI = Cn J
Set graphic background colour to Cn CSI = Cn K
For XENIX personality only: VGA mode 'bold' (16 background colours) CSI 3;0 m
For XENIX personality only: VGA mode 'blink' (8 background colours) CSI 3;1 m
Set cursor size (P1 upper microline, P2 lower microline) CSI = P1;P2 C
Save current colour setting CSI = Y
Restore saved colour setting CSI = Z
Reports
AX3000 IP address CSI < a (or CSI < 0 a)
Response: IP address <CR>
Firmware revision CSI < 1 a
Response: version <CR>
Answerback message (set through the AX3000 Set-Up) CSI < 4 a
Response: message
Current session number CSI < 5 a
Response: number <CR>
Printer Status CSI < 6 a
Response: OK <CR> or ERR <CR>
TCP/IP Status Line (set the associated label)
Syntax is: CSI < c Terminator Message Terminator
- Terminator: one character (>20h)
- Message: session label.
Example: CSI <czview 1z
*In this sequence and in the next 7 sequences, Cn value is in range 0 to 15

Terminal Commands
14 AX3000 - Programmer's Guide
Private Enhanced AXEL ANSI Sequence Mode
The following sequences, derived from native personalities, may be used to speed up the display on
a Platine terminal. These sequences are shorter than their equivalent ANSI sequences.
Description Sequence Equivalent ANSI Seq.
Cursor up 05h CSI B
Cursor right 06h CSI C
Cursor left 08h CSI D
Cursor down 0Bh CSI A
Clear screen 0Eh CSI H CSI 2J
Cursor to line 1 column 1 1Eh CSI H
Insert a null character Esc @ CSI @
Erase display from cursor to end of screen Esc J CSI J
Erase line from cursor to end of line Esc K CSI K
Insert a line of null characters Esc L CSI L
Delete current line Esc M CSI M
Delete 1 character Esc P CSI P
Start local printing mode Esc ' CSI 5i
Stop local printing mode Esc ²² CSI 4i
All attributes off Esc a CSI 0m
Reverse video Esc b CSI 7m
Blinking Esc c CSI 5m
Underline Esc d CSI 4m
Cursor to line L and column C Esc f L C CSI L+33;C+33 H
Bold Esc h CSI 1m
Default attribute Esc p CSI 7m
Enable cursor Esc v CSI <1@
Disable cursor Esc w CSI <0@
Black foreground Esc r 0 CSI 22;30m
Red foreground Esc r 1 CSI 22;31m
Green foreground Esc r 2 CSI 22;32m
Brown foreground Esc r 3 CSI 22;33m
Blue foreground Esc r 4 CSI 22;34m
Magenta foreground Esc r 5 CSI 22;35m
Cyan foreground Esc r 6 CSI 22;36m
White foreground Esc r 7 CSI 22;37m
Grey foreground Esc r 8 CSI 1;30m
Light red foreground Esc r 9 CSI 1;31m

Terminal Commands
AX3000 - Programmer's Guide 15
Description Sequence Equivalent ANSI Seq.
Light green foreground Esc r A CSI 1;32m
Yellow foreground Esc r B CSI 1;33m
Light blue foreground Esc r C CSI 1;34m
Light magenta foreground Esc r D CSI 1;35m
Light cyan foreground Esc r E CSI 1;36m
Bright white foreground Esc r F CSI 1;37m
Black background Esc s 0 CSI 40m
Red background Esc s 1 CSI 41m
Green background Esc s 2 CSI 42m
Brown background Esc s 3 CSI 43m
Blue background Esc s 4 CSI 44m
Magenta background Esc s 5 CSI 45m
Cyan background Esc s 6 CSI 46m
White background Esc s 7 CSI 47m
Cursor to line L and column C Esc ü L C CSI L+33;C+33
Reverse video Esc é CSI 7m
Reverse video off Esc â CSI 27m
Blinking Esc ä CSI 5m
Bold off Esc à CSI 22m
Blinking off Esc å CSI 25m
Bold Esc ç CSI 1m
Set foreground colour to x and background colour to y Esc ê x y CSI 3x;4ym
x and y available values:
0: black 1: red 2: green 3: brown
4: blue 5: magenta 6: cyan 7: white
Delete current line Esc ë CSI M
Insert a line of null characters Esc è CSI L
Enable message line (25Th. line) Esc ï CSI <1E
Enable main screen (24 lines) Esc î CSI <0E
Delete a character Esc ì CSI P
Insert a null character Esc Ä CSI @
Erase line from cursor to end of line Esc Å CSI K
Erase display from cursor to end of screen Esc É CSI J

Terminal Commands
16 AX3000 - Programmer's Guide
2.2 - VT FAMILY
Note: this family is composed by the VT220, HFT and VT AS400 emulations.
Controlling the Cursor
Cursor right Pn columns CSI Pn C
Cursor left 08h
Cursor left Pn columns CSI Pn D
Cursor up Esc M
Cursor up Pn lines CSI Pn A
Cursor down Esc D (or 0Ah)
Cursor down Pn lines CSI Pn B
Cursor down Pn lines and to column 1 Esc E
Carriage return (and line feed according to the AX3000 set-up) 0Dh
Cursor to line Pn1 (1..25) column Pn2 (1..132) CSI Pn1;Pn2 H
(or CSI Pn1;Pn2 f)
Editing
Set tab stop at cursor position Esc H
Move cursor to next tab stop 09h
Clear tab stop at cursor position CSI 0g
Clear all tab stops CSI 3g
Insert Pn null characters beginning at cursor position CSI Pn @
Insert Pn lines of null characters beginning at cursor line CSI Pn L
Delete Pn characters beginning at cursor position CSI Pn P
Delete Pn lines beginning at cursor line CSI Pn M
Erase display:
from cursor to end of screen CSI 0 J
from beginning of screen to cursor CSI 1 J
entire screen CSI 2 J
Erase line:
from cursor to end of line CSI 0 K
from start of line to cursor CSI 1 K
entire line CSI 2 K
Erase Pn characters beginning at cursor column CSI Pn X
Other manuals for AX3000 Platine 65E
6
Table of contents
Other Axel Touch Terminal manuals