busybox vi problem modifying hosts

Discussion in 'Android Support' started by Ezn, Aug 26, 2011.

  1. Ezn

    Ezn New Member

    Joined:
    Aug 26, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Hi, I do hope this is posted in the right place.

    Device is Motorola Droid 2 Global

    it is permanently rooted with z4root

    Superuser.apk is installed

    Busybox 1.19 installed with Busybox Installer Pro

    I'm having a problem when I use vi to edit the hosts file, getting gobbledygook

    session is as follows:

    Code:
    C:\>adb devices
    List of devices attached
    0A3AAEC30802F021        device
    
    C:\>adb shell
    
    $ su
    su
    
    # mount -o rw,remount /dev/block/mmcblk1p21 /system
    mount -o rw,remount /dev/block/mmcblk1p21 /system
    
    # vi /system/etc/hosts
    vi /system/etc/hosts
    ~[999;999H←[6n←[1;1H←[J
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~←[1;1H←[24;1H←[K- /system/etc/hosts 0/0 100%←[1;1H
    
    Can anyone tell me what is up with the vi editor here?

    Thanks!
     
    #1 Ezn, Aug 26, 2011
    Last edited: Aug 26, 2011
Search tags for this page
“busybox vi” adb
,
adb vi
,
busybox host
,

busybox hosts

,

busybox hosts file

,
busybox how change etc hosts
,

busybox vi

,
busybox vi adb shell
,
using busybox vi
,
vi hosts android