5

I have an HTC Desire HD. When I connect to it with adb shell from Windows, the up and down arrow keys work fine and I get command history. But when I connect to it from Mac OS, the up and down arrows show up as ^[[A and ^[[B.

Is there a way to fix the mac OS terminal to work like the DOS one?

Thank you very much!

2

What shell is running on the phone? - You can find out with ps

I seem to remember having this issue a while ago (but haven't run in to it recently on my current phone) when logging in to plain sh, executing bash or ash immediately after connecting was a simple workaround

  • Thank you! This worked. There is no bash but there is ash. – user1491924 Oct 20 '12 at 1:11
0

I'm not a MAC user per say, but here's a solution reported working:

Type in terminal:

adb shell telnetd &
adb forward tcp:9999 tcp:23
telnet localhost 9999

Credits to the user alapapa @ xda-developers forum.

See the entire thread here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.