sbt:无法从cygwin的mintty交互式运行 [英] sbt: Can't run interactively from mintty on cygwin

查看:366
本文介绍了sbt:无法从cygwin的mintty交互式运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从DOS shell或从cygwin bash终端交互式运行sbt时,它的功能很好。但是,当我尝试从我的首选mintty终端运行时,sbt不回应我的命令,直到我发送它的文件结束(control-)和sbt退出。

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在我使用bash终端时设置为cygwin,当我使用mintty时,它是xterm。

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?

推荐答案

最后,通过执行这个回答,我添加了 -Djline.terminal = jline.UnixTerminal java选项到我的sbt启动脚本来解决这个问题。

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.

这篇关于sbt:无法从cygwin的mintty交互式运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆