More Practice in Adding Lines
The next file you are going to change is the one that lists the ingredients for a picnic. Find that file on the FILELIST screen. Move the cursor to that line, and press PF11.
PICNIC INGREDTS A1 F 80 Trunc=80 Size=3 Line=0 Col=1 Alt=0
===== * * * Top of File * * *
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7...
===== A LOAF OF BREAD
===== A JUG OF WINE
===== THOU
===== * * * End of File * * *
====> _
X E D I T 1 File
a==== A LOAF OF BREAD===== ham6a=== ham===== cheese
===== hot dogs
===== mustard
===== pickles
===== olives
===== potato chipsYou have just remembered that there are also some unpleasant things found at picnics. You want to add them after the last line of the file. Press Enter to move the cursor to the large arrow command line.
Then enter:
====> b (short for BOTTOM)
Enter:
====> i (short for INPUT)
warm orange soda
hot iced tea
ants
sunburnLooking at the list, you decide that two of the most important ingredients for a picnic are missing. You want to add them at the top of the list, before A LOAF OF BREAD. You are going to enter a command, so you must get out of input mode and back into edit mode. (Remember, you cannot enter commands from the command line in input mode.) Press Enter twice to re-enter edit mode.
====> top===== friendly companions
===== pleasant surroundingsNow you have all the ingredients you need for a perfect picnic. But wait, you just got a phone call. It seems that Thou cannot come to the picnic after all. Also, you learn that the picnic area where you plan to go will not allow the consumption of wine. To make your file up to date, you must delete some lines. To learn how, read on.