sbt: Can't run interactively from mintty on cygwin

我们两清 提交于 2019-12-10 18:12:48

问题


When I run sbt interactively from a DOS shell or from a cygwin bash terminal, it functions just fine. However, when I try to run from my preferred mintty terminal, sbt doesn't respond to my commands until I send it an end of file (control-) and sbt exits.

TERM is set to cygwin when I'm using the bash terminal, and it's xterm when I'm using mintty.

Does anyone know how to fix this?


回答1:


It ends up that by doing the opposite of this answer, I added the -Djline.terminal=jline.UnixTerminal java option to my sbt startup script to fix the problem.



来源:https://stackoverflow.com/questions/8123949/sbt-cant-run-interactively-from-mintty-on-cygwin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!