1. Download our Official Android App: Forums for Android!

Root busybox vi commands

Discussion in 'Android Devices' started by robotobos, Sep 19, 2010.

  1. robotobos

    robotobos Newbie
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    18
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    18
    1
    36
    electrical engineer
    philadelphia
    hey all

    im trying to edit txt within busybox vi, but i need help with saving/exit

    im running it out of the terminal emulator, and have ctrl set up as <vol. up>,
    so i believe i need to do <vol up><sym><1> to enter command mode, but i cant seem to get typical vi commands to work (zz) for write/exit.

    ok if i get past that then i have mounted system as rw, but within the vi it says [read only]. will this be an issue? thanks!
     

    Advertisement

  2. robotobos

    robotobos Newbie
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    18
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    18
    1
    36
    electrical engineer
    philadelphia
    user error, wasn't including the ':' to initialize the command line.

    if anyone else needs a good reference,

    Basic vi Commands
     
  3. James84

    James84 Lurker
    Rank:
    None
    Points:
    25
    Posts:
    3
    Joined:
    Feb 18, 2012

    Feb 18, 2012
    3
    0
    25
    Director / Company Owner
    FYI, for anyone else stumbling across this thread this is an excellent source for vi commands hope that helps any other people struggling with the vi editor :)
     

Share This Page

Loading...