Editing Insert mode on CSI 4 h (IRM) Insert mode off CSI 4 l (IRM) Set tab stops CSI ? 5 W (CTC) Every 8th column Set tab stop at cursor position CSI 0 W or ESC H (CTC) or (HTS) Clear tab stop at cursor position CSI 0 g or CSI 2 W (TBC) or (CTC) Clear all tab stops CSI 3 g or CSI 5 W (TBC) or (CTC) Move cursor to next tab stop or right margin CTRL I (HT) Move cursor forward pn tab stops CSI pn I (CHT) pn = number of tab stops Move cursor backward pn tab stops CSI pn Z (CBT) pn = number of tab stops Insert pn null characters CSI pn @ (ICH) beginning at cursor pn = number of null characters Insert pn lines of null characters CSI pn L (IL) beginning at cursor line pn = number of lines Delete pn lines CSI pn M (DL) beginning at cursor line pn = number of lines Delete pn characters CSI pn P (DCH) beginning at cursor column pn = number of characters Erase in display CSI 0 J (ED) From cursor to end of screen Erases characters and character attributes. When an entire line is erased, erases line attributes also. Erase in display CSI 1 J (ED) From beginning through cursor Erases characters and character attributes. When an entire line is erased, erases line attributes also. Erase in display CSI 2 J (ED) Entire screen Erases characters and character attributes. When an entire line is erased, erases line attributes also. Erase erasable characters CSI ? 0 J (DECSED) From cursor to end of display Erase erasable characters CSI ? 1 J (DECSED) From beginning of display through cursor Erase erasable characters CSI ? 2 J (DECSED) Entire screen Erase in line CSI 0 K (EL) From cursor to end of line Erase in line CSI 1 K (EL) From start of line through cursor Erase in line CSI 2 K (EL) Entire line Erase in line CSI ? 0 K (DECSEL) From cursor to end of line Erase in line CSI ? 1 K (DECSEL) From start of line through cursor Erase in line CSI ? 2 K (DECSEL) Entire line Erase pn characters CSI pn X (ECH) beginning at cursor column pn = number of characters Clearing Data See Editing . Sending Data Local echo disable CSI 12 h (SRM) Local echo on CSI 12 l (SRM) No FF after send page CSI 0 | (DECTTC) FF after send page CSI 1 | (DECTTC) 8-bit transmission mode on ESC SPACE G (S8CIT) 7-bit transmission mode on ESC SPACE F (S7CIT) Media copy CSI ps i (MC) ps Action ------------------------------ 2 Copy entire screen display to data port ?3 Copy cursor line to data port Send cursor character to host ESC 5 (WYXCH) Copy entire display to data port CSI 2 i (MC) Copy cursor line to data port CSI ? 3 i (MC) Send all characters mode CSI 37 h (WYGATM) Send only erasable characters mode CSI 37 l (WYGATM) Send full screen mode CSI 38 h (WYTEXM) Send scrolling region mode CSI 38 l (WYTEXM)