Wyse Technology
Gobal Leader in Thin Computing
Wyse Global Sites | Search 
Customer Service
Overview
Knowledge Base  
Downloads  
Product Service  
Product Registration  
Technical Support - Knowledge Base

Wyse Terminals Control Sequences

Home Products



WY-75 CONTROL SEQUENCES


Control Sequences for the native personality:


Cursor Control
Carriage ReturnCTRL M
Cursor BacktabESC [ Ps Z
Ps is a variable that represents the
number of Tab stop
Cursor Horizontal AbsoluteESC [ Ps G
Ps is a variable that represents 
the amount of columns that the 
cursor is moved to
Cursor Horizontal TabESC [ Ps I,CTRL I
Ps is a variable that tabs cursor 
forward Ps tab stops
Cursor Next Line ; no scrollESC [ Ps E,CTRLJ,CTRLK,CTRLL,[Line Feed]
Ps is a variable that moves cursor 
down Ps rows and to column 1
Cursor next line scrollESC E
Cursor preceding lineESC [ Ps F
Ps is a variable which equals
the number of lines that you 
want to move the cursor up the 
screen and back to column 1.
Cursor BackwardESC [ Ps D,CTRL H,Backspace, [Left Arrow]
Ps is a variable that moves cursor 
left Ps columns
Cursor DownESC [ Ps B,CTRL J,CTRL K,CTRL L,[Down arrow]
Ps is a variable that Moves cursor 
down PS rows
Cursor ForwardESC [ Ps C
Ps is a variable that Moves cursor 
right Ps columns
 
Cursor Controls
Cursor HomeESC [ H,ESC [ f,Home,[shift/CTRL/Home]
Cursor PositionESC [ Ps ; Ps1 H,ESC [ Ps;Ps1 f
Ps and Ps1 are variables that 
represent values that Moves cursor 
to Ps lines, and Ps1 columns ,
(equivalent to CUP)
 
Cursor Control
IndexESC D
 
Cursor Controls
Reverse IndexESC M
 
Cursor Control
Restore CursorESC 8,ESC [ u
Save CursorESC 7, ESC [ s
 
Display Control
Begin Field attributeESC [ Ps p
Ps is a variable representing

Ps  =0 normal
     1 dim 
     2 blink
     3 blink dim
     4 blank
     5 blank dim
     6 blank
     7 blank dim
     8 underline  
     9 underline dim 
    10 underline blink
    11 underline blink dim 
    12 underline blank
    13 underline blank dim 
    14 Underline blank blink
    15 underline blank blink dim
    16 Inverse
    17 inverse dim
    18 inverse blink
    19 Inverse blink dim
    20 inverse blank
    21 inverse blank dim
    22 inverse blank
    23 inverse blank dim
    24 inverse underline
    25 inverse underline dim
    26 inverse underline blink
    27 inverse underline blink
       dim
    28 inverse underline blank
    29 inverse underline blank
       dim
    30 inverse underline blank
       blink
    31 inverse underline blank
       blink di
Change go character set to graphicsESC ( 0
Change go character set to standard asciiESC ( B
Change go character set to UKESC ( A
Change G1 character set to graphicsESC ) 0
Change G1 character set to standard asciiESC ) B
Change G1 character set to UKESC ) A
Define non-normal (enhance) attribute (SGR,non-0ESC [ Ps t, setup level 1]
Ps is a variable that represents 
the following attribute values

Ps = 0 Dim
     1 Inverse
     2 Underlin
Define non-normal (enhance) attributeESC [ PS t,[setup level 1]
Defines the enhance attribute
(see SGR,Non-0)

 Ps  = 0 dim
       1 inverse
       2 underline
Delete CharacterESC [ Ps P [shift F13]
Ps is a variable representing
characters to be deleted beginning 
at the cursor column
Delete lineESC [ Ps M, F5
Ps is a variable which deletes
Ps lines beginning at the cursor line
Disable double-wide emulation ESC # 5
Emulate double-wide emulationESC # 3,ESC # 4,ESC # 6
 
Display Controls
Erase CharacterESC [ Ps X
Ps is a variable that erases Ps 
characters beginning at the 
cursor column
Erase in DisplayESC [ Ps J,ESC [ ? PsJ,[S/F16],S/CTRL/HOME
Ps is a variable that Erases data 
   on the screen
Ps  = 0 rase from cursor to end
      
      1 Erase from beginning to cursor
      
      2 Erase All
 
Display Control
Erase in lineESC [ Ps K,ESC [ ? Ps K,[Shift F5]
Ps is a variable that Erases data 
   in the cursor row
Ps = 0 Erase from cursor to end
     1 Erase from beginning to cursor
     2 Erase All
 
Display Controls
Horizontal tabulation setESC H ,TAB setup level 22
 
Display Control
Insert CharacterESC [ Ps @, F4
Ps is a variable that Inserts Ps 
blank characters beginning at the 
cursor column
Insert CharacterESC [ Ps @, F4
Ps is a variable that Inserts Ps 
blank characters beginning at the 
cursor column
Insert LineESC [ Ps L, shift F4
Ps is a variable that Inserts Ps 
blank rows beginning at the 
cursor column
.ESC [ Ps1 ; Ps2 ; ... Psn q
Default = 0
Ps value   Action
------------------------
  0        L1 to L4 OFF
  1        L1 ON
  2        L2 ON
  3        L3 ON
  4        L4 ON

Ps values may be grouped
in any combinations 
(separated by a ";")
Cursor PositionESC [ PS;PS1 H,ESC [ PS;PS1f
 
Display Controls
Screen Alignment displayESC # 8
 
Display Control
Scroll fasterCTRL (up arrow)
Scroll slowerCtrl (down arrow)
Select GO character setCTRL O
Select G1 Character setCTRL N
Select graphic renditionESC [ Ps ; Ps1 ; ...Pn m
Ps is a variable that sets video 
   attributes 
Ps       = 0
Enhance  =non-0
 
Characters in the graphics set
always have the normal attribute,
but the line drawing characters 
are always treated as enhanced for 
purposes of clear and transfer 
protection
Set top and bottom marginESC [ Ps ; Ps1 ; r
Ps is a variable that defines
   a scrolling region with
Ps = Beginning line number
Ps1= Ending line number

If Ps is 0 or absent it defaults 
   to line 24
Status line display ON/OFFCTRL (left arrow)
Tabulation clearESC [ Ps g
Ps is a variable that clears 
   tab stops

Ps  = 0 Clears the tab stop at
      the cursor column
    = 3 Clears all tab stops
 
Mode Control
132 column mode OFFESC [ ? 3 (L) setup level 4
132 column mode ONESC [ ? 3 h setup level 4
ATS parsing mode ONESC [ ? 2 l setup level 1
Auto Repeat mode OFFESC [ ? 8 l setup level 1
Auto repeat mode ONESC [ ? 8 h setup level 1
Block mode OFFESC [ ? 10 l BLOCK
Block mode ONESC [ ? 10 h BLOCK
Caps lock mode ON/OFFCAPS LOCK
Character wrap mode OFFESC [ ? 7 l setup level 1
Character wrap mode ONESC [ ? 7 h setup level 1
Clear enhanced data mode OFFESC [ 6 l
Clear enhanced data mode ONESC [ 6 h
Clear enhanced data mode OFFESC [ 6 l
Clear Enhance data mode ONESC [ 6 h
Copy passthru print mode OFFESC [ ? 4 i [F1]
Copy passthru print mode ONESC [ ? 5 i [F1]
CRT saver mode OFFESC [ 32 l setup level 4
CRT saver mode ONESC [ 32 h setup level 4
Cursor key node OFFESC [ ? 1 l
Cursor key mode ONESC [ ? 1 h
Cursor transfer termination mode OFFESC [ 16 l
Cursor Transfer termination mode ONESC [ 16 h
Disable control execution mode OFFESC [ 13 l CTRL (left arrow)
Disable control execution mode ONESC [ 13 h CTRL (left arrow)
Display disable mode OFFESC [ 30 l
Display disable mode ONESC [ 30 h
Enable cursor mode OFFESC [ ? 25 l setup level 4
Enable cursor mode ONESC [ ? 25 h setup level 4
Insert character mode OFFESC [ 4 l [shift F12]
Insert character mode ONESC [ 4 h [shift F12]
Key click mode ON/OFFshift/CTRL/ENTER
Keyboard lock mode OFFESC [ 2 l
Keyboard lock mode ONESC [ 2 h
Keypad to application modeESC =
Keypad to numeric modeESC >
Local echo disable mode OFF (FDX)ESC [ 12 l setup level 2
Local disable mode ON (HDX)ESC [ 12 h setup level 2
Local mode ON/OFFLocal
Monitor Mode OFFESC [ 3 l CTRL(left arrow)
Monitor Mode ONESC [ 3 h CTRL(left arrow)
Newline mode OFFESC [ 20 l setup level 1
Newline mode ONESC [ 20 h setup level 1
Newline mode ONESC [ 20 h setup level 1
No Scroll ON/OFFNO SCROLL
 
Mode Controls
Origin Mode OFFESC [ ? 6 l
 
Mode Control
Origin mode ONESC [ 6 h
Print form feed mode OFFESC [ ? 18 l
Print form feed mode ONESC [ ? 18 h
Print Full screen OFFESC [ ? 19 l
Print full screen ONESC [ ? 19 h
Reset ModeESC [ Ps ; Ps1 ; ...Pn l
Ps is a variable that turns off 
terminal modes

Ps = 1 transfer enhanced data modes 
     2 Keyboard lock mode
     3 Monitor mode 
     4 insert character mode
     6 clear enhanced data mode
    12 Local echo disable mode
    13 disable control execution 
       mode
    16 cursor transfer termination 
       mode
    20 newline mode
    ?1 cursor key mode
    ?2 ansi mode(when off ats 
       mode is enabled)
    ?3 132-column mode
    ?4 smooth scroll
    ?5 reverse screen mode
    ?6 origin mode    
    ?7 character wrap mode
    ?8 auto repeat mode
   ?10 block mode
   ?18 print form feed mode
   ?19 print full screen mode
   ?25 enable cursor mode
    30 display disable mode
    31 status line display mode
    32 steady cursor mode
    34 underline cursor mode
    35 width change clear mode
       disable mode
Reset ModeESC [ Ps ; Ps1 ; ...Pn l
Ps is a variable that turns off 
terminal modes

Ps = 1 transfer enhanced data modes 
     2 Keyboard lock mode
     3 Monitor mode 
     4 insert character mode
     6 clear enhanced data mode
    12 Local echo disable mode
    13 disable control execution 
       mode
    16 cursor transfer termination 
       mode
    20 newline mode
    ?1 cursor key mode
    ?2 ansi mode(when off ats mode 
       is enabled)
    ?3 132-column mode
    ?4 smooth scroll
    ?5 reverse screen mode
    ?6 origin mode    
    ?7 character wrap mode
    ?8 auto repeat mode
   ?10 block mode
   ?18 print form feed mode
   ?19 print full screen mode
   ?25 enable cursor mode
    30 display disable mode
    31 status line display mode
    32 steady cursor mode
    34 underline cursor mode
    35 width change clear mode
       disable mode
Reverse Screen mode OFFESC [ ? 5 h setup level 4
Reverse Screen mode ONESC [ ? 5 h setup level 4
Set ModeESC [ Ps ; Ps1; ...Pn h
Ps is a variable that turns on 
   terminal modes

Ps = 1 transfer enhanced data modes 
     2 Keyboard lock mode
     3 Monitor mode 
     4 insert character mode
     6 clear enhanced data mode
    12 Local echo disable mode
    13 disable control execution mode
    16 cursor transfer termination mode
    20 newline mode
    ?1 cursor key mode
    ?2 ansi mode(when off ats mode 
       is enabled)
    ?3 132-column mode
    ?4 smooth scroll
    ?5 reverse screen mode
    ?6 origin mode    
    ?7 character wrap mode
    ?8 auto repeat mode
   ?10 block mode
   ?18 print form feed mode
   ?19 print full screen mode
   ?25 enable cursor mode
    30 display disable mode
    31 status line display mode
    32 steady cursor mode
    34 underline cursor mode
    35 width change clear mode
       disable mode
Smooth scroll mode OFFESC [ ? 4 l CTRL(up aarrow
Smooth scroll mode ONESC [ ? 4 h CTRL(down arrow)
Status line display mode OFFESC [ 31 l CTRL(left arrow)
Status line display mode OFFESC [ 31 l CTRL(left arrow)
Status line display mode ONESC [ 31 h CTRL(right arrow)
Steady cursor mode OFFESC [ 33 l setup level 4
Steady cursor mode ONESC [ 33 h setup level 4
Transfer enhanced data mode OFFEDSC [ 1 l
 
Mode Controls
Transfer enhanced data mode ONESC [ 1 h
 
Mode Control
Transparent passthru print mode OFFESC [ 4 i shift F-1
Transparent passthru print mode ONESC [ 5 i , shift F1
Underline cursor mode OFFESC [ 34 l setup level 4
Underline cursor mode ONESC [ 34 h setup level 4
Width change clear disable mode OFFESC [ 35 l
Width change clear disable mode ONESC [ 35 h
 
Terminal Control
Divice status reportESC [ Ps n
Ps is a variable that requests
   a status report where 

Ps  = 5 reports the status of a       
        device (sends ESC [ 0 n if
        terminal is OK and ready)
      6 reports the cursor position 
        (sends ESC [ Ps; Ps1 ; R for 
        cursor at line Ps and 
        column Ps1
    ?15 reports the printer status
        (sends ESC [ ? 10 n if the 
        printer is ready) and 
        (ESC [ ? 11 n if it is 
        not ready)
Display setup parametersSET UP
Identify TerminalESC Z ESC b(space)
Preform soft resetESC ! p shift SETUP
Reset to initial StateESC c shift CTRL/SETUP
 
Transmission Control
Abort escape code sequenceCTRL X CTRL Z Shift/DELETE
BreakBreak
Copy cursor line to auxiliary portESC [ ? 1 l shift F-2
Copy cursor line to modem portESC [ ? 3 i F-2
Copy entire screen to auxiliary portESC [ 0 i shift F-3
Copy entire screen to modem portESC [ 2 i F-3
Delay ProcessingESC ,
Device AttributeESC [ 0 c
Disconnect BreakShift BREAK
Initiate escape code sequencesCTRL [ ESC
Load TextESC [ > Ts delim Ts1 Ts2 ... Tn delim
Ts is a variable that loads
text (executiable only from host 
computer, where Ts is + to - 
(host message field text) :
 
+  TOP Line (up to 39 characters 
   for 80-column screen; 67 
   characters for 132-column 
   screen)

,  Unshifted bottom Line (up to 
   78 characters for 80-column 
   screen; 130 characters for 
   132-column screen)

-  Shifted bottom line (up to 78 
   characters for 80-column screen;
   130 characters for 132-column 
   screen)

Where Ts is a top (function key
data strings for F6 to F21,
up to 16 characters each)

a   F6
b   F7
c   F8
d   F9
e   F10
f   F11
g   F12
h   F13
i   F15
j   F15 (HELP)
k   F16 (DO)
l   shift F6 ,(F17)
m   shift F7 ,(F18)
n   shift F8 ,(F19)
o   shift F9 ,(F20)
p   shift F10,(F21)
Media CopyESC [ Ps i
Ps is a variable that controls media 
copy operations

Ps  = 0 copy the entire screen to 
      auxiaiary(printer) port

      2 copy the entire screen
      display to modem (host)
      port

      4 disable the transparent 
      pass-thru print mode

      5 enable the transparent
      passthru print mode.Only
      ESC c and ESC [ 4 i are
      acted on.

      ?1 copy the cursor line to
      the auxilary(printer)Port

      ?3 copy the cursor line to 
      the modem(host) Port

      ?4 diaable the copy passthru 
      print mode

      ?5 enable the copy passthru 
      print mode
Resume transmission (XON)CTRL Q
Return AckCTRL E
Send delete/rubout character, 7FHDELETE
 
Transmission Control
Sound bell CTRL G
 
Transmission Control
Suspend transmission (XOFF)CTRL S
Transmit character at cursorESC 5