next up previous

1.6.4 view

Opens a file and places you in command mode similar to that of vi, but will not allow you to overwrite a file, or save changes you may make to the file as you normally would in vi while view-ing the file.

Example
view readonly.c
opens a file called readonly.c. You are now in command mode of the vi editor. However, you can only READ the file; you cannot make changes and save them in the same manner as in vi.