On 08/27/2015 07:25 AM, Jan Kim wrote:
is there any solution currently that will get nano working on git-bash, including cursor keys? I quite agree with Jonah's remarks (below) and would therefore very much like to have a simple terminal-based editor, so learners won't have to synchro-navigate on the shell and in the fileselect box of their GUI text editor.

Yes, the "official" solution, which is now included in the install instructions is to you have 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/27/2015 07:25 AM, Jan Kim wrote:
On Fri, Aug 21, 2015 at 08:29:21PM -0400, Ethan White wrote:
I have just posted two work arounds that will solve this issue
immediately in the relevant issue:
https://github.com/swcarpentry/windows-installer/issues/31#issuecomment-133596799

Neither of these is a great long-term solution and I'm working on
seeing if I can get something that's a smooth and robust solution,
but for those of you teaching right now one of these will hopefully
be an improvement.
is there any solution currently that will get nano working on git-bash,
including cursor keys?

I quite agree with Jonah's remarks (below) and would therefore very much
like to have a simple terminal-based editor, so learners won't have to
synchro-navigate on the shell and in the fileselect box of their GUI
text editor.

Best regards, Jan

On 08/21/2015 07:55 PM, Duckles, Jonah M. 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] <mailto:[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] <mailto:[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]
    <mailto:[email protected]>

    _______________________________________________
    Discuss mailing list
    [email protected]
    <mailto:[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

Reply via email to