我发现在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

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


当前回答

控制台

从文档:

注意:控制台不是一个shell。 因此,它不实现shell 比如命令行补全, 语法着色、命令历史记录等。 控制台只是一个漂亮的前端 为你选择的外壳而死 (cmd.exe, 4NT, bash等 命令行实用程序也可以是 被Console用作“shell”。

作为编程外壳,可以使用ipython。

其他回答

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

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

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

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

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

更新:

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

使用Gow.exe .. 这将使你的DOS-Prompt作为Linux终端…

其他的

使用ZOC.exe……它的试用期终端…

else

安装Git ..它提供了一个bash-控制台,在那里你可以部分地使用Unix命令

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

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