Ctrl-c在cygwin中停止工作

Met*_*ome 6 cygwin tty sigint

Ctrl-c(SIGINT/SIGTERM)在cygwin中停止工作.如果我记得,这可能与TTY设置有关.请告知如何让它再次运作.我没有故意改变任何事情

stty -a的输出:

$ stty -a
speed 38400 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl -echoke
Run Code Online (Sandbox Code Playgroud)

按ctrl-c时,cmd窗口的标题从Select~变为〜.Ctrl-c也会中断正在执行的程序但不会创建新行.

我也在运行会话ssh-agent

我想这可以通过电脑重启来解决,但如果您有任何想法,请告诉我

Met*_*ome 0

重新安装了 Cygwin,现在可以使用了。