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,"8`bL4@+ 6 V%w,8`&L4@ +,#<@+
-=h++-=h7@%p+,P<@6LV%w,"8`-L4@+$6LV%w,"8`QL4@+$6LV%w,"8`bL4@+$6+V%w,8`&L4@!+$,#<@+"-=h++$-=h7@%p+&,P<@6LV%w,"8`OL4@*+46LV%w,8`&L4@.+4,#<@+1-=h,)\<LK+}+4-=h7@%p+6,P<@06+V%w,"8`OL4@:+C+6-V%w,8`&L4@>+C,#<@+A-=h+1+C-=h7@%p+E,P<@+6-V%w,"8`OL4@I+U+6,V%w,"8`bL4@M+U<6NV%w,8`&L4@Q+U,#<@+S-=h+1+U-=h7@%p+W,P<@-6V%w,"8`OL4@[+h,6<V%w,"8`bL4@a+h+6>V%w,8`&L4@c+h,#<@+f-=h+1+h-=h7@%p+j,P<@<6V%w,"8`OL4@n+z 6 V%w,"8`jL4@r+z 6 V%w,8`&L4@v+z,#<@+x-=h+1+z-=h7@%p+|,P<@ 6 V%w,"8`OL4@+
<Lh%u`,)\<L,*
<Lh%t`,)\<L,*
<Lh%t`,)\<L,)Q<L,)L<L,*K<L`,)\<L
,*K<L`,)\<L &%I-=1@+,)\<L%G,)\<L&,)\<L-= +hH !H
[2N]HavetaenicesdayH1"...[N]HHquestions=youroanswerwasErightTonHyourveryofirst[try.[N]Hitimes.[N]OnHtquestions,[N]andayoulgavettheErightanswerH!DuringOthe]lesson"SED01"youansweredH&fromhthisapoint.atIthisegoing allrthemwaydbacktothestart.[N]H-!NOTE:TETheRbackingprocedureXisRunablettosgo?backjustrONEstept[N]H5 give to the monitor to CREATE a file called[N]HzJust one more question before you go.[N]Hforward[N]HBACKWARDHFORWARDHDoes a CTRL-T move the screen forward or backward?[N]H
typingptheh<ROLL-FORWARD-LINES>ecommand:m<CTRL>tT.[N]H#N]Similarly,syouTcanyrollothesscreentforwardedaboutyo8dclinestaby[N]Hstartoftheefileiandbtypevthedcommandenothingnwill]happen).[N]H"#won'ttgorfartherothanothesbeginningoofetheefilet(so]ifyou'reatthe[N]H+#<ROLL-BACKWARD-LINES>willattemptrtotrollsaboutte8. lines,ecbutorit[N]H3#down,neand]lineswhichwerefNabovehathetscreentappeartatftheetop.[N]H<#following:linesndisappearefromSthe-bottom,othenremaininglinesNroll[N]HD#the <ROLL-BACKWARD-LINES> command:ed<CTRL>tW. lThisdcommand~does the[N]HM# You can get the lines above the viewing window back by typing[N]HUabove the viewing window.[N]HY#at the bottom. The top line has not been deleted; it is simply[N]Hb#line disappears, the other lines move up, and a blank line appears[N]Hj#carriage return the screen will roll one line. That is, the top[N]Hs# If you type on the bottom line of the screen and then type a[N]H{==================================================[N]HMoving the screen forward and backward in the file[N]Hshould know before trying to use SED.[N]H
*** INSERT MODE *** H[NNN]Use the keypad <ENTER> keyH[11N]If you are having trouble, type a "%".H
[NN] The brown fox jumped over the lazy dog.H[N]will ring a bell at each character you insertH[N]SED will tell you that you are in INSERT-MODE andH[N]<INSERT-MODE> command again to end the inserting.H%[N]Remember to put a space in after "quick" and to do the H,[N]at that position. Do this using the <INSERT-MODE> command.H3[N]in the sentence below. You wish to insert the word "quick"H;[N]The cursor is before the word "brown" (actually ON the "b")HBmode by giving the <INSERT-MODE> command again.[N]HH You can get out of insert mode and back into replace[N]HOshift to the right as you type.[N]HTbe inserted where the cursor is. The rest of the line will[N]H[you type, instead of replacing the ones in the file, will[N]Hbkey marked "ENTER" on the numerical keypad. Then, characters[N]Hjuse the <INSERT-MODE> command, which is given by typing the[N]Hq If you want to insert a word between two other words[N]Hx====================[N]H|Inserting Characters[N]His a good way to correct mistakes.[N]H" If there is already text there, it will be over-written. This[N]H
wantethe<textLtoEbe.[N]HearlieretotmoveuthercursoretontheflocationeonTthesscreendwhere[N]H!wherehthercursorpis.EUseAtheecursornmovementhcommandsrdescribed[N]H"secaToeput<textNintoEthe[file,Hjusttype it.mThestextrwilloappear[N]H(PuttingTTextcintonthe]File[N]H,1[N]H-4)H/4H03)H2Itwillonly)dealRwithcyourlcurrentTline.[N]H73H92)H:$<END-LINE>tcommand,okeypad 5,SisTwhataputsNyouat0theend)ofrthe3line.[N]HC"Thatdusedrto8beotrue,,inytheforiginalversionofSED,cbutBnowrthe[N]HK2HL1)HN1HO(Please givetthennumber ofxtheiappropriateresponse)[N]HV 4)TGoesMtomthesendeofuprevioustline[N]H[ 3)NGoesrtoathefbeginningrofrnextmline[N]H` 2)YGoesato themendeofetherline[N]He 1)cStaysVattheNbeginningNoftcurrentsline[N]Hjcursorhgoato?[N]HmNyouNpush,theanumericalgkeypadt"8",iwhereronwthedlinehwillthe[N]HurIfayounarematetheobeginning ofoatlinei(leftmostposition),and[N]H| thatiistmoveito the LEFT.diting) and the cursHr[NNN]Ht[NNNNNNNNNNNNN]GoodhWork!eI knewpyourcouldrdotit!Hz[NNNNNN]No,that'stwrong,mtrylagain.[N]H[NN]No,rthat'siwrong,ttryfagain.[N]H# The cursor is the blinking blot or dash that is always present[N]H
=================[N]H
Moving the Cursor[N]H!extension. This is a copy of the file as it was before editing.[N]H!!Note that SED also puts a backup file on your area with a ".BAK"[N]H)!Very good. The above text is what SED will write when you exit.[N]H1[N] STOP to end this lessonH6[N] SKIP to go to the next sectionH;Type BACK to try this question overH?No, that's wrong, try again.[N]HDType a character while holding down the CTRL key[N]HJNo! Use a CONTROL character![N]HONo. A control C will exit without saving the file[N]HU[NN]HWSAVING FILE: DSKB:MYFILE.FOR[[107007,3232]] (WITH BACKUP)[N]H^[N]--->H`$[N](Use the command, not it's name. The lesson will simulate a SED exit).Hh[N]What command do you give?Hl[N]your editing.Ho[N]OK. Now say you are in SED, and you want to exit, saving allHwto do would be to exit and try again.[N]H|!be created, but you will enter SED. At this point the best thing[N]H Note that if the file does not exist on your area, it will not[N]H SED MYFILE.FOR[N]H You should type SED MYFILE.FOR[N]H You forgot the extension. (.FOR)[N]H FORH You didn't type the file name[N]H
but you don't need it.[N]H !#Actually, you can use the equal sign for a file that already exists,[N]H )MYFILE.FOR=H ,MYFILE.FORH .SEDH /
called "MYFILE.FOR" ?[N]H 3$What command do you give if you want to edit a file on your disk area[N]H ;editing began, use the <ABORT> command, control-C.[N]H B# If you want to exit SED, leaving the file the way it was before[N]H Jin your file, use the <EXIT> command, control-Z.[N]H Q# If you want to exit SED, and save all the changes you have made[N]H YExiting SED[N]H \ SED file.ext=[N]H a If you want to create a file, type:[N]H gwhere file is the file-name and ext is the extension.[N]H n SED file.ext[N]H s$ If you want to edit a file that already exists on your area, type:[N]H |===========[N]H ~Running SED[N]H!character followed by some other character.[N]H!# You get an escape sequence by typing the "ESCAPE" or "ALTMODE"[N]H! keyboard. The editor understands special keys to be commands.[N]H!# Special keys are keys which are off to the side of the normal[N]H! example, to get a ^T press "CTRL" and "T").[N]H!&#down the button labeled "CTRL" and pressing a letter key (for[N]H!.#key, or an escape sequence. You type a control character by holding[N]H!7# You issue a command by typing a control character, a special[N]H!?tutorial.[N]H!A#Descriptions of the various commands make up the bulk of this[N]H!J#text, move the viewing window around, and search for items.[N]H!R#commands do such things as insert blank lines or spaces into the[N]H![#file, move the cursor around, and issue editor commands. Editor[N]H!c# You can do three types of functions with SED: put text in the[N]H!l==============[N]H!oTalking to SED[N]H!r"sliding".[N]H!t#"rolling" the window, and moving it left or right is called[N]H!}#file. Moving the window forward or backward in the file is called[N]H"$ The terminal screen is called the "viewing window" into the[N]H"moved forward, backward, left, or right over the file.[N]H"#all sides. Like the magnifying glass, the terminal screen can be[N]H"#per line, but the file may extend beyond the limits of the glass on[N]H"&#shows a certain number of lines and a certain number of characters[N]H".#terminal screen is like a magnifying glass held over the scroll: it[N]H"7#lots and lots of lines of text, one line after another. The CRT[N]H"?# SED thinks of a text file as if it were a scroll of writing -[N]H"H==========================[N]H"LThe Viewing Window Concept[N]H"P -how to move through the file.[N]H"T -how to insert and delete text, and[N]H"Y -how to move the cursor around,[N]H"^ -how to enter and exit the SED editor,[N]H"cconcepts of the SED editor. You will also learn[N]H"i In this lesson, you will be aquainted with the general[N]H"q
======================[N]H"t
Purpose of This Lesson[N]H"x in the lessons.[N]H"{read it until you're comfortable with the commands you learn[N]H#"read the document DOC:SED.DOC, but it is not recommended that you[N]H#
yIfayounwantVto1learn]themore8complicatedtcommands,nyouoshould[N]H#butwillgive#youenoughknowledgeto getTyou0started.[N]H#VTheSEDilessonsndoenotigivetyousarcompleteodescriptioneofoSED,[N]H#[documentDOC:SEDMAN.DOC'(by ChristopherhHall).[N]H#&The text)of2thislessonisNtaken mostly fromothe[N]H#-Wellothen, please tryagainwhenTyou'reSonPa MIMEnortVT-100.[N]H#4;H#rGNOSIS will then explain how you can typeH#x on your terminal and then pushing the RETURN button.[2N]H#-[N]IMPORTANT: You can interrupt the lesson at any time by typing the[N]single character "%"H$ %Stockholm, Sweden, and the Old Dominion University Research Foundation.[N]H$%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$2
Thatywasn'twcorrect.H$5Sorry.H$7!H$=Youranswerwas wrong.H$@ng of it now.H$L
Keep up the good work!H$P Aren't you glad you kept trying?H$T
You're making progress.H$X There is hope for you after all!H$\
I knew you could do it.H$`
Yo've got the idea now!H$c You're improving!H$f
Now you're catching on!H$j You're doing better!H$mOK!H$oExcellent!H$qThat's it!H$sWell done!H$uRight!H$wExactly right!H$yBravo!H${Sure!H$}Very good.H$Good for you!H%SED01H%%H%-->H%H%^H% H%
GNOSIS will simulate an acceptable answer:[2N]-->H%
Just for the record,H%[N]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%4??? You gave no answer at all.H%8"Eh? The computer expected you would just push the RETURN button.[N]H%@[N]Push RETURN H%B[N]I must admit that last one was a bit tricky!H%H, H%JH%Kto the PREVIOUS '-->' or 'RETURN' prompt...[N]H%QPlease continue, then, giving your response[N]H%W
Lesson is backing.[N]H%ZBACKH%\
Question skipped.[N]H%_SKIPH%`Lesson aborted.H%cSTOPH%dor 'CONTINUE'.[N]H%g , 'SKIP', 'BACK', H%jAnswer 'STOP'
&
&&,~xiSH?Can't open TTY
@
,~
@
,~"" b&+&& B& " B& &+ d'+&',~
"" b&+&& B&) &, d'+&'
+%Ap0@
Ap0@+&%
Ap
,~
&&, `
&&. `
&&0 `
,~&&)?TRMNO Didn't work?TRMOP Didn't workControl-C out &4 B&8[&30B+&5 b &3*&8@@&3+&8 @&> &2 @. &>-=&><@+h+&AKEp-=&?<@zz h `4@&Ka`+&K hl dX +@ h hl"`d&K+@+h
+&Nd-=&L<@-= +@h Z0" "&]/$D&]=b&SZ &Z `
&&^Z &Z &c F&Z+&V+ggHH&Z?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+&feVp-=&d<@-= +@h Z0" "&u/$D&u=b&kZ &r `
&&vZ &r &{ F&r+&n+INXHH&r?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+&~i&v
Vh+h+'GH-='<@-= +@h Z0" "'/$D'=b' Z ' `
&'Z ' ' F'+'
+GHggHH'?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+'aV-='<@-= +@h Z0" "'1/$D'1=b'$Z '+ `
&'2Z '. '7 F'.+''+aVggHH'+?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:+':d-='8<@-= +@h Z0" "'H/$D'I=b'?Z 'E `
&'IZ 'E 'O F'F+'B+ggHH'F?CANNOT FIND SPECIFIED PROGRAM, LOGS OUT INSTEAD
Y>=}:gS< \. N'h @'h R'iS"2(B $S* 'p 'p@)@. @. @=d'U J'a J'c '` `+'] .X<'e+ 'c `+'_+'[
&'j b+'ZggINX0'O%l 22
?ALGOL object time system ALGNNN.SHR not found
+$:'m`+pG?@h-='r>xx?@hP+@h D` % ( . ?Bh+(2ph h<B( 1. . h2p /9p( 0+( ( "& & 4B(. `,` $h ( '`-= +h`0g 6V!6 ZdxZQ$h$*d(P &x,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