Vi
From DVRpedia
VI is a text editor that requires the user know a series of keystrokes before being able to use it properly. The University of Hawaii has a useful vi reference page.
The basics of vi are as follows. Prior to editing a file make sure you tivo is in read/write mode (see above). To edit a file with vi at bash type vi <filename>. In vi it is important to remember that vi has 2 modes, insert mode and command mode.
- On start vi is in command mode, to enter command mode (or assure you are in command mode)press the escape key.
- to enter the insert mode from command mode press either a or i. use the arrow keys to navigate and enter text as needed.
- To delete text you must be in command mode. press x and the letter under the cursor is deleted.
- To exit WITHOUT saving, assure you are in command mode and type :q!
- To SAVE and exit, assure you are in command mode and type :wq