|目次前ページ次ページ|
─────────────────────────────────────
 6.VT282エスケープシーケンス

          C0コントロールキャラクタ
           ━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NUL      00      Null       
   ENQ      05      Enquire    
   BEL      07      Bell       
   BS       08      Backspace  
   HT       09      Horizontal tabulation  
   LF       0A      Line feed  
   VT       0B      Vertical taburation Processed as LF  
   FF       0C      Form feed           Processed as LF  
   CR       0D      Carriage return  
   SO(LS1)  0E      Shift out(Lock shift G1)  
   SI(LS0)  0F      Shift out(Lock shift G0)  
   DC1      11      Device control 1          Xon  
   DC3      13      Device control 3          Xoff 
   CAN      18      Cancel   
   SUB      1A      Substitute   
   ESC      1B      Escape   
   DEL      7F      Delete   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
           C1コントロールキャラクタ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   IND      84      ESC D    INDEX  
   NEL      85      ESC E    Next Line  
   HTS      88      ESC H    Horizontal tab set  
   RI       8D      ESC M    Reverse index   
   SS2      8E      ESC N    Single shift G2  
   SS3      8F      ESC O    Single shift G3  
   DCS      90      ESC P    Device control string  
   CSI      9B      ESC [    Control sequence introducer   
   ST       9C      ESC \    String terminator   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       Designating "Hard" Character Sets  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
JIS-Roman           ESC ( J           G0  
                    ESC ) J           G1  
                    ESC * J           G2  
                    ESC + J           G3  
ASCII               ESC ( B           G0  
                    ESC ) B           G1  
                    ESC * B           G2  
                    ESC + B           G3  
DEC Special <======= support only subset characters  
  Graphics          ESC ( 0           G0  
                    ESC ) 0           G1  
                    ESC * 0           G2  
                    ESC + 0           G3  
JIS-katanana        ESC ( I           G0  
                    ESC ) I           G1  
                    ESC * I           G2  
                    ESC + I           G3  
DEC Supplemental <======== non support    
                    ESC ( <           G0  
                    ESC ) <           G1  
                    ESC * <           G2  
                    ESC + <           G3  
DEC kanji <=== non supprt down-line loading characters  
                    ESC + " 0         G3 (old designator)  
                    ESC $ + 1         G3  
                    ESC $ + 3         G3  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Designating "Soft" (down-line loadable) character sets)  
  <======== non support at this emulator  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       Invoking Character Sets with Lock Shifts  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 LS0(lock shift G0)         SI   Invoke G0 into GL(default)  
 LS1(lock shift G1)         SO   Invoke G1 into GL  
 LS1R(lock shift G1,right)  ESC~ Invoke G1 into GR  
 LS2(lock shift G2)         ESCn Invoke G2 into GL  
 LS2R(lock shift G2,right)  ESC} Invoke G2 into GR 
 LS3(lock shift G3)         ESCo Invoke G3 into GL  
 LS3R(lock shift G3,right)  ESC| Invoke G3 into GR  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       Selectable Modes Summary  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Keybord               Locked           Unlocked  
    action               CSI 2 h          CSI 2 l   

   Insert/               Insert           Replace   
    Replace              CSI 4 h          CSI 4 l   

   Send/                 Off              On        
    receive              CSI 12 h         CSI 12 l  

   Line feed/            Newline          Line feed 
    new line             CSI 20 h         CSI 20 l  

   Cursor key            Application      Cursor    
                         CSI ? 1 h         CSI ? 1 l 

   ANSI/VT52             ANSI mode        VT52 mode    
                         CSI ? 2 h         CSI ? 2 l  

   Scrolling             Smooth           Jump   
                         CSI ? 4 h        CSI ? 4 l  

   Screen                N/A              N/A   

   Origin                Origin           Normal   
                         CSI ? 6 h        CSI ? 6 l  

   Auto wrap             On               Off    
                         CSI ? 7 h        CSI ? 7 l   

   Auto repeat           N/A              N/A    

   Print form            On               Off   
    feed                 CSI ? 18 h       CSI ? 18 l  

   Print extent          Full screen      Scrolling region   
                         CSI ? 19 h       CSI ? 19 l   

   Text cursor           On               Off  
    enable               CSI ? 25 h       CSI ? 25 l   

   Keypad                Application      Numeric   
                         ESC =            ESC >     

   Character set         National         Multinational   
                         CSI ? 42 h       CSI ? 42 l   

   VT/PC                 VT mode        PC-9801native    
                         CSI ? 999 h      CSI ? 999 l    

    132/80桁表示(Column)          132桁表示         80桁表示    
    [09-apr-2000] new!    CSI ? 3 h         CSI ? 3 l  
    リバースビデオモード        reverse video    normal screen 
    [13-apr-2000] new!    CSI ? 5 h         CSI ? 5 l  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Selected 7-bit C1 Control Transmission       
              ESC sp  F  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Selected 8-bit C1 Control Transmission       
              ESC sp  G   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Cursor Positioning  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Cursor up             CSI Pn A  
 Cursor down           CSI Pn B  
 Cursor foward         CSI Pn C  
 Cursor backward       CSI Pn D  
 Cursor position       CSI Pl ; Pc ; H  
 Cursor position       CSI Pl ; Pc ; f  
 Index(IND)            ESC D  
 Reverse index(RI)     ESC M  
 Next line(NEL)        ESC E  
 Save cursor           ESC 7  
 Restore cursor        ESC 8  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Tab stops  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Horizontal tab set  
  (HTS)           ESC H  
 Tabulation  
   clear(TBC)     CSI g  
                  CSI 0 g  clear tab stop at cursor position  
                  CSI 3 g  clear all tab stops  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Character rendition and attribute  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CSI Ps ; Ps ... m  
   Ps 
 -----
   0        all attribute off  
   1        N/A                
   4        Display underscored  
   5        Display blinking     
   7        Display reverse image  
   22       N/A                  
   24       Display not underscored  
   25       Display not blinking    
   27       Display not reverse image   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Selected Character attribute   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  CSI Ps " q    
  Ps    
 ----   
  0  All attribute off    
  1  Disignate character as not erasable by selective erase   
  2  Disignate character as erasable by selective erase       
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Double-Height line   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ESC#3      ---- 倍高倍幅の上半分グラフィック文字モード(注意)
 ESC#4      ---- 倍高倍幅の下半分グラフィック文字モード(注意)
 ESC#5      ---- グラフィック文字モードオフ
                (これ以降の出力文字はテキストに表示されます)
 ESC#6      ---- 単高倍幅のグラフィック文字モード(注意)
   (注意)ウィンドウスコープ機能使用中は無効となります。
           セットアップ(拡大文字使用可のときのみ有効)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Editing  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Insert line  
                   CSI Pn L   
  Delete LINE  
                   CSI Pn M   
  Insert characters    
                   CSI Pn @   
  Delete                      
   character       CSI Pn P   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Erasing   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Erase character      CSI Pn X   
  Erase line           CSI K      
                       CSI 0 K    
                       CSI 1 K    
                       CSI 2 K    
  Erase in display     CSI J      
                       CSI 0 J    
                       CSI 1 J    
                       CSI 2 J    
  Selective erase                 
    in line            CSI ? K    
                       CSI ? 0 K  
                       CSI ? 1 K  
                       CSI ? 2 K  
  Selective erase                 
   in display          CSI ? J    
                       CSI ? 0 J  
                       CSI ? 1 J  
                       CSI ? 2 J  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Set Top and bottom margins  
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CSI Pt ; Pb r   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Printing   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Auto print mode   CSI ? 5 i Turn on auto print   
                   CSI ? 4 i Turn off auto print  
 Print controller  CSI 5 i   Turn on print controller   
                   CSI 4 i   Turn off print controller   
 Print cursor line CSI ? 1 i   Print cursor line %%%07-apr-2001%%%  
 Print screen      CSI i     Print screen or scrolling region  
                   CSI 0 i    
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   User defined keys(PFキー文字列のダウンロード機能です)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DCS Pc;Pl |  ky1/st1;ky2/st2;...kyn/stn ST    

  Pc  clear parameter a value 0 clear all keys   
 -----                a value 1 clear old only when redefined   
  none   clear all keys before loading new values.   
  0      clear all keys before loading new values.   
  1      load new key values, clear old only where defined.     
  Pl     
 -----   
  none   lock the keys(Cannot be redifined)  
  0      lock the keys(Cannot be redifined)  
  1      donnot lock the keys(Can be redifined)  
  ky       value      ky       value       ky      value   
 -----    -------    -----    -------     ----    -------- 
  F1         1        F6        17        help(PF15) 28    
  F2         2        F7        18        Do(PF16)   29    
  F3         3        F8        19        F17        31    
  F4         4        F9        20        F18        32    
  F5         5        F10       21        F19        33    
                      F11       23        F20        34    
                      F12       24                         
                      F13       25                         
                      F14       26                         
  st                                                       
 ----                                                      
  P   =  50 hex                                            
  R   =  52 hex                                            
  I   =  49 hex                                            
  N   =  4E hex                                            
  T   =  54 hex                                            
  ex.   DCS 1 ; 1 | 34 / 5 0 5 2 4 9 4 E 5 4 ST            

  ★★★ 指定できるキー発生コードは最長32文字までです。  
         また、8BITコントロール時は、ESC [ 及び ESC O は 
         キー押下時にそれぞれ、CSI SS3 に変換されて送信されます。
  ★★★STは、<ESC>¥でも良い。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    Reports   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  device attributes     CSI c      
                        CSI 0 c    
         VT282 to host  CSI ? 62;1;2;6;7;8;9 c    
  secondary DA          CSI > c    
                        CSI > 0 c  
         VT282 TO HOST  CSI > 1;1;1c   
  device status report  CSI 5 n    
         VT282 TO HOST  CSI 0 n    
  Request for           CSI 6 n    
       cursor position             
         VT282 TO HOST  CSI Pv; Ph R   
  Printer port          CSI ? 15 n     
         VT282 TO HOST  CSI ? 10 n  printer ready    
                        CSI ? 11 n  printer not ready    
  User define keys      CSI ? 25 n    
         VT282 TO HOST  CSI ? 20 n  user-defined keys locked    
                        CSI ? 21 n  user-defined keys unlocked  
  Keybord language      CSI ? 26 n    
         VT282 TO HOST  CSI ? 27;17n  katakana keybord    
  Identification        ESC Z         
         VT282 TO HOST  as same as primary DA    
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    Soft terminal reset   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
         CSI ! p          
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    Status line(最下行の表示利用方法です。)
    ※※※25行目に、ファンクションキーのガイド表示をする
       場合などに利用します。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Select status line type    
         CSI 0 $ ~   no status line   
         CSI 1 $ ~   Indicator (Local) status line   
         CSI 2 $ ~   Host-Writable (Remote) status line   

   Select Active Status Display    
         CSI $ }     Select the main display    
         CSI 0 $ }   Select the main display    
         CSI 1 $ }   Select the Status display (25'th line)   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

 [ご注意]下記エスケープシーケンスはVT−80モードでは無効と
           なります。(VT−282モードで有効)
 ESC[Pn@  ---- カーソル位置から右側へ続くPn文字分のスペースを
               挿入します。
              (カーソル位置の文字を含む)残りの文字は挿入
               された文字数だけ右に移動します。
─────────────────────────────────────
     |目次前ページ次ページ