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

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


试试控制台2。

控制台是Windows控制台窗口的增强。控制台功能包括:多个选项卡,类似文本编辑器的文本选择,不同的背景类型,alpha和彩色键透明度,可配置的字体,不同的窗口样式

看看Take Command。

Take Command是一个全面的交互式GUI和命令行环境,使使用Windows命令提示符和创建批处理文件更容易和更强大。

(然而,Take Command是“不免费的”。)

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

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

我在Windows上也有这些问题很多年了,但我最近发现了这个项目: 控制台

它仍然需要“标记模式”复制/粘贴,但至少可以从右键上下文菜单(所以你不需要将鼠标移动到左上角,然后再次移动到你想要选择的文本)

cmd.exe不支持UNC路径,但PowerShell支持。 (控制台可以配置为使用任何shell,包括cmd.exe和PowerShell)

控制台

从文档:

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

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

我使用终端进行远程连接通过Telnet, RDC, SSH,… 在一个程序中结合最常用的协议。

URL: http://www.codeplex.com/Terminals

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

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

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

为什么不用Putty呢?

我使用cygwin的rxvt。它的行为很像一个xterm。

我想你会喜欢PowerCMD,你可以同时工作4个命令窗口。此外,您还可以在PowerCMD中使用许多额外的命令。 PowerCMD

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

其他的

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

else

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

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

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

更新:

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

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

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

抱歉自我推销,我是另一个控制台模拟器的作者,这里没有提到。

ConEmu是一个带有选项卡的开源控制台模拟器,它将多个控制台和简单的GUI应用程序表示为一个可定制的GUI窗口。

最初,该程序被设计为与Far Manager(我最喜欢的shell替代品-文件和档案管理,命令历史和完成,功能强大的编辑器)一起工作。但是ConEmu可以与任何其他控制台应用程序或简单的GUI工具一起使用(例如PuTTY)。ConEmu是一个活跃的项目,欢迎大家提出建议。

下面是一长串选项的简要摘录:

Latest versions of ConEmu may set up itself as default terminal for Windows Use any font installed in the system, or copied to a folder of the program (ttf, otf, fon, bdf) Run selected tabs as Administrator (Vista+) or as selected user Windows 7 Jump lists and Progress on taskbar Integration with DosBox (useful in 64bit systems to run DOS applications) Smooth resize, maximized and fullscreen window modes Scrollbar initially hidden, may be revealed by mouseover or checkbox in settings Optional settings (e.g. pallette) for selected applications User friendly text and block selection (from keyboard or mouse), copy, paste, text search in console ANSI X3.64 and Xterm 256 color

Far Manager用户将获得shell风格的拖放、缩略图和面板中的瓦片、编辑器和查看器的选项卡、真实颜色和字体样式(斜体/粗体/下划线)。

PS. Far Manager支持UNC路径(\\server\share\…)