小编nde*_*mou的帖子

mintty:如何在进程终止后保持输出可见?

我有一个启动 cygwin bash 脚本的桌面快捷方式,我希望 mintty 终端在我的脚本终止后保持打开状态,以便我可以查看它的输出。为此,我使用-h alwaysmintty 选项[1]。

窗口确实保持打开状态,但当我的脚本终止时,mintty 无助地清除了输出(!!!)。看起来像是一个糟糕的笑话。我错过了什么吗?即使使用只有回显的一行脚本,我也验证了这种行为。


注意[1]-h在手册页中是这样描述的:

-h, --hold never|start|error|always

Determine whether to keep the terminal window open when the command has finished and no more processes are connected to the terminal. 
Run Code Online (Sandbox Code Playgroud)

cygwin mintty

5
推荐指数
2
解决办法
1500
查看次数

PowerShell Desktop 和 PowerShell Core 有什么区别

正如标题所说:PowerShell 5.1 和 PowerShell 7 有什么区别?

powershell

5
推荐指数
1
解决办法
2602
查看次数

XP中的字体丑陋,如何恢复?

我在工作场所使用的 XP SP3 工作站突然将字体渲染更改为丑陋的字体(可能在使用 chkdsk 消息重新启动后)。如何将字体渲染设置恢复正​​常?

字体受影响/丑陋的工作站(上半部分)与其他字体正常的工作站(下半部分)对比截图:

在此处输入图片说明

fonts cleartype windows-xp

1
推荐指数
1
解决办法
2053
查看次数

标签 统计

cleartype ×1

cygwin ×1

fonts ×1

mintty ×1

powershell ×1

windows-xp ×1