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+a+TckD34-=h-=Q7@&V+W,x<@ &`0V+Z,x<@+a &Y0V+g,T<@+`gl\=q
v@-=h-=],'s<L+a+fckD34-=h-=c7@&V+i,x<@,&Y0V+u,T<@+ogl\=q's<L+,1`..&l ,~,'s<LN
+uGD54-=h-=+uGD64-=h-=+uGD64-=h-=+!uGD74-=h-=+&uGD74-=h-=#+*uGD84-=h-='+/uGD84-=h-=,+3uGD94-=h-=0,'s<L,'s<Lx+{+<K:%yVKO{M-=h-=8,'h<L,'s<Ls,(!<Lh&Z`,'s<Ln,(!<Lh&Z`,'s<Lk,(!<Lh&Y`,'s<Ld,'h<L,'c<L,9<@`,'s<L`,9<@`,'s<L]&h&.-=1@+W,'s<L&-,'s<L&h,'s<L[-=	+hH\!H^	[2N]Have a nice dayHaLeaving the lesson "TOPS9T"...[N]He questions your answer was right on your very first try.[N]Hl times.[N]OnHo questions,[N]and you gave the right answerHtDuring the lesson "TOPS9T" you answeredHyfrom this point.  It is going all the way back to the start.[N]H!NOTE:  The backing procedure is unable to go back just ONE step [N]H			the text at the pointer.[N]H
understand why!!![N]HKbe done with the TECO command string "L1XAKLGA$$". Try to[N]HR" and want to get the lines in alphabetical order. This can[N]HZBBBB[N]H\CCCC[N]H^"AAAA[N]H`
You have the text[N]HcExample:[N]Hefile again by writing "Gi" where i is the Q-register name.[N]HmYou can then move the contents of the Q-register back to the[N]Htn is the number of lines to insert and i is the name of the[N]H|#To insert text from the file into a Q-register you write "nXi" where[N]H=================================================[N]HUsing Q-registers to store and move text segments.[N]HMM$$[N]HThe correct answer is "MM$$".[N]HA hint: Use the "M" command of TECO.[N]HYour answer is right except for the extra characters in it.[N]H$is stored in the Q-register. Do not write any "*".[N]H+#The "*" is used to store something in a Q-register, not to use what[N]H3does nothing.[N]H6!Why did you write one but not two ESCAPEs? That ESCAPE in itself[N]H>MMH?MMHA	in Q-register M.[N]HDWhat do you write to execute a command string which is saved[N]HKAnd if you want to execute the command string once more.[N]HRwere a little too easy for you...[N]HWYou are a tough man (or woman). I think that these questions[N]H_"This is a very difficult lesson, but you are clever and stubborn.[N]Hg*M$$[N]HiThe correct answer is "*M$$".[N]HmFirst write "*" and then the name of the Q-register.[N]HtA hint: Use the "*" command of TECO.[N]HyYour answer does not contain the Q-register name "M".[N]HMH%You only need write the Q-register name "M" once in your command string.[N]H
MMH*MHwritetosavedithinpQ-registerlM?[N]HNowgyou]knowthatyouswantnto execute.that commandystring[N]Hn with,[N]H+Yes, this is a very difficult exercise when TECO[N]H2"BEGIN".[N]H4!First you write "NBEGIN$" to find the next occurence of the word[N]H<by the string "BEGIN" that you are searching for.[N]HC!To search for "BEGIN" you write the search command "N" followed[N]HK"You forgot the ESCAPE after "BEGIN" to finish the search request.[N]HSto the end of the previous line.[N]HW and then move backwards past the LINE FEED and CARRIAGE RETURN[N]Hwill first move to the beginning of the next line ("L")[N]Hfuse a search command. Instead, you simply write "L2R" which[N]HmThe shortest way of finding the end of the line is not to[N]HtNBEGINHv!FEED which are always found between one line and the next line.[N]H~ and then move past the two characters CARRIAGE RETURN and LINE[N]H!to move to the beginning of the next line with the "L" command,[N]HA simple way of finding the end of a line is[N]HNBEGINHnext line to the end of the previous line, you write "2R".[N]HTo move two characters backward, from the beginning of the[N]H%NBEGINLH'text comment by writing "ICOMMENT$".[N]H,!After putting the pointer at the end of the line you insert the[N]H4NBEGINL2RH6You forgot the ESCAPE after "ICOMMENT".[N]H;	NBEGINL2RICOMMENTH>$After "ICOMMENT$" you write "0T" to print the line up to the pointer.[N]HG	NBEGINL2RICOMMENTHJAfter "0T" you should write the two final ESCAPES.[N]HP
NBEGINL2RICOMMENT0THTinstead.[N]HV"for the found string, which was not required. Use the "N" command[N]H^!Do not use the "FN" command. That command substitutes something[N]Hf!possible TECO command string, you should use "0T" and not "0TT".[N]Hnand "0T". But since you were asked to write the shortest[N]Huof a line, you can print the whole line with both "0TT"[N]H|Therefore, if you know that the pointer is at the end[N]H"0T" means print the current line up to the pointer.[N]H
"0TT"wmeansBprint.thewholecurrentaline.[N]H0TTHcommandiyet,cIswill)askyoutodothattlater.[N]H"Domnot insert thedcommandostringgintoanyQ-registerMwith[the"*"[N]H*Htbe used.[N]H#!"N"ttoesearchskipping page boundaries. In your case, "N" should[N]H+ The "S" search command is used to search within a page and the[N]H2SBEGINH4write %.[N]H7!To skip to the end of a line, write L2R. To skip this question,[N]H?H@%but I accept that answer, since I intended to ask you to do that later.[N]HI#I did not ask you to insert the command string into Q-register "M",[N]HQ*MHRNBEGINL2RICOMMENT0THVInclude the two final ESCAPES in your answer.[N]H\d) Print the line up to and including the inserted word.[N]Hcc) Insert the text "COMMENT".[N]Hgb) Move to the end of the line in which "BEGIN" was found.[N]Ho
Every time thereafter, when you search through the file for[N]Hif you had written "NERROR$0TT$$" once more.[N]Hthe TECO command string in Q-register M, that is exactly as[N]HThe next time you just write "MM$$" which means "execute[N]H&"*M" to store this command string in the Q-register M.[N]H-"NERROR$0TT$$". Immediately after that you write[N]H4 the word "ERROR". The first time you write the command string[N]H;"Example: You want to look, one at a time, on all lines containing[N]HCQ-register.[N]HFexecuting the command string that you want to store in the[N]HMwrite "*" followed by the Q-register name, immediately after[N]HU!If you want to store a TECO command string in a Q-register, you[N]H]===================================[N]HbMacros = saved TECO command strings.[N]Hgthan one place in the text.[N]Hk"in the text to another place, or which you want to insert at more[N]Hs b) To store text in them which you want to move from one place[N]Hzwant to execute many times.[N]H~a) To store a complex TECO command string in them which you[N]HTwo common uses for Q-registers are[N]Heither one of the letters A-Z or one of the digits 0-9.[N]Hare called Q-register and they have one-character names:[N]H in which you can store information for later use. These cells[N]H  TECO like most other programming languages has variable cells[N]H(======================================[N]H-Q-registers for temporary data storage.[N]H3<Nelse$0t;t>[N]H5in it, and then you write a "T" command to print that line.[N]H=Inside < > you first put "NELSE$" to find a line with "ELSE"[N]HDno more "ELSE" can be found in the text.[N]HJAfter finding "ELSE" you write ";" to leave the loop when[N]HQNELSEHS
witht"ELSE" in it.[N]HVAfterA"NELSE$;"tyouewritet"0TT"itoaprintsthe wholeeline[N]H]NELSE;HTyouMwant toTdo many.times.[N]Hc!loop,sthateis surroundingdthatcparteofhtheecommandHstring which[N]Hk"There are no loop brackets, "<" and ">" surrounding the iteration[N]Hssubstitute anything this time.[N]HxUse the "N", not the "FN" command, since you do not want to[N]HFNH program going into an infinite loop.[N]H !You forgot the ";" after "NELSE$" which is necessary to stop the[N]H <NELSE0TT>H the next "ELSE" in the text.[N]H !will find the same "ELSE" again infinitely, instead of moving to[N]H "the pointer at the beginning of the line, the next loop iteration[N]H %"0LT" will print the whole line. But since the "L" positions[N]H ,0LTH .<NELSE0TT;>H 0<NELSE0TT;>H 3<NELSE;0TT>H 5<NELSE;0TT>H 8<NELSE0T;T>H :<NELSE0T;T>H =line is to be output to the terminal.[N]H B Every time that the word "ELSE" occurs in the text, the whole[N]H Ithe whole text file from the pointer to the end of the file.[N]H Q!Write the shortest TECO command string which will search through[N]H YYou are doing fine![N]H \"HAPPINESS".[N]H  of the whole text file and change every occurence of "WORK" to[N]H f Example "<FNWORK$HAPPINESS$;>$$" will search through all pages[N]H nwhich stops the loop at the end of the text file.[N]H tloop to stop it. One common such command is the ";" command,[N]H | infinitely. However, there are commands you can put inside the[N]H! loop brackets. If there is no such number, the loop continues[N]H!You do not have to put any number at all in front of the[N]H!8<c i $>[N]H!skip one character and then insert a blank.[N]H!You must make a loop eight times, and in each iteration[N]H!!Your answer did not include any loop bracket pair "<"...">".[N]H!)$using the "C" command, then you insert a space using the "I" command.[N]H!1#Inside the loop, you do two things. First you advance one character[N]H!9 You forgot the ESCAPE ending the parameter to the "I" command.[N]H!AWrite "8" in front of "<" since you should insert 8 spaces.[N]H!H<CIH!JNH!Kthe "C" and "I" commands of TECO.[N]H!P There is no need to use a search command. You only need to use[N]H!XSH!Y	command string.[N]H!\You can therefore write "C" instead of "1C" to get a shorter[N]H!d If there is no integer number before "C" then "1" is default.[N]H!k>H!m1CH!n8H!p>H!q>H!sIH!t8<CH!v
5<FSmotorcar$dangerous vehicle$>$$[N]H"once.[N]H" Put them around the command which is to be executed more than[N]H""You did not include any loop brackets "<" and ">" in your answer.[N]H"#substitution string.[N]H"&ends the search string, and the second "ESCAPE" ends the[N]H"-There should be two "ESCAPE"s after "FS". The first "ESCAPE"[N]H"5H"6the search string and substitute the substitution string.[N]H"= "FS... search string ...$... substitution string ...$" to find[N]H"EUse the "FS" command. The format of that command is:[N]H"KFSH"MThere is no left bracket "<".[N]H"Qthen you should use the loop-brackets "<" and ">".[N]H"X"If you want to repeat the same TECO command string more than once,[N]H"`There is no right bracket ">".[N]H"ddigit five("5") in front of the "<".[N]H"i"Since you should make the same thing five times, you should put a[N]H"q<H"s"to find the word "MOTORCAR" and change it once in each iteration.[N]H"{(Between the brackets, write the command string "FSMOTORCAR$DANGEROUS VEHICLE$"[N]H#>H#5<H#There must be an ESCAPE before "DANGEROUS VEHICLE".[N]H#VEHICLEH#$DANGEROUSH#You forgot the ESCAPE after "VEHICLE".[N]H#VEHICLE>H#"You should not include any double apostrophe ('"') in your answer.[N]H#!"H##If you want to skip this question, then write "%" first.[N]H#*VEHICLE>H#,5<FNMOTORCARDANGEROUSH#/VEHICLE>H#25<FSMOTORCARDANGEROUSH#5 occurences of "MOTORCAR" and change it to "DANGEROUS VEHICLE".[N]H#=Write the shortest TECO command string to find the next five[N]H#D"this  text  line,  change the line to:"[N]H#J"this text line, change the line to:"[N]H#OThus, the command example above will, if it is applied to[N]H#V
changedctoetwo spaces.[N]H#YthreeTtimes.Oncein each iteration, a space is found and[N]H#` TECO to execute the command string inside the "<" ">" brackets[N]H#hExample: "3<FS $  $>$$" indicates a loop. The number 3 tells[N]H#ostring and finally the character ">".[N]H#t A loop consists of a number, the character "<", a TECO command[N]H#|=================================[N]H$Writing iterative loops with TECO.[N]H$more than once if you use a loop.[N]H$ You do not have to type in the string of the same TECO command[N]H$%if you want to do the same editing action at several places in the text.[N]H$#The simplest case of a program is a loop. A loop in TECO can be used[N]H$#in general go beyond the scope of this introductory course.[N]H$+"write executable text editing routines. However, such capabilities[N]H$3TECO is in reality a programming language in which you can[N]H$:==============================[N]H$?TECO as a programming language.[N]H$C [NT](3) 'BACK' to return to the previous question (or text).[2N]H$K[NT](2) 'SKIP' to move on to the next question (or text); orH$R[NT](1) 'STOP' to end the lesson immediately;H$WGNOSIS will then explain how you can typeH$] on your terminal and then pushing the RETURN button.[2N]H$d-[N]IMPORTANT: You can interrupt the lesson at any time by typing the[N]single character "%"H$n%Stockholm, Sweden, and the Old Dominion University Research Foundation.[N]H$w%instruction  (CAI)  from  the  Research  Institute  of National Defense[N]H$%This lesson was  produced  by  the  GNOSIS  system  for  computer  aided[N]H%.[2N]H%	'H%
No, you missed this one.H%You're mistaken.H%
Thatywasn'twcorrect.H%Sorry.H%!H%"Youranswerwas wrong.H%%ng of it now.H%1
  Keep up the good work!H%5  Aren't you glad you kept trying?H%9
  You're making progress.H%=  There is hope for you after all!H%A
  I knew you could do it.H%E
  Yo've got the idea now!H%H	  You're improving!H%K
  Now you're catching on!H%O  You're doing better!H%ROK!H%TExcellent!H%VThat's it!H%XWell done!H%ZRight!H%\Exactly right!H%^Bravo!H%`Sure!H%bVery good.H%dGood for you!H%fTOPS9TH%h%H%j-->H%kH%m^H%n H%p GNOSIS will simulate an acceptable answer:[2N]-->H%v
Just for the record,H%y]Or...interrupt the lesson by typing the symbol "%".H%[N](You might want to rethink some of your previous answers.)H&[N]You have at least eliminated some of the possibilities.H&Please try again.H&%If you want to interrupt the lesson, then type the single character "%".[N]H&??? You gave no answer at all.H&"Eh?   The computer expected you would just push the RETURN button.[N]H&%[N]Push RETURN H&([N]I must admit that last one was a bit tricky!H&., H&/H&0to the PREVIOUS '-->' or 'RETURN' prompt...[N]H&6Please continue, then, giving your response[N]H&<
Lesson is backing.[N]H&@BACKH&A
Question skipped.[N]H&DSKIPH&FLesson aborted.H&HSTOPH&Jor 'CONTINUE'.[N]H&M	, 'SKIP', 'BACK', H&PAnswer 'STOP'XINXi?6:gfh(igS< \. N' @' R'S"p(B $S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