我发现在Windows的命令行中工作令人沮丧,主要是因为与linux和OS X上的“rxvt”、“xterm”或“terminal”等终端应用程序相比,控制台窗口使用起来很糟糕。主要的投诉:

No standard copy/paste. You have to turn on "mark" mode and it's only available from a multi-level popup triggered by the (small) left hand corner button. Then copy and paste need to be invoked from the same menu You can't arbitrarily resize the window by dragging, you need to set a preference (back to the multi-level popup) each time you want to resize a window You can only make the window so big before horizontal scroll bars enter the picture. Horizontal scroll bars suck. With the cmd.exe shell, you can't navigate to folders with \\netpath notation (UNC?), you need to map a network drive. This sucks when working on multiple machines that are going to have different drives mapped

是否有任何技巧或应用程序(付费或其他)可以解决这些问题?


当前回答

我在Poderosa终端模拟器中使用Cygwin。

其他回答

在github上有一个小程序mo.exe可以解决前三个问题: https://github.com/boolship/Mo

它运行在正常的DOS控制台窗口,Git Bash在Windows等。

更新:

该链接现在已弃用,请使用:https://github.com/boolship/MoDi

接受命令。它已经存在很长时间了(以前是4DOS)。我在Windows NT 3.5(!)上使用了它,并且很喜欢它。

Cygwin允许您在Windows上运行X,因此您可以启动xterm或任何您喜欢的终端应用程序,还可以获得使用UNIX shell的好处。

我在Poderosa终端模拟器中使用Cygwin。

我个人用薄荷糖。因此我使用Cygwin(因为据我所知,这是它唯一支持的shell)。

顺便说一句,还有一个问题:更好地使用Windows?我的发现。

打开qukedit模式(但选区仍然是矩形,而不是行换行) 通过拖动来调整大小对我来说是可行的 您可以更改缓冲区大小,这将影响何时出现滚动条 pushd \ \ server \份额

即使有这些,cmd.exe也不是一个很好的控制台。请参阅关于同一主题的所有其他回复和早先的stackoverflow问题。来自sourceforge的“Console”项目看起来相当不错。