-
-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cygwin commands launched in cmd have wrong new line handling #2059
Comments
Reverting to Cygwin v3.0.7-1 solved the problem |
Has anybody reported this to cygwin? I don't know how to search their bug reports, but it's still an issue with their latest snapshot (from 3 days ago). |
It's probably worth noting, to address the comments in https://conemu.github.io/en/CygwinMsys.html, that this issue does not occur in a standard |
This has apparently been reported previously, in #1066. There is a fix for ConEmu, but apparently applying it would be tricky while maintaining compatibility with older Windows versions 😢 |
Looks like cygwin 3.1.4-1 (just released) fixes this. |
I can confirm it fixed in Cygwin 3.1.4-1 as well. |
Versions
ConEmu build: 191012 x32/x64
OS version: Windows 10 x64 ver. 1909 build 18363.592
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd
Problem description
When you launch a cygwin command from the cmd shell, the '\n' character used to go to a new line doesn't bring the cursor back to the left margin of the shell.
Some months ago everything was working properly. Probably and OS update caused the issue. The problem doesn't appear with previous Windows versions (tested on Windows 8).
Steps to reproduce
ls
andcat
commands will suffice);%CYGWIN_PATH%\bin\cat test.txt
or%CYGWIN_PATH%\bin\ls -la
Actual results
Every new line will start with an offset equal to the previous line length. I.e.
cat
will produce:and ls -la will produce something like
Expected results
Expected results are
and
Note that the command
type test.txt
will produce the correct output. Also, launching the same cygwin commands from a native cmd shell (outside ConEmu) produces the correct output.The text was updated successfully, but these errors were encountered: