Open mikeoswego opened 8 years ago
Why do you report adb/nano bug here?
It is not an adb/nano bug. The problem only exists in ConEmu, not in stock windows cmd console (or ConsoleZ, Console2, etc.)
The problem occurs with both 132x43 80x25/24 ConEmu windows but not in stock windows console at any of those sizes. I have removed ConEmu (along with ConEmu.xml) and reinstalled.
I'm willing to perform further troubleshooting steps. I do understand that if the scenario I've indicated is overly rare that it may not be worth the devs time to troubleshoot this. Somehow, ConEmu is allowing scrollback buffer contents to be placed below the command line while running an app on a remote device via the well known adb interface. The app is not running in ConEmu the remote results are merely being displayed.
Please attach descriptive screenshots: before nano, with nano, after nano. StatusBar with Terminal Modes and console rect must be visible.
These shots were taken after removing conemu.xml to reset defaults and the only change in the default config is the color scheme and disabling CTRL-V in ConEmu so it is available for other uses. Screen-1 shows the initial opening of ConEmu with the "adb shell" command ready to execute. Screen-2 is after hitting enter to run "adb shell". The stock cmd console does not clear the screen and place the adb prompt at the first line. This is not objectionable but thought I'd mention the difference. Screen-3 shows the end of the multi-page output of "ls -la" from the remote device. Screen-4 shows nano being run on the remote device Screen-5 shows the screen after using ctrl-x to close nano on the remote device and then hitting the Enter key 5 times Screen-6 is after screen-5 but after scolling down with the mouse wheel Screen-7 is after exiting from adb and shows the ConEmu prompt with the scroll back buffer contents showing there as well Thanks for looking a little deeper and let me know of any further steps I can take to help.
I can't check that at the moment. Just two notes.
I've used adb in the windows cmd console for years and just recently tried using ConEmu. Here is the exact same sequence of screen shots as above but running cmd.exe outside of ConEmu:
And here are the same sequence of screenshots with "Terminal modes", "Console buffer size" and "Console visible rectangle" items enabled in the status bar:
Your link to nano is invalid (Invalid Attachment specified). Version of adb.exe was not specified.
Nano was updated yesterday to v2.7.0, (previous v2.6.3) here is the new link for TWRP flashable zip: [http://forum.xda-developers.com/attachment.php?attachmentid=3864969&d=1473023111] ADB is v1.0.35 problem is apparent on another box with ADB v1.0.32
Versions
ConEmu build: 160824 both x32/x64 OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd
Problem description
Using ADB shell and running nano on connected phone, nano clears screen and then after exiting nano, the contents of the ConEmu scrollback buffer are below the command input.
Steps to reproduce