red ( ) - " " /P 2.1 red ( ) 1988 2 red ( 3.3). , red. 2 3 1. red - . : - ; - ; - "" ; - ; - ; - , ..; - - ; - "" , . 2. 2.1. . red . . "" , , " " . - ( 1). "" . "" - . <RETURN> (<>), <HOME>, <TAB>; , . - "" red, , , : - 3 - 4 ____________________________________________________________ e ............................................ . ---------------------------------------- . . : : . . : : . . : : . . : <> : . . : : . . : : . . : : . . : : . . : : . . ---------------------------------------- . . :<> :a : 10 . ............................................ . 1 ____________________________________________________________ - "" , , , ; - , , ; - "" , , ""; - . - . - : < >. - . . , . red . , - . - 4 - 5 2.2.  , , : red  [] [] , , - .  ,  ( - 11- ). - . <EXIT>, <Line Feed><Del (<><> ), . , . (1): red : red - red "" - : red -[-][+]   4. 2.3. - red, - . , , , . , <+PAGE> ____________________ 1) red , - e. ( csh): setenv TERM _ - 5 - 6 7, <ARG> - 1. red , - , - - -8 . . , . : 1) , (, SHIFT, ROLL ..). CTRL ( ), - ("control-");. 2) - ASCII -8. - : - (- ) ASCII; - ; - - , -8 (, "-15--0013"); 3) : - , , , ; - RETURN ( ); LINE FEED ( ); TAB (); HOME ( ); 4) , - (, "-15- -0013" 0 - 9, '0'-'9', - 6 - 7 ; VTA 2000 0 - 9 - ); 5) , IL, DL, IC, DC, ERASE, - VDT-52100c . . red - . , . 2.3.1. , -8, , . , - : 1) 0 - 037 - : "" ( ) - , "-8" 0100. ( @, A-Z,[,], \ , _,^); "", - @ , - . 2) , : " " - " " - \  "\" - \\, "~ ()" - \^ (\`') "` ( )" - \' "} (. )" - \) "{ (. )" - \( "| ( )" - \! 3) , - # , ""- "" "A"-"Q", - "a"-"q" "-8"; 4) 0200 - 0277 0377 - : @kkk - 7 - 8 kkk - , a "@" - "" . "" ( 0177) @# 2.3.2. . 1) (, ..) 040 - 077 ; 2) CTRL/O ( ""). - (- ( VTA 2000 -) - ( VTA 2000 -)), \, [, ] -8 0100 0176; 3) CTRL/N ( ""). ; 4) ("" ) - <ESCAPE> (CTRL/A 2. - ). 2.3.3. red , red, - , . - 1 2- - . , - : 1) - , , 1 - <ARG>, 29 - <PUT>. 2 ( 9, <PICK>). 2) ,  Line Feed ( ), 2 - Line Feed Line Feed . - 8 - 9 3) control- , , CTRL/T - <+LINE>. 4) - ; . , PF2 PF3 <OPEN> <CLOSE>. , , (, RETURN, TAB, HOME). 2.4. "". , - , red. , <USE>. , - "#", . "" "" <M-PORT>, (.2). "" "- ". <USE> . /usr/lib/re.std , . <ARG><M-PORT>. - , , "", . "" "", . - : : ; - ; ! - "" 1 ; < - "" 1 , ; : ! - ; - 9 - 10 ____________________________________________________________ "" ..................................... .-----------------------------------. .! !! !. .! !! !. .! "" !! "" !. .! !! !. .! >! !. .! !! !. .! !! !. .; !! !. .; !! !. .-----------------------------------. .arg: file: a line 10 . ..................................... . 2 ____________________________________________________________ > - "". , , <EXIT> ( <ARG>q<RETURN>) . - .b, . ( <SAVE>), , <ARG>qa<RETURN>. 2.5. , . red . 26 a z ( ), : - - <CLOSE>, <OPEN>, <PICK>; - 10 - 11 - <PICK>; - , . , - >,  - . $ >. 2.6. red - , .  - ( SHELL) - .  : e - ; l - ; t - - ; w - ; i - ; s - ; f - - ; a - , <RETURN> 1- , , ( - ). : 1) : red [-[-][+]]   , -, , + - - , : - 11 - 12 red --t a.mx 2) sh csh REDKEYS : setenv REDKEYS [-][+] ( csh); 3) : <ARG>[-][+]<RETURN> t, l, s e - . w . - , - . , w . 2.7. red . , _.b. , /tmp/rettnn.name, nn - , name - - . , : red - , - , . , - <SAVE> , - , .b. - 12 - 13 3. red red - , : <> <ARG><> - , . 3.1. <ARG> <ARG>, . , , 100 : 1) <ARG> (, `1'); 2) ( 100); 3) <GOTO> (, `4'). : <ARG>100<GOTO>  : 1) (, ); 2) (, ); 3) . , , . : - ; - <ARG>; - . : * * * * * * - (, <PICK>). - 13 - 14 , <RETURN>, <TAB>, <BACK-TAB>. , - , - : - , ; - , . - . , , ( ) - ( <ARG>><RETURN>), ( ) : <ARG>$<RETURN> , "" . <OPEN>, <CLOSE>, <PICK> <RETURN>. "arg:", <DEL> (<>). 3.2. , : CTRL/L <ARG>r<RETURN> 3.3. 3.3.1. - : < > - ; < > - ; < > - ; - 14 - 15 ________________________________________________________ .................................. . . . . . . 1*************** . . ********* . . ******** . . ****************2 . . . . . . .................................. .................................. . . . . . .*****1**************************. .*********** ********. .******************. .*****2**************************. . . . . . .................................. .................................. . . . . . . 1***************2 . . . . . . .................................. ( 1 , 2 - ) . 3 ________________________________________________________ < > - . "" , "f". 3.3.2. <HOME> <RETURN> <HOME> - ; <RETURN> - . , "" - 15 - 16 . 1 , ; <ARG><RETURN> - ; 3.3.3. (<tab>, <b-tab>, <set-tab>) <TAB> - . . - 9, 13, 25, 33, 31, 49, 57, 65 73 ; <B-TAB> - . <TAB>, - . - `.'; <SET-TAB> - . 2 - `2'`5'; <ARG><SET-TAB> - ; 3.4. 3.4.1. . (<INSERT>) , , , , . 30 . 72 . "INSERT". . : <INSERT> - / . - `5'; 3.4.2. (<DEL-CH> <BACKSPACE>) : <DEL-CH> - , 1 . - `6'; - 16 - 17 <B-SPACE> - ; . . - `DEL' `BackSpace'. 3.4.3. (<ESCAPE>) () 0-037, 0177-0277,, 0377. - "ESCAPE"-, . 0-037 : - <ESCAPE> ( CTRL/A); - "CTRL"- - , - CTRL/L. : ( ) . <>&037, "&"- " ", "A" 01 . 0200-0277 0377: - <ESCAPE> (CTRL/A); - . <> (0177) <ESCAPE>#. 3.5. 3.5.1. <ARG>><RETURN> "". <OPEN>, <CLOSE>, <PICK>, <GOTO>. 3.5.2. (<GOTO>) - , 1. <GOTO> ( `4'). <GOTO> - ; - 17 - 18 <ARG><GOTO> - ; <ARG>N<GOTO> - "N" (N - ); <ARG>$<GOTO> - , "" ("" - ); . 3.5.3. (<+PAGE>, <-PAGE>, <+LINE>, <- LINE>) , . <+PAGE> - 1 ; `7'; <-PAGE> - 1 ; `2'`7'; <ARG>N<-PAGE> () N . <+/-LINE>; (CTRL/T/CTRL/W): <ARG>N<+LINE> - N ; <ARG>N<-LINE> - N ; <+LINE> - 1 , - , 8 - ; <-LINE> - 1 (8, ) ; <ARG><+LINE> - "" , ; <ARG><+LINE> - "" , ; - 18 - 19 3.5.4. / (<RIGHT> <LEFT>) <RIGHT> - "" 30 ; `2'< >. <LEFT> "" 30 ; `2'< >. <ARG>N<RIGHT> - "" N ; <ARG>N<LEFT> - "" N ; <RIGHT> , . <RETURN> 1- . 3.5.5. - : f ( ) "" , . 3.6. (<+SEARCH>, <-SEARCH>) <+/-SEARCH> ( `3' `2'`3') . , , : <ARG><+SEARCH> <ARG><-SEARCH> () . - , , : "search key not found" " " : <+SEARCH> <-SEARCH> - 19 - 20 3.7. (<USE>, <SAVE>) <USE> (CTRL/D, `-') . : <ARG><USE> . : 1) , - , . "", - ""; 2) (, , ). - . , . ""; 3) . : "Create (y/n)?" ("(y/n)?") . <USE> - . , /usr/lib/re.std <SAVE> - (`2'`-' CTRL/V ). - " .b". <SAVE> .b, . <ARG><SAVE> "". <SAVE> - - 20 - 21 <EXIT>. 3.7.1. <ARG>+w<RETURN> - ; <ARG>-w<RETURN> - ( , ) . 3.8. , 3.8.1. <OPEN> <CLOSE> <OPEN> () , . <OPEN> - ; `8' PF2. <ARG>n<OPEN> - "n" ( "n"- ); <ARG><OPEN> - , - ; <ARG>_<OPEN> <ARG>$<OPEN> - ( , - "") ( , ). - <ARG>. <CLOSE> <OPEN>, : <CLOSE> - ; `2'`8' PF3. <ARG>n<CLOSE> - "n" , ; <ARG><CLOSE> - , ; - 21 - 22 <ARG>_<CLOSE> <ARG>$<CLOSE> - . - <ARG>. , <CLOSE>, - "#" ( ) : <ARG><PUT> - , <CLOSE>, - . - "#" , : <ARG>#<USE> <USE>. <ARG>><CLOSE> - , <CLOSE>, - "". 3.8.2. (<PICK>, <PUT>) . <PICK> () , <PUT