All of the work in this project is my own!  I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this project to others taking this class. I realize that the penalty for turning in work that is not my own can range from an "F" in the class to dismissal from Trinity University. I realize that the penalty for assisting others in their efforts to turn in work that is not their own can range from an "F" in the class to dismissal from Trinity University. 

                                                                                             Print Name  __________________________

                                                                                              Signature   __________________________
 


 
vi Editor Lab
Individual  Assignment
5 Points

           Set Netscape Margins [ Left = 1.0; Right = .2; Top = .5; Bottom = .5; Select Document Title,  Page Number, Page Total, & Black Text ] 

Don't just write in the answers! Practice each of these commands on and make sure that they work on the computer!


1] What is an editor? ______________________________________________________________________________

_______________________________________________________________________________________________

2] Name four of the six reasons we use the vi editor? ______________________________________________________

_______________________________________________________________________________________________

3] How to you start vi to edit a file, called Data.1? _________________________________________________________

4] We are in the command mode. How do you enter the insert mode at the cursor location? __________________________

5] We are in the command mode. How do you enter the insert mode at the end of the current line? _____________________

6] We are in the insert mode. How do you enter the command mode? __________________________________________

7] We are in the command mode. How do you delete the character beneath the cursor? _____________________________

8] We are in the command mode. How do you delete the cursor line? ___________________________________________

9] We are in the command mode. How do you delete the cursor line and the next five lines? __________________________

10] We are in the command mode. How do you save the changes in the file and exit the editor? _______________________

11] We are in the command mode. How do you discard the changes in the file and exit the editor? _____________________

12] We are in the insert mode. How do you save the changes in the file and exit the editor? __________________________

13] We are in the command mode. How do you move the cursor up one line? ____________________________________

14] We are in the command mode. How do you move the cursor down one line? __________________________________

15] We are in the command mode. How do you move the cursor right one character? ______________________________

16] We are in the command mode. How do you move the cursor left one character? _______________________________

17] We are in the command mode. How do you move to line 1 (top of file)? ______________________________________

18] We are in the command mode. How do you move to the bottom of the file? ___________________________________

19] We are in the command mode. How do you move to the next occurrence of the string "URL"? ____________________

20] We are in the command mode. How do you copy the cursor line and the next five lines to the clipboard?_____________

21] We are in the command mode. How do you copy the clipboard lines in before the current cursor line? _______________

22] We are in the command mode. How do you copy the clipboard lines in before the current cursor line? _______________

23] We are in the input mode. How do you terminate a line? _________________________________________________

24] List the two modes for the VI editor? _______________________________________________________________

25] We are in the command mode. How do you delete the character beneath the cursor and the next 5 characters. ________

25] We are in the command mode. We just accidentally deleted 12 lines. How do you undelete those lines? ______________

Good Extra Credit Options

26] We are in the command mode. How do you join the current cursor line with the next line? _______________________

27] We are in the command mode. How do you move forward one full screen? ___________________________________

28] We are in the command mode. How do you move backward one full screen? _________________________________



29] ] Those Labs labeled "Individual Assignment" are to be done separately by each individual. Using a pen,  each individual is to print print his/her name at the top of this document in the space provided and sign it.  Those Labs labeled "Team Assignment" may be done as a team or individually. Using a pen,  each individual on the team is to print print his/her name at the top of this document in the space provided and sign it. Submit only one copy of team assignments!

Include the following in your wire-band binder:

A] A divider

B] Copy of this assignment sheet. Print name and sign!