UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ADB: long text in bash command line does not wrap

    Scheduled Pinned Locked Moved Unsolved Support
    3 Posts 3 Posters 459 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • Y Offline
        ygrex
        last edited by

        Hi,

        After adb shell if I type a long command, cursor goes to the left on the same line (overwriting things), then it goes lines up damaging text in a terminal buffer.

        I did not spend much on the issue but tried some guesses like resizing terminal emulator window somehow, export COLUMNS= LINES= reset, alternative shells (mksh, fizsh), but did not find anything useful yet.

        What do you use to comfortably type in commands through adb shell?

        AppLeeA lduboeufL 2 Replies Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @ygrex
          last edited by

          Hi @ygrex

          I won't answer your question as I don't use adb.
          I use SSH to connect to my phone within my network, so there is no setup or adjustment to be made and I have my regular setup in my regular terminal.

          1 Reply Last reply Reply Quote 0
          • lduboeufL Online
            lduboeuf @ygrex
            last edited by

            @ygrex said in ADB: long text in bash command line does not wrap:

            Hi,

            After adb shell if I type a long command, cursor goes to the left on the same line (overwriting things), then it goes lines up damaging text in a terminal buffer.

            I did not spend much on the issue but tried some guesses like resizing terminal emulator window somehow, export COLUMNS= LINES= reset, alternative shells (mksh, fizsh), but did not find anything useful yet.

            What do you use to comfortably type in commands through adb shell?

            That is something fixed on 20.04

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post