Windows 9 To Include Improved Command Prompt With Experimental Features

By
Advertisement


Windows 9 To Include Improved Command Prompt With Experimental Features


  


While we are waiting for Microsoft to start its press event in the US to talk about its upcoming version of Windows, Rafael Rivera today highlighted one the key improvements Microsoft has made in Windows 9. Microsoft has finally decided to improve its Command Prompt/console. Microsoft is including several experimental features in this release. Some of the experimental features include line wrapping selection, ability to filter clipboard contents on paste, support for new Control key shortcuts and more.

 

Here's the new experimental tab in Threshold's Command Prompt properties window. This tab exposes switches that turn on and off new experimental features that apply to all console windows -- including the one that hosts PowerShell.
Let's go over them.

Enable line wrapping selection

In previous versions of the Command Prompt, selecting text for copy involved crudely painting a selection box on the screen and hitting the Enter key. But you weren't done. You also had to paste that text into a text editor to correct the abrupt line endings. It was a terribly slow and error-prone process.
But that's all in the past now.
In Threshold, you can now select and copy text as you would expect to in any text editor.

Filter clipboard contents on paste


Ever pasted in a command only to realize (after it errored out) it was peppered with tabs and fancy quotation marks? I have. And I won't ever again, thanks to a new paste filter in Threshold.
Now when pasting text, fancy quotation marks are converted into their straighter equivalents and stray tabs are removed.

 Ever pasted in a command only to realize (after it errored out) it was peppered with tabs and fancy quotation marks? I have. And I won't ever again, thanks to a new paste filter in Threshold.
Now when pasting text, fancy quotation marks are converted into their straighter equivalents and stray tabs are removed.

Wrap text output on resize

 

Resizing the Command Prompt window has always been an alien task. If you somehow managed to get the window to shrink, a horizontal scrollbar would appear and text would remain static and not reflow or wrap given the new constraints.
With this feature enabled, however, the window and its text behave the way you expect.

Enable new Ctrl key shortcuts 

Some handy new keyboard shortcuts have found their way into the new Command Prompt as well. I say some because I can't be sure I covered them all. We'll have to wait for the official documentation to come online.
  • CTRL + A - Select all
  • CTRL + C - Copy
  • CTRL + F - Find
  • CTRL + M - Mark
  • CTRL + V - Paste
  • CTRL + ↑/↓ - Scroll (line) up/down
  • CTRL + PgUp/PgDn - Scroll (page) up/down
Extended edit keys

There's not a lot of information available on extended edit keys. This feature has existed in Windows for quite some time but has never really been exposed to users until Threshold.
We'll have to wait for the official word on this feature.

Trim leading zeros on selection

If you find yourself working with a lot of numerical data in the Command Prompt, you may want to turn this on.
When selecting a number with leading zeros (e.g. via double-click), the selection box will begin after any insignificant zeros present. For example, 000001234 becomes 1234. Hexadecimal and decimal prefaced numbers, however, override this rule. That is, 0x1234 and 0n1234 remain selectable in their entirety.

Source

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

.
Powered by Blogger.