[Q] adb shell busybox vi? Should this work?

I want to edit with busybox vi running from the phone within an adb shell.

I am running a DOS box cmd window or a cygwin rxvt shell window, both don't work, where I connect to the phone with an adb shell. Then I run busybox vi. The vi runs but the default termcap or terminfo or whatever it is doesn't seem to be right because busybox vi comes up but I can't seem to get the ESC key to take so I can switch between command and insert modes of operation. On the phone it works correctly.

I hate editing on the phone. I would much rather work on the workstation.

I've read on a wiki busybox vi page that busybox vi only supports vt102. Any ideas if this should work or what I could try?

Thanks in advance.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by mbrakus
35 minutes ago
Last post by gharvey
2 hours ago
Last post by dorian46
4 hours ago
Last post by arvid13
1 hour ago
Last post by aurore.waelchi
55 minutes ago
Last post by chelsey.gusikowski
2 hours ago
Last post by clemens00
3 hours ago
Last post by bzulauf
54 minutes ago
Imo autosaving
Started by pdoyle
Last post by tevin94
1 hour ago
Last post by goodwin.edward
4 hours ago
Last post by katlyn29
1 hour ago