long lines error using adb shell

Bug #1648793 reported by Blade
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
New
Undecided
Unassigned

Bug Description

Device: BQ Aquaris M10 FHD Ubuntu edition

Using adb shell interface from a debian computer, when you write long lines (more than 80 chars more or less), the cursor is set at beginning of the same line, the next types overwrite the first part of your command.

This bug happens when the line is near 80 chars long despite the size of terminal window (i.e. even when there is enough free space to fit more chars in the same line)

The same effect happens when you uses the "up" key to select a previous long command.

Is very difficult to use a terminal from a laptop.

The terminal app in ubuntu store works fine.

Revision history for this message
dinamic (dinamic6661) wrote :

i know, right? very infuriating! i use stty to have more like rows and cols

something like this stty rows 130 cols 150

Revision history for this message
dinamic (dinamic6661) wrote :

i think i first "adb shell"
and then "stty rows 190 cols 190"

Revision history for this message
Blade (pulsarsource) wrote :

Thanks dinamic, the workaround helps a lot.

When you reach the end of your text window, it start to write on the next line but, if you wan to erase part of your command using the backspace key, when you reach the left border, the erasing stops.

Well, it's not perfect but helps a lot.

Regardless, I hope this problem will be take as a bug and fixed. The same laptop I'm using with the same adb binary works fine in other android devices.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.