busybox vi problem modifying hosts

Ezn

New Member
Joined
Aug 26, 2011
Messages
1
Reaction score
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!
 
Last edited:
Top