• Aucun résultat trouvé

Screen Editing Control Sequences

Dans le document the Display (Page 162-167)

Oelete Character (OCH)

CSI <# of chars> P 9B <# of chars> 50 lB 5B <# of chars> 50 where

(8-bit hex) (7-bit hex)

0413/0463

<# of chars> is the number of characters to delete; the default value when no parameter is present is 1.

Deletes one or more characters starting at the cursor position. Characters to the right of the deleted area, if any, are moved left to the current cursor position to fill the void created by the deletion. Characters can be deleted from the current cursor position to the end of the current line. See ANSI document X3.64, section 5.21.

Insert Character (ICH)

CSI <# of chars> @ 9B <# of chars> 40 lB 5B <# of chars> 40 where

(8-bit hex) (7-bit hex)

0413/0463

<# of chars> is the number of character spaces to insert; the default value when no parameter is present is 1.

Inserts one or more erased characters (spaces) to the right, starting at the current cursor position. Characters at the cursor position and to the right of the cursor are scrolled right.

Characters that are scrolled off the screen are lost. See ANSI document X3.64, section 5.48.

3-44

014-002111

Insert Line (IL)

CSI <# of lines> L 9B <# of lines> 4C 1B 5B <# of lines> 4C where

(B-bithex) (7-bithex)

0413/0463

<# of lines> is the number of blank lines to insert; the default value when no parameter is present is 1.

Inserts one or more blank lines in the current scrolling region starting at the line the cursor is on. Lines at and below the cursor are shifted down. See ANSI document X3.64, section 5.49.

Oelete Line (OL)

0413/0463

CSI <# of lines> M 9B <# of lines> 4D 1B 5B <# of lines> 4D where

(8-bithex) (7-bithex)

<# of lines> is the number oflines to delete; the default value when no parameter is present is 1.

Deletes one or more lines starting at the current line the cursor is on, and successive lines below.

Lines are deleted only in the current scrolling region, and any lines left below the deleted rows are scrolled up; blank lines are inserted as required. See ANSI document X3.64, section 5.23.

Erase Character (ECH) D413/D463

CSI <# of chars> X 9B <# of chars> 58 1B 5B <# of chars> 58 where

(8-bithex) (7-bithex)

<# of chars> is the number of characters to erase; the default value when no parameter is present is 1.

Erases the specified number of characters on a line starting at, and including, the cursor position. See ANSI document X3.64, section 5.28.

Erase In Line (EL) all terminals

CSI <parameter> K

9B <parameter> 4B (8--bit hex) (7-bit hex) IB SB <parameter> 4B

where

<parameter> specifies what portion of the line to erase, according to the following list:

o

erases from the cursor to the end of the current line. This is the default if no parameter is specified.

1 erases from the first character on the line to the cursor position, inclusive.

2 erases the entire line.

Erases displayed characters on the current line. The cursor position is not changed. See ANSI document X3.64, section 5.31.

Erase In Display (ED)

CSI <parameter> J 9B <parameter> 4A IB SB <parameter> 4A where

(8-bit hex) (7--bit hex)

all terminals

<parameter> specifies what portion of the screen to erase, according to the following list:

o

erases from the cursor to the end of the screen. This is the default if no parameter is specified.

1 erases from the beginning of the screen to the cursor position, inclusive.

2 erases the entire screen.

Erases displayed characters. The cursor position is not changed. See ANSI document X3.64, section 5.29.

3-46 014--002111

Selective Erase In Line (DECSEL)

CSI ? <parameter> K 9B 3F <parameter> 4B 1B 58 3F <parameter> 4B where

(B-bit hex) (7-bit hex)

<parameter> specifies what portion of erasable characters to erase in a line:

0413/0463

o

erases all erasable characters from the cursor to the end of the current line.This is the default if no parameter is specified.

1 erases all erasable characters from the beginning of the line to the current cursor position, inclusive.

2 erases all erasable characters on the entire line.

Erases characters that have been designated as erasable with the Select Character Attributes control sequence.

Selective Erase In Display (DECSEO)

0413/0463

CSI ? <parameter> J

9B 3F <parameter> 4A (8-bit hex) (7-bit hex) 1B 58 3F <parameter> 4A

where

<parameter> specifies what portion of erasable characters to erase on the screen:

o

erases all erasable characters from the current cursor position to the end of the screen. This is the default if no parameter is specified.

1 erases all erasable characters beginning from the beginning of the screen to the cursor position inclusive.

2 erases all erasable characters on the entire screen.

Erases characters that have been designated as erasable with the Select Character Attributes control sequence.

Scroll Down (SO)

CSI <parameter> T 9B <parameter> 54 lB 5B <parameter> 54 where

(8-bit hex) (7-bit hex)

<parameter> specifies the number oflines to scroll on the screen:

Scrolls the screen contents down.

Scroll Up (SU)

CSI <parameter> S 9B <parameter> 53 lB 5B <parameter> 53 where

(8-bit hex) (7-bit hex)

<parameter> specifies the number of lines to scroll on the screen:

Scrolls the screen contents up.

3-48

all terminals

all terminals

014-002111

Dans le document the Display (Page 162-167)

Documents relatifs