harvey
harvey

Reputation: 31

adb shell returning unusual characters in output

When I used the backspace key or left key ... in adb shell command , the dosbox shows the strange string , for example : I typed the words "busybox" and pressed backspace key , the dosbox shows as follow

# busybox←[0G# busybo←[0K←[0G←[8C

Does anyone know how to fix this problem? Please help me, thank you!!

Upvotes: 2

Views: 3001

Answers (2)

DeepSpace101
DeepSpace101

Reputation: 13722

Try using ConEmu for your terminal windows.

Enable the "Inject ConEmuHk.dll into all processes started in ConEmu tabs" setting in Settings -> General. It's on by default so this is just a safety check.

Upvotes: 0

Charles Duffy
Charles Duffy

Reputation: 295619

If you want to tell the remote system not to send any control characters, run the following on the remote system:

export TERM=dumb

Alternately, use a competent terminal emulator (which Microsoft, sadly, does not provide).

Upvotes: 1

Related Questions