What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

busybox vi problem modifying hosts

Ezn

New Member
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:
Back
Top