Page 1
Platine Terminal AXEL Serial and TCP/IP Models Programmer's Guide February 2000 - Ref.: AXPRGE832-4...
Page 2
Fax: +33 1.69.28.82.04 Email: info@axel.fr 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.
About this Manual 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...
Page 7
About this Manual 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...
About this Manual 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...
Page 9
About this Manual 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.
Terminal Commands 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).
Page 13
Terminal Commands 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) Save cursor position CSI s (or Esc 7) Restore cursor to saved position CSI u (or Esc 8) Disable cursor CSI <...
Page 14
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...
Page 15
Terminal Commands 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;...
Page 16
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).
Page 17
Terminal Commands 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 CSI = Cn F * Set normal foreground colour to Cn Set normal background colour to Cn...
Page 18
Terminal Commands 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.
Page 19
Terminal Commands 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...
Terminal Commands 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 Cursor left Pn columns CSI Pn D Cursor up Esc M Cursor up Pn lines CSI Pn A...
Page 21
Terminal Commands Character Sets Assign Ps character set as G0 Esc ( Ps Assign Ps character set as G1 Esc ) Ps Esc ∗ Ps Assign Ps character set as G2 Assign Ps character set as G3 Esc + Ps Ps = B (ASCII) Ps = R (French) Ps = <...
Page 22
Terminal Commands Controlling the Terminal Sound bell Terminal mode on CSI Ps;...Ps h Ps = 2: lock keyboard Ps = 4: insert character mode Ps = 20: new line mode (LF=CR+LF) Ps = 54: ASCII mode Ps = ?1: cursor keys mode: application Ps = ?3: set 132-column display Ps = ?4: smooth scroll Ps = ?5: Light background (paper white)
Page 23
Pn = 1: local mode Pn = 2: raw mode CSI < Ps;...Ps K *** Axel bitmap graphics functions The last character in this sequence and in the next sequence is an uppercase i For more information, refer the concerned literature...
Page 25
Terminal Commands 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...
Page 26
Example: LOG <RC> is coded by 4C4F470D 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)
Page 27
Terminal Commands 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 <...
Terminal Commands 2.3 - WYSE 60 EMULATION Cursor Commands Cursor left Cursor right Cursor up; no scroll Cursor up; scroll Esc j Cursor down; scroll Cursor to start of next line cursor to start of line Home cursor Esc { or 1Eh Address cursor in current 80-column page Esc = line col Address cursor in current 80/132-column page...
Page 29
Terminal Commands Define primary character set (code is a bank or a set) Esc c B code Define secondary character set (code is a bank or a set) Esc c C code Select primary character set Esc c D Select secondary character set Esc c E Video Attributes Assign character display attribute...
Page 30
Terminal Commands Controlling the terminal Sound bell Lock keyboard 0Fh or Esc # Unlock keyboard 0Eh or Esc " Monitor mode on Esc U Monitor mode off Esc u or Esc X ACK mode on Esc e 7 ACK mode off Esc e 6 Set MAIN port operating parameters (serial model only) Esc c 0 bds stp parity word...
Page 31
Terminal Commands Replace mode on (insert mode off) Esc r Page edit mode off Esc e " Page edit mode on Esc e # CAPS LOCK on Esc e & CAPS LOCK off Esc e ' ASCII mode Esc e H Esc e I * PC-scancode mode Turn screen display off...
Page 32
Terminal Commands Message Line Program and display unshifted label line Esc z ( txt 0Dh Program shifted label line Esc z ) txt 0Dh Shifted label line off Esc z 7Fh Clear unshifted label line message Esc z ( 0Dh Clear shifted label line message Esc z ) 0Dh Clear function key label...
Page 33
Terminal Commands Sending Data Print formatted page Esc P after this command, an ACK is sent by the terminal (06h) if ACK mode is on Print formatted unprotected page Esc @ after this command, an ACK is sent by the terminal (06h) if ACK mode is on Print unformatted page Esc p or Esc L after this command, an ACK is sent by the terminal (06h) if ACK mode is on...
Page 34
Terminal Commands AXEL Mode: Syntax is: 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.
Terminal Commands 2.4 - PCTERM FAMILY This family is composed by the PCTERM, PCTERM THEOS and OS2 POLYMOD2 emulation. Note: in following terminal commands, italic and underscored parameter values are from 00h to FFh. Other parameter values are greater than 20h. Controlling Cursor Cursor left Cursor right...
Page 37
Terminal Commands MAJ LED on Esc 20h L MAJ LED off Esc 20h M DEFIL LED on Esc 20h N DEFIL LED off Esc 20h O Printing Control Sequences Print screen Esc P Transparent print mode on Esc ` Transparent print mode off Esc a Non-transparent print mode on Esc @ (12h)
Page 38
Terminal Commands Character Attributes (only for OS/2 POLYMOD2) Definition Esc G attr The format of attr is the format of the standard VGA character attribute Write-Protected Characters (only THEOS) A write-protected character is written with the dim attribute (cf. character attributes) Protect mode on Esc &...
Terminal Commands 2.5 - SM94XX FAMILY This family is composed by the SM9400 and SM9412 emulations. These emulations are dedicated to a legacy operating system especially used in France. So, the description of terminal commands are only given in the French manual.
Terminal Commands 2.7 - QVT119+ EMULATION Cursor Commands Cursor left Cursor right Cursor up; no scroll Cursor up; scroll Esc J Cursor down; scroll Cursor to start of next line cursor to start of line Home cursor Address cursor in current 80-column page Esc = line col Address cursor in current 80-column or 132-column page Esc = line n col...
Page 41
Terminal Commands Video Attributes Assign character display attribute Esc G attr attr values for full-intensity: : normal : underscore : invisible : underscore + invisible : blink : underscore + blink : invisible + blink : underscore + blink + invisible : reverse <...
Page 42
Terminal Commands Controlling the terminal Sound bell Lock keyboard Esc # Unlock keyboard Esc " Monitor mode on Esc U Monitor mode off Esc u or Esc X Graphics mode on Esc $ Graphics mode off Esc % Insert mode on (replace mode off) Esc q Replace mode on (insert mode off) Esc r...
Page 43
Terminal Commands Programmable keys Program: Esc z route key del sequence del route: non-significant Key: key number Function keys: <F1> to <F12>: 40h to 4Bh <Shift><F1> to <Shift><F12>: 60h to 6Bh Arrows keypad: up: 20h down: 21h left: 22h right: 23h del: one character (>20h) Sequence: key definition (any character except Del) Set default value for a key : Esc K route key del del...
Terminal Commands 2.8 - TVI EMULATION Cursor Commands Cursor left Cursor right Cursor up; no scroll Cursor up; scroll Esc j Cursor down; scroll Cursor down; no scroll Cursor to start of next line cursor to start of line Home cursor Address cursor in current 80-column page Esc = line col Address cursor in a specific 80-column page or window...
Page 45
Terminal Commands Display previous page Esc K Display next page Esc J Turn normal screen on Esc d Turn reverse screen on Esc b Insert mode on (replace mode off) Esc q Replace mode on (insert mode off) Esc r Local edit mode on (duplex off) Esc k Esc l *...
Page 46
Terminal Commands Protected Data Protect mode on Esc & Protect mode off Esc ' Write-protect mode off Esc ( Write-protect mode on Esc ) Clear cursor column from cursor Esc V Clear unprotected ...: page to spaces Esc ; or 1Ah or Esc , page to nulls Esc : line to spaces from cursor...
Terminal Commands 2.9 - 3151 EMULATION Cursor Commands Cursor right Esc C Cursor left Esc D Cursor up (no scroll) Esc A Cursor up (scroll) Esc ! M Cursor down (no scroll) Esc B Cursor down (scroll) Esc 20 M Cursor to start of next line Esc M Cursor to next line (same column)
Page 48
Terminal Commands Terminal Commands Reset to initial state Esc 20h S Sound bell Lock keyboard Esc : Unlock keyboard Esc ; Assign Pn character set as G0 Esc < Pn Assign Pn character set as G1 Esc > Pn Set a 24x80 screen Esc 20h r!! 20h 8"P Set a 25x80 screen Esc 20h r!! 20h 9"P...
Character Sets This chapter deals with available AX3000 character sets. The Platine terminal supports many character sets. These character sets are sorted by families: - ANSI, PCTERM, SM94xx, PROLOGUE, QVT, TVI and 3151 families - VT family - WYSE family Convention: in following character sets, for each character, the decimal, hexadecimal and octal values are given: hexadecimal value...
Page 53
Character Sets PC-437 : 1 ☺ " 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > Ç É └ ╨ α ≡ á ü æ í ß ± ┴ ╤ é Æ ó ┬...
Page 54
Character Sets PC-850 : 1 ☺ " 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > Ç É └ – á ð Ó ü æ í ß ± ┴ Ð é Æ ó ┬...
Page 55
Character Sets PC-858 : 1 ☺ (Available only with " Euro option) 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > Ç É └ – á ð Ó ü æ í ß ± ┴...
Page 56
Character Sets PC-860 : 1 ☺ " 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > Ç É └ ╨ α ≡ á ü í ß ± ┴ ╤ À é ó ┬ ╥...
Page 57
Character Sets ISO 8859-1: 1 ☺ " 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > à ð ° À Ð ¡ ± ñ Á Ñ á ¢ ² â ò Â Ò ó...
Page 58
Character Sets AX3000 - Programmer's Guide...
Page 60
Character Sets ISO 8859-15: 1 ☺ (only available with the " Euro option) 3 ♥ 4 ♦ ¶ 5 ♣ § 6 ♠ & ▄ ∗ < ¦ > à ð ° À Ð ¡ ± ñ Á Ñ á ¢...
Page 61
Character Sets AX3000 - Programmer's Guide...
Page 62
Character Sets National ISO 7-Bit: Many characters of the National ISO 7-Bit set are dependent of the national keyboard selected through the AX3000 Set-Up. The following table describes the character set associated with the US keyboard: " & ∗ < ¦...
Page 63
Character Sets SM9400 : " & ∗ < ¦ > Å æ ø ┌ Ä ç œ │ Æ é ú └ Ç è ù ─ É ê û Ñ ë ü Ö í ß ├ Ø ì µ Œ î...
Character Sets 3.2 - VT FAMILY The VT220 emulation allows a 8-bit character set (256 characters) to be built from two 7-bit character sets (128 characters). These 7-bit character sets are composed of 32 non-display control characters (called C0 and C1) and 94 display characters (called GL and GR). A 8-bit character set is composed of: - C0: control characters (ASCII codes from 00h to 1Fh), - GL: graphic left (ASCII codes from 20h to 7Fh),...
Page 66
Character Sets The following diagram shows the mechanisms for designating and mapping character sets: ASCII ASCII France ASCII Germany DEC Multinational ASCII Italy DEC Special Graphics ASCII Spain ASCII Switzerland ASCII Portugal The following escape sequences are used to designate and map character sets (where x represents the character set code): (A): Esc ( x (1): 0Fh...
Page 67
Character Sets The following describes the 9 available character sets (these sets can be mapped either to GL or GR): ASCII (C0 & GL) " & ∗ < ¦ > This table shows the characters in each NRC set that differ from the ASCII set: Hexadecimal code of the replaced characters 23 40 France...
Page 68
Character Sets ° À à Multinational ¡ ± Á Ñ á ñ (C1 & GR) ¢ ² Â Ò â ò £ ³ Ã Ó ã ó Ä Ô ä ô ¥ µ Å Õ å õ ¶ Æ Ö æ...
Character Sets 3.3 - WYSE FAMILY The WYSE emulation allows a 8-bit character set (256 characters) to be built from two 7-bit character sets (128 characters). A 8-bit character set is composed of: - a primary set (ASCII codes from 00h to 7Fh), - a secondary set (ASCII codes from 80h to FFh), The AX3000 provides seven 7-bit character sets (described in the following pages):...
Page 70
Character Sets Native Mode ┬ └ ┌ " ┐ ├ ┘ │ & ┼ ┤ ∗ ─ < ═ ¦ ┴ > ║ Multinational Ç É └ ╨ α ≡ á ü æ í ß ± ┴ ╤ é Æ ó...
Keyboards This chapters provides a description of available national keyboards, a list of the default values for programming keys corresponding to the selected emulation and information about dead keys. 4.1 - NATIONAL KEYBOARDS When a terminal is used in ASCII Mode, a national keyboard must be selected. The AX3000 Platine terminal provides the following national keyboards: - USA - United Kingdom...
Keyboards 4.2 - PROGRAMMING KEYS AX3000's built-in Predefined Configuration set-ups automatically set all standard terminal parameters to match the selected operating system. Automatic configuration sets both the 'standard' terminal parameters (emulation, number of lines, screen modes, etc) and also the values of the available programming function keys.
Page 88
Keyboards The following table gives the 12 multi-session default keystrokes and the associated values (these values can not be changed): label Value ANSI VT, WYSE session 1 Esc [<a Alt+F1 Ctrl+F1 session 2 Esc [<b Alt+F2 Ctrl+F2 session 3 Esc [<c Alt+F3 Ctrl+F3 session 4...
Page 91
Keyboards ANSI INTERACTIVE / UNIX SVR4 / UNIXWARE 7 N° Keystroke Value N° Keystroke Value Esc OP Ctrl+F7 Esc OV Esc OQ Ctrl+F8 Esc OW Esc OR Ctrl+F9 Esc OX Esc OS Ctrl+F10 Esc OY Esc OT Ctrl+F11 Esc OZ Esc OU Ctrl+F12 Esc OA...
Page 92
Keyboards ANSI MOS N° Keystroke Value N° Keystroke Value Esc ' Ctrl+F7 Esc [q Esc a Ctrl+F8 Esc [r Esc b Ctrl+F9 Esc [s Esc c Ctrl+F10 Esc [t Esc d Ctrl+F11 Esc [u Esc e Ctrl+F12 Esc [v Esc f Ctrl+Shift+F1 Esc [w Esc g...
Page 96
Keyboards ANSI DATA GENERAL All the function key values are the same than the ANSI ones. The only difference is the <CR> value. These key sends 0Ah instead of 0Dh. AX3000 - Programmer's Guide...
Keyboards 4.2.2 - VT Family VT family is composed by the VT220, HFT and VT AS400 emulation. VT220 Function keys: N° Keystroke Value N° Keystroke Value Esc OP Shift+F1 Esc OQ Shift+F2 Esc OR Shift+F3 Esc OS Shift+F4 Esc [16~ Shift+F5 Esc [17~ Shift+F6...
Page 98
Keyboards The keypad modes (numeric or application) and the cursor keypad modes (cursor or application) are selected through escape sequences. Numeric keypad: Keypad Mode Application Locked Unlocked Mode <*> Esc Ol <-> Esc Om <.> Esc On <0> Esc q Esc Op <1>...
Page 100
Keyboards The following table lists the default value of the numeric keypad (or editing keypad and cursor keypad): N° PS2 Keyboard Value 3270 Keyboard <Home> Esc [H home <Up> Esc [A <Page Up> Esc [150q <Left> Esc [D left <Right> Esc [C right <End>...
Page 102
Keyboards The keypad modes (numeric or application) and the cursor keypad modes (cursor or application) are selected through escape sequences. Numeric keypad: Keypad Mode N° Locked Unlocked <*> <-> <.> <0> Esc q <1> Esc [5~ <2> Esc [B <3> Esc [U <4>...
Page 103
Keyboards The following keystrokes are available in VT AS400 emulation. It is not possible to modify their values: Keystroke Value Label <Print Screen> Esc P Print <Tab> Field Avance <Ctrl left> Esc R Error Reset <Shift><F1> Esc H Help <Shift><Return> Esc 0Ah New line <Shift><Tab>...
Keyboards 4.2.9 - 3151 Emulation N° Keystroke Value N° Keystroke Value Esc a 0Dh Ctrl+F1 Esc b 0Dh Ctrl+F2 Esc c 0Dh Ctrl+F3 Esc d 0Dh Ctrl+F4 Esc e 0Dh Ctrl+F5 Esc f 0Dh Ctrl+F6 Esc g 0Dh Ctrl+F7 Esc h 0Dh Ctrl+F8 Esc i 0Dh Ctrl+F9...
Keyboards 4.3 - COMPOSITE CHARACTERS To enter a composite character, two keystrokes are needed. The first one is the modifier (^, ~, ¨, etc), the second one is the character itself (a, e, i, n, etc). Example: press '^' then 'e' to get 'ê'. Note: on the AX3000, composite characters are accented characters.
Keyboards 4.3.1 - Standard Processing When this method is used (Compose Characters: no), the AX3000 does not perform any special processing on the composite character modifier. The following table lists the ASCII codes, sent to the operating system, for the various character sets: Character Sets PC-437...
Need help?
Do you have a question about the Platine AX3000 and is the answer not in the manual?
Questions and answers