• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. The TiVo Shell > 38. Text Editing with vi on Your TiVo

Text Editing with vi on Your TiVo

Nothing says text editing like vi, the default Unix editor.

When you think of text editing, you probably think Microsoft Word, Word Perfect, AppleWorks, BBEdit, Notepad, or the like. I’m afraid you won’t find any of these on your TiVo. In fact, about all you have at your disposal is the echo command we used to tack commands onto the end of TiVo’s rc.sysinit. While you can use echo to add new lines to the beginning or the end of a file, this command gets frustrating quickly when you want to add lines in the middle of a file, and it becomes nearly impossible if you want to alter a particular line.

For Unix geeks, nothing says text editing like vi or Emacs [Hack #39], but we’ll get that running in just a moment. A mainstay of just about any Unix system, the vi editor is small, lightweight, and packed with geek-worthy power and functionality.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint