windows10命令行_Windows 10终于有了真正的命令行

windows10命令行

windows10命令行

New Windows Terminal showing Linux applications
Microsoft via The Verge 微软通过边缘

Forget the Command Prompt. Microsoft is launching a new command line application named “Windows Terminal.” It features tabs and themes, with centralized access to PowerShell, the classic Cmd environment, and Bash via Windows Subsystem for Linux (WSL.)

忘记命令提示符。 Microsoft正在启动一个名为“ Windows Terminal”的新命令行应用程序。 它具有选项卡和主题,可通过Windows Linux子系统(WSL)集中访问PowerShell,经典Cmd环境和Bash。

Windows had long had an inferior command line environment compared to other operating systems. Windows 10’s WSL, which lets you run Bash and other Linux shells, is great. But it’s based on the old Windows Console, as seen in the Command Prompt. These windows don’t have tabs, a feature Linux and Mac terminal windows have had for a very long time. With the failure of Sets, it looks like the classic console windows won’t be getting them.

与其他操作系统相比,Windows长期以来的劣质命令行环境。 Windows 10的WSL很棒,它使您可以运行Bash和其他Linux Shell。 但是它基于旧的Windows控制台,如命令提示符所示。 这些窗口没有选项卡,Linux和Mac终端窗口已经有很长时间了。 随着Sets的失败 ,看起来经典的控制台窗口将无法获取它们。

Microsoft has been working hard on improving the old Windows Console for years. Microsoft has added a variety of “experimental console features” like Ctrl+C to copy and Ctrl+V to paste, which are disabled by default. After all, they might break legacy applications using the old Command Prompt. Microsoft even swapped the console color scheme with a new, more readable one. Microsoft worked hard on adding unicode support to the existing console environment. Microsoft added support for VT codes so complex Linux apps like tmux would be usable.

多年来,Microsoft一直在努力改进旧的Windows控制台。 Microsoft已添加了多种“实验性控制台功能”,例如Ctrl + C复制和Ctrl + V粘贴 ,这些功能默认情况下处于禁用状态。 毕竟,它们可能会使用旧的命令提示符破坏旧版应用程序。 微软甚至将控制台的配色方案换成了新的,更具可读性的方案 。 Microsoft努力为现有控制台环境添加unicode支持 。 微软增加了对VT代码的支持,因此可以使用tmux等复杂Linux应用程序。

With today’s announcement, Microsoft is announcing a new application named the Windows Terminal. It will include multiple tabs along with themes and other customization features. The Windows Terminal uses GPU-based text rendering and even supports emoji. It includes tabs so you can open Cmd, PowerShell, and WSL consoles in a single window.

在今天的公告中,Microsoft宣布了一个名为Windows Terminal的新应用程序。 它将包括多个选项卡以及主题和其他自定义功能。 Windows终端使用基于GPU的文本呈现,甚至支持表情符号。 它包含选项卡,因此您可以在一个窗口中打开Cmd,PowerShell和WSL控制台。

Opening a new tab in the new Windows Terminal
Microsoft via Tom’s Hardware 微软通过汤姆的硬件

We look forward to learning more about this application and experimenting with it in June. For now, it looks like an exciting break from the past. It can make big changes without a need for maintaining perfect compatibility with old business apps that use the old Windows Console.

我们期待了解有关此应用程序的更多信息,并在6月进行试验。 就目前而言,这似乎是对过去的激动人心的突破。 它可以进行重大更改,而无需与使用旧Windows控制台的旧业务应用程序保持完美的兼容性。

Microsoft announced this new application at its Build 2019 developer conference on May 6. Microsoft plans to make it available in mid-June. This application won’t immediately replace the classic Windows Console environment. The source code is already available on GitHub.

微软在5月6日的Build 2019开发者大会上宣布了此新应用程序。微软计划在6月中旬推出该应用程序。 此应用程序不会立即替换传统的Windows Console环境。 源代码已在GitHub上提供

Beyond the visual changes, Microsoft also announced “Windows Subsystem for Linux 2.” It will reportedly offer up to twice the performance of the current version of WSL for filesystem-heavy operations. Windows 10 will include a Linux kernel to make this possible.

除了视觉上的变化之外,微软还宣布了“ Linux 2的Windows子系统”。 据报道,它将为文件系统繁重的操作提供比当前版本的WSL最高两倍的性能。 Windows 10将包括一个Linux内核,以实现这一目标。

新的Windows Terminal应用程序显示表情符号
Microsoft via The Verge
微软通过边缘

翻译自: https://www.howtogeek.com/413527/windows-10-is-finally-getting-a-real-command-line/

windows10命令行

  • 0
    点赞
  • 0
    评论
  • 1
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
©️2021 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值