← Back to team overview

ubuntu-phone team mailing list archive

Re: Any tips on getting more usable terminal settings with 'adb shell'?

 

Heh, thanks for googling that for me :)
Indeed that works, and for the record 'stty size' before you run adb shell
is one way to get the current size to then pass to the device.

-mike


On Thu, Nov 7, 2013 at 10:23 AM, Alan Pope <alan.pope@xxxxxxxxxxxxx> wrote:

> On Thu, Nov 7, 2013 at 6:13 PM, Mike McCracken
> <mike.mccracken@xxxxxxxxxxxxx> wrote:
> > When I use 'adb shell', I get full-screen programs' (such as emacs and
> > multitail) output wrapped to a tiny size.
> > Also, long shell commands are wrapped but no newline is inserted, so I
> end
> > up typing over the beginning of the command.
> >
> > I'm hoping there's a simple fix that someone with more term config
> > experience can offer up.
> >
>
>
> http://superuser.com/questions/350817/how-to-set-terminal-size-in-android-adb-shell
>
> stty rows 60 cols 156
>
> --
> Alan Pope
> Engineering Manager
>
> Canonical - Product Strategy
> +44 (0) 7973 620 164
> alan.pope@xxxxxxxxxxxxx
> http://ubuntu.com/
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References