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e<L#Y,7e<L#U,7Z<L,7e<L#N,7Z<L,7e<L#K,7Z<L,7e<L#D,7Z<L,7e<L#@,7Z<L,7e<L#<,7Z<L,7e<L#8,7Z<L,0<@7@3z+"e@v3z+!K>o,^o>`K+"l+"h-=h,7e<L#0,7e<L#)+0+"m-=h,7Z<L,7e<L#$,8<Lh3}`,7e<L#,8<Lh3}`,7e<L#,8<Lh3|`,7e<L#,7Z<L,7U<L,8T<L`,7e<L#,8T<L`,7e<L#
-=	+hH#aHnicedayH#Leaving:the.lesson"SED03"...[N]H# questions your answer was right on your very first try.[N]H# times.[N]OnH# questions,[N]and you gave the right answerH#%During the lesson "SED03" you answeredH#*from this point.  It is going all the way back to the start.[N]H#1!NOTE:  The backing procedure is unable to go back just ONE step [N]H#9
To printhitSout,otype:[N]H#Ewhenyounareuatamonitorf(whenSyouHgetfthe,"."iprompt).[N]H#L	allHELP SED[N]H#OTo typeoSED.HLPd(onpa hard-copyterminal,npreferably), type:[N]H#Vtrouble remembering[N]H#oThat is enough for this lesson.[N]H#sControl-P is the <PERCENT-GOTO> command.[N]H#yfrom the file.[N]H#|it does load the lines into a buffer, deletes lines[N]H$Control-F is the <DELETE-LINES> command which, although[N]H$	of the buffer into the file.[N]H$Control-G is the <PUT> command, which puts the contents[N]H$        4) Control-P[N]H$        3) Control-F[N]H$        2) Control-G[N]H$        1) Control-V[N]H$#without changing the file, is:[N]H$'The <PICK> command, to load lines into the pick buffer[N]H$.
Answero1,e2,tort3.[N]H$2	notldoyanysharm.[N]H$5!re-enteringEtheNtextTstringmisdaiwastetofltimeNforHyou,butwill[N]H$=#Since the <SEARCH-BACKWARD> and <SEARCH-FORWARD> share a parameter,[N]H$Ethere is no need to  re-enter the text-string.[N]H$K#<SEARCH-FORWARD> and <SEARCH-BACKWARD> share a parameter, therefore[N]H$S"        3)You can re-enter the text string but it is not necessary[N]H$[         2)You must NOT re-enter the text string as a parameter[N]H$b        1)You must re-enter the text string as a parameter[N]H$jstring, and now you want to search backward for it:[N]H$pIf you have already searched forward for a certain text[N]H$w2[N]H$y Control-E is <SEARCH-BACKWARD> but control-F is <DELETE-LINES>[N]H% Control-R is <SEARCH-FORWARD> but control-B is <INSERT-SPACES>[N]H%Control-F is <DELETE-LINES> and control-B is <INSERT-SPACES>[N]H%2)H%&        4) Control-F for <SEARCH-FORWARD>, control-E for <SEARCH-BACKWARD>[N]H%&        3) Control-R for <SEARCH-FORWARD>, control-B for <SEARCH-BACKWARD>[N]H%#&        2) Control-R for <SEARCH-FORWARD>, control-E for <SEARCH-BACKWARD>[N]H%,&        1) Control-F for <SEARCH-FORWARD>, control-B for <SEARCH-BACKWARD>[N]H%5The two <SEARCH> commands are:[N]H%93[N]H%;<ENTER-PARAMETER>100<PERCENT-GOTO> will get you to the[N]H%BEND of the file, not the beginning.[N]H%G<ENTER-PARAMETER><PERCENT-GOTO> will get you to the[N]H%Mof the file. This is not always the case, however.[N]H%T<PECENT-GOTO> issued, then you will get to the beginning[N]H%[session. If that happens to be 0, or if this is the first[N]H%ba <PERCENT-GOTO> command was given in the current editing[N]H%ipercent of the way through the file as the LAST time[N]H%oTyping just <PERCENT-GOTO> will get you to the same[N]H%v3)H%w        4) <ENTER-PARAMETER>100<PERCENT-GOTO>[N]H%}        3) <ENTER-PARAMETER>0<PERCENT-GOTO>[N]H&        2) <ENTER-PARAMETER><PERCENT-GOTO>[N]H&	        1) <PERCENT-GOTO>[N]H&
Answer 1, 2, 3, or 4.[N]H&Control-V is the <PICK> command.[N]H&"4H&$Control-T if the <ROLL-FORWARD-LINES> command.[N]H&*3H&+Control-G is the <PUT> command.[N]H&02H&11)H&31H&4        4)Control-V[N]H&8        3)Control-T[N]H&;        2)Control-G[N]H&?        1)Control-P[N]H&BThe <PERCENT-GOTO> command is:[N]H&Ganswer which you think is correct.[N]H&L     For the following questions, give the number of the[N]H&Stest of the commands you've learned so far.[N]H&Y     Before ending this lesson, let's have a quick review[N]H&`======[N]H&bREVIEW[N]H&d[N]Push RETURN to continue               [N]H&i [4N]Good! You got it!                                           H&qquick brown fox jumped over the lazy dogH&v"[9N]Give the <PUT> command after you give the parameter              H&~[9N]<PUT> command is control-G.                            H'[9N]Control-V is <PICK>.                                 H'
[9N]Insert a space after "quick".                       H'[9N]The word you are inserting is "quick".              H'[9N]Please use lower-case                                 H'![4N]No! The <ENTER-PARAMETER> command is the PF1 keyH''[4N]No! The <ENTER-PARAMETER> command is the BLUE keyH'.[NN]The brown fox jumped over the lazy dog.H'3](don't forget a space to separate it from "brown").H':[N]Using the <PUT> command, insert the word "quick" H'@ [N]In the sentence below, the cursor is before the word "brown".H'Hstring will be inserted at the new location.[N]H'N#put it somewhere else you can move there and type <PUT> and the same[N]H'V#     Furthermore, the editor remembers the string, so if you want to[N]H'_string is inserted where the cursor is.[N]H'd#This has the same effect as opening spaces and typing over them. The[N]H'm$where <string> is whatever you want to insert and <PUT> is control-G.[N]H'u        <ENTER-PARAMETER><string><PUT>[N]H'{to insert text is to use the <PUT> command. Type[N]H(#(control-B) and then typing over the hole. However, the easiest way[N]H(	#(numeric keypad ENTER) or by opening up a hole using <INSERT-SPACES>[N]H(!     You already know how to insert text by using <INSERT-MODE>[N]H(======================================[N]H(Inserting text in the file using <PUT>[N]H(%That was just fine! Keep up the good work.H(*[N]Please push return to continue               [N]H(1 [N]                                                              H(8 [NNNNN]                                                          H(@In the midst of his laughter and glee,H(E[N]Please try over from the beginningH(J[N]You don't need a parameter.                            H(Q[N]<PUT> command is control-G                             H(X[N]Please try over, from the beginning.         H(^[N]Control-V is <PICK>.                                      H(e[NNNN]                                                        H(m[N]Please try over, from the beginning.H(r[N]To replace deleted lines, type <ENTER-PARAMETER><PUT>H(y[NNNN]                                                     H)In the midst of his laughter and gleeH)[N]To position cursor type a <RETURN> or down arrow          H)
[NNNNN]                                                   H)[N]Please try over.                              H)![NNNNNNN]Just type the <DELETE-LINES> command.                    H)![NNNNNNN]<DELETE-LINES> is control-F.                          H))[N]Please try over.                             H)/[NNNNNNN]Control-D is <INSERT-LINES>.                          H)6[NNNNNN]You don't need a parameter.                         H)=[N]For the snark WAS a Boojum, you see.H)B[N]He had softly and suddenly vanished away,H)H[N]In the midst of the words he was trying to say,H)N[NN]In the midst of his laughter and glee,H)S[N]      2) put it back, after the second line.H)Y[N]line. 1) Delete the first line, and H)^[N]The cursor is positioned at the beginning of the firstH)e]In the text below the first two lines are reversed.H)l!<ENTER-PARAMETER><PUT> to move lines from one place to another.[N]H)tto duplicate lines from your file; use <DELETE-LINES> and[N]H){writes the delete buffer. Use the <PICK> and <PUT> commands[N]H*!buffer. <PUT> writes the pick buffer and <ENTER-PARAMETER><PUT>[N]H*
#     Thus, <PUT> is the command which writes out the pick or delete[N]H*the <PUT> command (without the <ENTER-PARAMETER>).[N]H*!insert the lines back in the file, position the cursor and issue[N]H*!!<DELETE-LINES>, the parameter is the number of lines to pick. To[N]H*)#but not affect the file, use the <PICK> command, control-V. As with[N]H*1#     To pick up lines of the file, that is, to load the pick buffer[N]H*9where the <PUT> command is control-G.[N]H*>        <ENTER-PARAMETER><PUT>[N]H*Bwant the lines inserted, and typing:[N]H*G"lines back in the file by positioning the cursor at the point you[N]H*O"Its parameter is the number of lines to remove. You can put those[N]H*W"     You have already seen the <DELETE-LINES> command: control-F.[N]H*_#The contents of either buffer can be inserted anywhere in the file.[N]H*g"loading it into the pick buffer without changing the edited file.[N]H*o"the file and putting it in the delete buffer; "picking" text means[N]H*w"buffer and the pick buffer. "Deleting" text means removing it from[N]H*"     SED has two buffers which hold text from the file: the delete[N]H+===============================[N]H+
Copying or moving lines of text[N]H+![N]Ok. The cursor is now at the last occurrence of the search-key.H+[8N]H+[9N]Give the <SEARCH-BACKWARD> command                         H+![9N]<SEARCH-BACKWARD> command is control-E                  H+([N]Please try over                    H+-[9N]Type the <SEARCH-BACKWARD> command             H+4[NN]H+5[NN]Please try over                    H+:[8N]You don't need to reenter the parameter        H+A]so you don't need to enter it again as a parameter.H+G[N]already searched for that word once beforeH+M[N]the word "snark". Keep in mind that you haveH+S[NN]Now you must try to find the last occurrence ofH+YGood! You are now at the end of the file.H+_ [15N]Give the command after you type <ENTER-PARAMETER>          H+fGive the command to go to the end of the file.H+l[15N]<PERCENT-GOTO> command is control-P                     H+t[15N]You don't need a parameter.                             H+{Give the command to get to the end of the file.H,[14N]No! The <ENTER-PARAMETER> command is the PF1 keyH,]No! The <ENTER-PARAMETER> command is the BLUE keyH,	[N]Try to do this.H,[N]of the file, and search backward.H,[N]occurrence of "snark". So you should go to the endH,]the word "snark", and now you want to find the lastH,#[NNNNNNN]You have just found the first occurrence ofH,*[N]Push RETURN to continue            H,/[N]Ok. The cursor is now at the first occurrence of "snark".H,6[NNNNN]H,8[6N]Give the command after you give the parameter              H,?[6N]<SEARCH-FORWARD> command is control-R                  H,F[6N]Control-E is <SEARCH-BACKWARD>.                 H,M[5N]Searches are case-dependant: use lower-case        [N]H,T]The word you are searching for is "snark".         H,Z[NNNNN]Searches are case-dependant: use lower-case        [N]H,b[6N]No! The <ENTER-PARAMETER> command is the PF1 keyH,h[6N]No! The <ENTER-PARAMETER> command is the BLUE keyH,o[N]You want to find the first occurrence of the word "snark".H,vPretend you are in SED, and this is the beginning of the file.H,~to type.[N]H-!to make sure you didn't get an error message, before continuing[N]H-!react after each of your keystrokes. Watch after each keystroke[N]H-      The next question is difficult. Give the terminal time to[N]H-      The search parameter is shared by both <SEARCH> commands.[N]H-at the start of the previous occurrence of <text-string>.[N]H-&beginning (if necessary), and the cursor will be positioned[N]H-.!case, the file will be searched from the cursor position to the[N]H-6!the start of the next occurrence of <text-string>. In the second[N]H->!to the end (if necessary), and the cursor will be positioned at[N]H-F$In the first case, the file will be searched from the cursor position[N]H-N"<SEARCH-FORWARD> is control-R, and <SEARCH-BACKWARD> is control-E.[N]H-V where <text-string> is your search key (without the brackets),[N]H-^        <ENTER-PARAMETER><text-string><SEARCH-BACKWARD>[N]H-eor[N]H-f        <ENTER-PARAMETER><text-string><SEARCH-FORWARD>[N]H-m     You can search for any text string by typing[N]H-t========[N]H-vSearches[N]H-y[NNNNNNNNNN]H-{'   *** This FENCE marks the last page of the file but is NOT a part of it ***  H.[N]the file, it will be typed in reverse video.H.
[N]endeofatheofile.eToshowthatit'sNnotNpartvofH.[N]screenuindicatingEthatRyouThave[reached]theH.[N]SEDEputsToutTa>messagedatsthenbottomboftheH.[NN]NotethatNwhen]younare'atntheendaofmtherfileH."ThisnisthetextlocatedNat]thesendsofNthe-file.H.(ndtis thenPF1keyH.J[NNNNNN]No!The[<ENTER-PARAMETER>ocommandnisethehBLUExkeyH.Qz[N]or delete lines in the file.H.~[N]The 75% point will not change until you addH/[N]when you issued the command.H/	[N]Note that it does not matter where you wereH/[N]seventy-five percent through the fileH/This is the text which is located at the pointH/Give the command after you give the parameterH/in the parameter.H/"You should not put a percent sign (%)H/'<PERCENT-GOTO> command is control-P.H/,The parameter you want to enter is the number 75   H/3[N]Please try over, from the beginningH/8The parameter you want to enter is the number 75.H/>are commands for SED, not charactersH/C[N]H/DKeep in mind that the numerical keypad keysH/J[4N]H/K>H/M[N]Please try over.                    H/RNo! The <ENTER-PARAMETER> command is the PF1 keyH/XNo! The <ENTER-PARAMETER> command is the BLUE keyH/^[6N]H/[N]What command do you give to SED?H/d[N]You want to get 75% through the file.H/iPretend you are in SED, and this is the text of the file.H/p
withnoiparameter.[N]H/sThatris,fjustttheeBlue[orHPF1key,and theacommandt(CTRL-P),[N]H/{H0<ENTER-PARAMETER><PERCENT-GOTO>[N]H0for the[endofthefile,bwhichiisttontype:[N]H0theeenddofftheefile,HthereisahshorthandUwayrofFasking[N]H0L-P>.[N]H0+        <ENTER-PARAMETER>50<PERCENT-GOTO>[N]H00you would give the command:[N]H04that is, fifty percent (50%) through the file,[N]H0:For example if you want to get half way through the file,[N]H0Aa file by using the <PERCENT-GOTO> command: Control-P.[N]H0H     You can get to a given percentage of the way through[N]H0O=====================================================[N]H0VMoving a given percentage of the way through the file[N]H0]
======================[N]H0|
Purpose of this Lesson[N]H1	in the lessons.[N]H1read it until you're comfortable with the commands you learn[N]H1
"readstheodocument?DOC:SED.DOC,butitdis'notnrecommendeduthatsyou[N]H1IfSyouwantto[learnHtheZmorecomplicatedicommands,oyou[should[N]H1butswillegivebyoutenougheknowledge toDget youdstarted.[N]H1!fTheSEDTlessonsAdo'not giveryouoatcompleteodescription ofrSED,[N]H1(document]DOC:SEDMAN.DOCm(by ChristophereHall).[N]H1.Theotext1ofthisNlesson'isOtaken mostlyefromsthe[N]H15Wellthen,Spleasettry againiwhenwyou'reaontapMIMEorVT-100.[N]H1<nal and then pushing the RETURN button.[2N]H2-[N]IMPORTANT: You can interrupt the lesson at any time by typing the[N]single character "%"H2%Stockholm, Sweden, and the Old Dominion University Research Foundation.[N]H2%instruction  (CAI)  from  the  Research  Institute  of National Defense[N]H2"%This lesson was  produced  by  the  GNOSIS  system  for  computer  aided[N]H2+.[2N]H2,'H2.
No, you missed this one.H27You're mistaken.H2:
Thatywasn'twcorrect.H2=Sorry.H2?!H2EYouranswerwas wrong.H2Hng of it now.H2T
  Keep up the good work!H2X  Aren't you glad you kept trying?H2\
  You're making progress.H2`  There is hope for you after all!H2d
  I knew you could do it.H2h
  Yo've got the idea now!H2k	  You're improving!H2n
  Now you're catching on!H2r  You're doing better!H2uOK!H2wExcellent!H2yThat's it!H2{Well done!H2}Right!H2Exactly right!H3Bravo!H3Sure!H3Very good.H3Good for you!H3	SED03H3%H3
-->H3H3^H3 H3 GNOSIS will simulate an acceptable answer:[2N]-->H3
Just for the record,H3]Or...interrupt the lesson by typing the symbol "%".H3"[N](You might want to rethink some of your previous answers.)H3)[N]You have at least eliminated some of the possibilities.H30Please try again.H33%If you want to interrupt the lesson, then type the single character "%".[N]H3<??? You gave no answer at all.H3@"Eh?   The computer expected you would just push the RETURN button.[N]H3H[N]Push RETURN H3J[N]I must admit that last one was a bit tricky!H3P, H3RH3Sto the PREVIOUS '-->' or 'RETURN' prompt...[N]H3YPlease continue, then, giving your response[N]H3_
Lesson is backing.[N]H3bBACKH3d
Question skipped.[N]H3gSKIPH3hLesson aborted.H3kSTOPH3lor 'CONTINUE'.[N]H3o	, 'SKIP', 'BACK', H3rAnswer 'STOP'
4
&4,~xiSH?Can't open TTY
@
 ,~
@
 ,~""	b&+4/ B4$ " B4$ 44	d'+40,~
""	b&+4/ B42 45	d'+40
+.Ap0@
  Ap0@+4.
  Ap
,~
&45	`
&47	`
&49	`
 ,~4#42?TRMNO Didn't work?TRMOP Didn't workControl-C out 4= B4A[4<0B+4>	b 4<*4A@@4<+4A @4G  4; @. 4G-=4G<@+h+4JKEp-=4H<@zz h	`4@4Ta`+4T hl dX +@ h hl"`d4T+@+h
+4Wd-=4U<@-=	+@h Z0" "4f/$D4f=b4\Z 4c	`
&4gZ 4c 4l F4c+4_+ggHH4c?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+4oeVp-=4m<@-=	+@h Z0" "4~/$D4~=b4tZ 4{	`
&4Z 4{ 5 F4{+4w+INXHH4{?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+5i&v
Vh+h+55<@-=	+@h Z0" "5/$D5=b5Z 5	`
&5 Z 5 5% F5+5+GHggHH5?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+5(aV-=5&<@-=	+@h Z0" "5:/$D5:=b5-Z 54	`
&5;Z 57 5@ F57+50+aVggHH54?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+5Cd-=5A<@-=	+@h Z0" "5Q/$D5R=b5HZ 5N	`
&5RZ 5N 5X F5O+5K+ggHH5O?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:gS< \. N5q @5q R5rS"2(B $S* 5y 5y@)@. @. @=d5^ J5j J5l  5i	`+5f .X<5n+  5l	`+5h+5d
&5s	b+5cggINX05X3t 22
?ALGOL object time system ALGNNN.SHR not found
+$:5v`+pG?@h-=5{>xx?@hP+@h D` % 6 . ?Bh+6
2ph h<B6
 1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