Search code examples
cygwin

Cygwin : typing characters can't display after popup browser


I want to run activator from play framework(www.playframework.com). When i type activator, the program will run and popup browser. When i closed or hided the browser, I continue to use cygwin bash for other commands.

But when i try to type, i can't see the characters\text\command that i'm typing. When i hit enter, i can see the bash response output to what i've typed. I also try to re-install and it gave the same problem.

What could be the problem? do i miss some setting? i'm using win8.1 pro 64bit and install latest cygwin with default selection.


Solution

  • I had this same issue with the following configuration:

    • Cygwin on Window 7 64 Professional
    • Typesafe Activator 1.2.3
    • Oracle JDK 1.7 64

    So, this is how I've managed to solve this problem, and so far I didn't noticed any collateral effects:

    Edit "activator" shell script:

    [PATH_TO_YOUR_INSTALLATION]\activator-1.2.3\activator
    

    Comment the following line (around #220) from:

        # stty -icanon min 1 -echo > /dev/null 2>&1
    

    Another option

    If don't want to edit this file, just run (blindly) the follow command, and echo start working again:

    stty icanon echo
    

    That's it!