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

Setting up git in the default Windows console cannot run nano #758

Open
mlell opened this issue Jan 12, 2022 · 0 comments
Open

Setting up git in the default Windows console cannot run nano #758

mlell opened this issue Jan 12, 2022 · 0 comments

Comments

@mlell
Copy link

mlell commented Jan 12, 2022

The Windows documentation to install git bash says that bit bash shall run in the Windows CMD window, and not in the MinTTY window that comes with git bash.

Install instructions:

<strong>
Ensure that "Use Windows' default console window" is selected and click on "Next".
</strong>

This causes a problem on my machine (Windows 10 Version 1809 Build 17763.2300), namely that nano does not display but a blank black screen with a white cursor in the top left. The window can only be closed. This prevents almost everything that can be done in the git and shell lessons.

Steps to reproduce:

  1. Install git for windows 2.24.1-64-bit, checking "Use Windows' default console window" as described in this repo
  2. Start "git bash"
  3. execute "nano"

Expected outcome: See nano

Actual outcome: Nothing is displayed

To my knowledge, this setting cannot be changed once git is installed. I would suggest to replace this part by

Ensure that "Use MinTTY (the default terminal of MSYS2)" is checked

Downsides of this approach according to the installer is that

Windows console programs (such as interactive Python) must be launched via winpty to work in MinTTY

But this seems to me the lesser restriction compared to a non-functional nano. Also, there is an experimental option that works around this issue.

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

1 participant