Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 571 forks source link

autosub progress bar... #842

Open kyjelblue opened 8 years ago

kyjelblue commented 8 years ago

Versions

ConEmu build: 160724 x64 OS version: Windows 10 x64 1607 build 14393.82 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): msys2

Problem description

Python 2.7, Autosub(https://github.com/agermanidis/autosub) Progress bar is not working, See to below

mintty 2016-08-26_04-27-06

ConEmu 2016-08-28_01-44-44

Why is it so?

Maximus5 commented 8 years ago

Show the "Terminal modes" in the status bar. Attach the screenshot.

I suppose, that it's a python bug, incorrect use of WinAPI. Console doesn't allow to put cursor after the EOL without LF.

You may try cygwin/msys connector, if your python is build using cygwin/msys libraries (I doubt). Anyway, it's not a ConEmu problem.

kyjelblue commented 8 years ago

python 2.7.11(msys2) cygwin/msys connector 0.7.4 I'm sure it is in.

kyjelblue commented 8 years ago

@Maximus5 The ConEmu screenshot is fixed. XTerm mode.

Maximus5 commented 8 years ago

What is python2.exe? Full exe path? url of installer?

kyjelblue commented 8 years ago

@Maximus5 2016-08-28_03-03-09

jjeziorny commented 8 years ago

I have the same issue when ssh into a archlinux and use pacman, the progressbar keeps going down a line every new character

kyjelblue commented 7 years ago

@Maximus5 This issue is still valid for '161022'. I think it's a problem of cygwin/msys connector, but is it an bug that can't fix it?

Maximus5 commented 7 years ago

This is not a bug of connector. In fact, this is the problem of xterm emulation over conhost. It's not possible in RealConsole to put cursor after end of line, the cursor goes next line immediately and automatically. ConEmu tries to hack this issue, but your case was not processed yet.

ghost commented 7 years ago

I do have this issue as well when SSHing into an Archlinux machine and running Pacman. This has always been the case ever since I've started using ConEmu and I would really love to finally get this fixed.

Related ticket on the Msys bugtracker which points at ConEmu as the source of the issue: https://sourceforge.net/p/msys2/tickets/13/

tjtyrrell commented 7 years ago

I would also like to see this "fixed". Naturally it isn't anymore more than a "nice to have", but it would be nice to have :)

Maximus5 commented 7 years ago

What about build 170305?

ghost commented 7 years ago

Thanks, I'll give it a try when I'm back home near a Windows machine.

kyjelblue commented 7 years ago

@Maximus5 I'm sorry to report late. As a result, the previous does not appear and it works correctly. Thank you.

ghost commented 7 years ago

I'm afraid this does not fix it unless I'm using it wrong. I am using Cmder so I decompressed the 7z into vendor/conemu-maximus5 (where the Cmder's default ConEmu lives) and when go into About I do see that the version is the new one I just decompressed. Unfortunately running a pacman -Syu (on Archlinux) still shows the issue. Also tried with the latest development release and still no luck.

@kyjelblue would you mind telling me how are you using it - with cmder or standalone? And in which programs did you have the problem in the first place?

kyjelblue commented 7 years ago

@Rjevski My environment has already been mentioned above. :)

Equim-chan commented 6 years ago

I found something interesting. When I use zsh provided by MSYS2, the pacman prints good progress bar; but when I use ssh, which is also provided by MSYS2, to connect to a Arch Linux host, the pacman prints with the issue.

I'm using ConEmu 170910.

This might be related: https://github.com/Alexpux/MSYS2-pacman/issues/10