Skip to content
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

Windows 10 compatibility issues #478

Closed
fabianlupa opened this issue May 17, 2015 · 12 comments
Closed

Windows 10 compatibility issues #478

fabianlupa opened this issue May 17, 2015 · 12 comments

Comments

@fabianlupa
Copy link

I am using cmder on several systems, on Windows 7 and 8.1 it is working fine, on 10 (10074) I got some problems. I am not sure if you are supporting Windows 10 as of yet as I did not see a system requirements section anywhere.

Terminal is not fully functional

Using any git command that uses bash's diff I get this warning:
image
I can press enter and the command will execute normally.

I looked around this issue tracker and found quite a few issues related to this ( #50, #25 ). Using the suggested solution to set TERM=xterm did not resolve it though. I both set TERM in my systems environment variables and using the init.bat.
image

Git-Bash works fine by the way...
image

Virtual console size

Another issue is that it seems as if the virtual scrolling lists (I don't know the actual term) do not know the size of the terminal. So if I am in a "scrollview" where I can normally scroll with arrow up/down and exit with q the content will just flicker for a moment and reset to the position before I pressed an arrow key. To me it seems as if the command thinks the console screen is large enough to display all the content, therefore scrolling is not allowed.
I can still scroll through it using Ctrl+Up/Down or the scroll wheel by using cmder's bufferscrolling and there I can see the full content is loaded into the buffer, not just what would be visible without scrolling.

This seems to be not limited to scrolling lists as you can see here running htop using ssh just freaks out.

cmder Win10
image
cmder Win8.1
image

I am using the same configuration on all three systems (I manage them using git) so that should not be a factor.

@MartiUK
Copy link
Member

MartiUK commented May 19, 2015

Are you having issues with the newest version?

@fabianlupa
Copy link
Author

I downloaded 1.2 from github releases.

First when I start it I get this (on Win10):
image

In the new default PowerShell I first of all don't have the ssh command available ("command ssh cannot be found"), which might just be me being to silly to use powershell (or the init script not executing as seen in the error). gl prints me the current path instead of doing git log --oneline --graph --... . Git log works (theres no "terminal is not fully functional" - message), though I still cannot scroll, If I try (on the ":" -prompt) it just says [K[B for down or [K[A for up arrow as I press the key.
I created a new cmd-tab, same issues there (except for gl and ssh working). Running htop over ssh stil has the same problem as mentioned in the op.

On Windows 8.1 I get this error on starting Cmder.exe:
image

@terry-fei
Copy link

i got the same issue

@sifex
Copy link

sifex commented May 24, 2015

Build 10122 refuses to start entirely. Anyone else getting this?

@lossendae
Copy link

Nothing google can't solve, you have to install Visual C++ Redistributable for Visual Studio 2015 RC : https://www.microsoft.com/en-US/download/details.aspx?id=46881

@sifex
Copy link

sifex commented May 30, 2015

Thanks for the assistance, since I wrote that my SSD has crapped out and it's no longer applicable.

Sent from my iPad

On 30/05/2015, at 8:36 AM, lossendae notifications@github.com wrote:

Nothing google can't solve, you have to install Visual C++ Redistributable for Visual Studio 2015 RC : https://www.microsoft.com/en-US/download/details.aspx?id=46881


Reply to this email directly or view it on GitHub.

@mwaa
Copy link

mwaa commented Aug 1, 2015

Still getting the same issue. Even after installing Visual C++ Redistributable for Visual Studio 2015 RC

@s4p0
Copy link

s4p0 commented Aug 5, 2015

I found a description about powershell here. [no expertise in this area]

Before running any scripts on a new PowerShell installation, you must first set an appropriate Execution Policy, e.g. Set-ExecutionPolicy RemoteSigned

So, before execute cmder on Windows 10 [worked for me], execute PowerShell as Administrator and execute Set-ExecutionPolicy RemoteSigned.

This will allows cmder to execute profile.ps1.

@BrunoMoreno
Copy link

I made a remaster running on Windows 10:
https://github.com/BrunoMoreno/CmderRemaster

@anadin
Copy link

anadin commented Aug 22, 2015

@BrunoMoreno thanks for this, perfect solution! :)

@BrandonG777
Copy link

@BrunoMoreno ssh and ls commands not working for me, new Windows 10 build maybe?

0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x1D0000, State 0x10000
C:\Users\Brandon\Sync\Apps\cmder\vendor\msysgit\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

@mryongzhang
Copy link

when I run command [ls] on win10, then I got an error.
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x310000, State 0x10000
C:\Program Files (x86)\Git\bin\ls.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests