After working on this for a few hours with the help of some excellent
work by Logan Cox & Robert McDonald, it looks like our only choice is to
manage this using Git for Windows is through changing an option from the
default during the Git for Windows installation. 'winpty' has
significant side effects on nano (e.g., no arrow keys) so it's not a
sufficient option at the moment from what I can tell.
So, I will put in a PR for a setup instructions change shortly, but if
you are teaching right now you should have your Windows students who are
having issues reinstall Git for Windows and on the 6th page of the
installation wizard have them select 'Use Windows' default console
window' instead of 'Use MinTTY'. This will return the behavior to
exactly as it was in previous versions of Git for Windows.
On 08/22/2015 04:06 AM, Steven Haddock wrote:
We just finished a 2-week workshop and although we did have some problems with
MSYS2, nano was not one of them. After some updates, we used the `pacman`
installer with this command and it worked fine..
pacman -S gcc python2 man nano sqlite vim git bc tar
Rudimentary instructions (not super robust!) are here in the brown box:
http://practicalcomputing.org/setup
-Steve
On Aug 21, 2015, at 16:55 , Duckles, Jonah M. <[email protected]> wrote:
All,
See my rant from here:
https://github.com/swcarpentry/workshop-template/pull/165#issuecomment-77228901
It seems like it would be a minor thing, but you're standing in front of a room telling
3-sets of users to "Now open Notepad++ if you're on windows, or Kate if you're on
Linux, or TextMate if you're on a Mac, or whatever you want to use if you're more
advanced",then you demonstrate on the one you use (probably with a different UI than
>25% of the learners). You've now lost EVERYONE and caused mass confusion in novice
rooms. I am 100% in the camp of suffering through nano, even if you're morally opposed to
it, as an editor that can be run from the command prompt on all platforms. I've tried both,
I much prefer teaching flow using nano.
Basically if you have a diversity of editors (different ones on linux, windows
and mac) you're going to lose a room of novices.
Getting nano working is really preferred imho.
I think we should be able to get nano installed as a MSYS2 package. Anyone
smart enough on Windows and MSYS2 to know how we'd do that? I don't have a
windows box to try it.
--
Jonah
On August 21, 2015 at 4:30:06 PM, Carl Boettiger ([email protected]) wrote:
Would atom (https://atom.io) be a viable option here?
On Fri, Aug 21, 2015 at 2:24 PM Dirk Eddelbuettel <[email protected]> wrote:
On 21 August 2015 at 20:57, Amanda Charbonneau wrote:
| Hey all,
|
| I'm teaching to all Windows users next week, so I'm doing a dry run on a new
| Windows VM to test everything. I installed the 32bit version and 64bit version
| of GitBash 2.5.0, and neither will let me run Nano.
|
| I get the following error:
|
| > $ nano
| > Redirection is not supported.
|
| I Googled a while, and there apparently was a similar error using emulators on
| windows in 2012. The fix for that was:
|
| > $ export TERM=cygwin
|
| but that doesn't work now.
|
| Any other ideas???
We told participants in today's workshop to say 'notepad' when 'nano' fails.
A better solution would certainly we welcomed by many.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
--
http://carlboettiger.info
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org