swcarpentry / windows-installer

Software Carpentry installer for Windows.
MIT License
21 stars 17 forks source link

Error: redirection is not supported #50

Closed gvwilson closed 1 year ago

gvwilson commented 8 years ago

Reported by someone setting up for a workshop this weekend:

Any suggestions?

ethanwhite commented 8 years ago

They probably didn't follow the installation instructions for GitBash properly. This sounds like the #31 issue.

gvwilson commented 8 years ago

From #31: Have the students reinstall Git for Windows to use the Windows console. They would need to make a change on the 5th page of the installer wizard.

ctmontgomery commented 8 years ago

That worked! Thank you!

embray commented 8 years ago

So wait, does the version of nano we're installing not work with mintty?

iamc commented 8 years ago

Is nano the only key software affected by this issue?

If so, this is trivially fixed for mintty adding

alias nano='winpty nano'

in .bash_profile through the installer.

I'm just about doing this for our incoming workshop as we will only use bash, git, ipython and ...nano!

This will make the "Git for Windows" installation a completely default one, and we'll be using mintty, much nicer that the Windows console.

ethanwhite commented 8 years ago

alias nano='winpty nano'

We had a report in the original issue that this wasn't working because it resulted in not being able to move the cursor around: https://github.com/swcarpentry/windows-installer/issues/31#issuecomment-133718108

Maybe this has been fixed?

iamc commented 8 years ago
alias nano='winpty nano'

We had a report in the original issue that this wasn't working because it resulted in not being able to move the cursor around:

31 (comment)

No, you're completely right, it's not fixed. Thanks for the heads up!