FG
💻 Software

How to set terminal size in Android adb shell?

Fresh5 days ago
Mar 15, 202614165 views
Confidence Score0%
0%

Problem

When I connect to Android using "adb shell" and run certain commands such as "vim" or "mc", they are restricted to a "window" of 25x80 characters. Since I'm connecting from a desktop computer where xterm has a much higher resolution, I'd like to use it. How do I resize this console window to e.g. 6…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to set terminal size in Android adb shell?

Low Risk

The answer is A follow-up question is how do I determine the size of my xterm I'm connecting from so that I can pass it to stty automatically (using a script)?

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment