Microsoft Is Making the Windows Command Line a Lot Better (arstechnica.com)
An anonymous reader quotes a report from Ars Technica: Over the last few years, Microsoft has been working to improve the Windows console. Console windows now maximize properly, for example. In the olden days, hitting maximize would make the window taller but not wider. Today, the action will fill the whole screen, just like any other window. Especially motivated by the Windows subsystem for Linux, the console in Windows 10 supports 16 million colors and VT escape sequences, enabling much richer console output than has traditionally been possible on Windows.
Microsoft is working to build a better console for Windows, one that we hope will open the door to the same flexibility and capabilities that Unix users have enjoyed for more than 40 years. The APIs seem to be in the latest Windows 10 Insider builds, though documentation is a little scarce for now. The command-line team is publishing a series of blog posts describing the history of the Windows command-line, and how the operating system's console works. The big reveal of the new API is coming soon, and with this, Windows should finally be able to have reliable, effective tabbed consoles, with emoji support, rich Unicode, and all the other things that the Windows console doesn't do... yet.
Microsoft is working to build a better console for Windows, one that we hope will open the door to the same flexibility and capabilities that Unix users have enjoyed for more than 40 years. The APIs seem to be in the latest Windows 10 Insider builds, though documentation is a little scarce for now. The command-line team is publishing a series of blog posts describing the history of the Windows command-line, and how the operating system's console works. The big reveal of the new API is coming soon, and with this, Windows should finally be able to have reliable, effective tabbed consoles, with emoji support, rich Unicode, and all the other things that the Windows console doesn't do... yet.
Still, it seems MS can eventually recognize what works. This will give all those GUI-only IT "experts" fits, of course.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
why does a text console need emoji support?
We can only hope.
can I fireup putty and login to an windows server? or wait will I need to buy server 2019 to get this server side?
The best way to make CMD livable is to install Take Command. I've been using it since it was called 4DOS back in the pre-Windows days. It has always provided tab filename completion, history, etc (all those nice things in bash) and a much larger command set.
But way too verbose and complex... sorta like a java version of bash.
I like the emoji support for the command line. It was sorely missed!
Is it to keep up with the Linux's terminals, provide better displaying or Linux apps or establish bragging rights on who has the best console interface?
When I RFTA, they even note that while Unix/Linux is file based (which makes a "terminal" console more appropriate) Windows is object based with dialog based apps providing access to the system and utilities. I do quite a bit of development on Windows (7) and I really don't find that I need to access the system via the "MSDOS Prompt" console and, when I do, it's adequate for my needs.
So, while I would have liked a better console for MS-DOS 3.x and OS/2 1.x, I really don't see the need for revamping it for Windows 10 and beyond.
As for running Linux apps on Windows 10: I would rather suffer the minor inconvenience of turning 45 degrees to my Linux box rather than the major security risk of Windows 10.
Mimetics Inc. Twitter
When we take over and kill Linux as a stand-alone OS and make it available only under Windows, at least you'll have a command line window that won't make you cry -- even though your tears of loss over your silly little free 'open source' OS will still be sweet to us. Mark my words, Slashdotters, Miscreant-o-soft has had Linux in it's sights for a while now. Don't say you weren't warned when they lock it out of booting on your hardware.
WHAT YEAR IS IT?!?!
As long as it continues to be a SaaS spyware product with forced updates/upgrades, and has an onerous, unacceptable privacy policy that claims the right to access all of my personal data, I don't care if they make it nicer than my favorite desktop Linux distro. I'll never use it.
Already switched to Linux back when vista came out. These 'improvements' are already polished and refined elsewhere and have been for decades.
If you see someone say anything good about Microsoft, kick them in the genitals. After years of study of human psychology, the human condition, philosophy, philanthropic endevors ecumenical debates the results are in: HUMANS WILL NOT TAKE CORRECTIVE LOGICAL ACTION UNTI YOU THREATEN THEM WITH HARM. This has to do with our natural aversion to new ideas which stems from our flight or fight response. Good ideas which make sense can be presented but rejected and even rejected with prejudice if the mind in question believes that a held belief is under attack the way the animal would react to a physical threat.
So, since we are unable to take the sane step ourselves to get rid of Microsoft we need to take stronger measures that will properly interact with human psychology...so if anyone says anything good about Microsoft, kick them as hard as you can in the genitals, you are doing gods work soldier.
You don’t need the beta builds of Windows 10 even for that. SSH got added in last year.
I dual boot and because of it my time is off in whatever OS I'm in. DATE and TIME are two commands I use all the time.
- Lost Linux Mint on a Windows update; didn't fix it for a bit, my time was always right.
I know a lot of people regard X11 as a bit of a dinosaur, but for forwarding a single application on a remote system, a native shim to the Windows GUI would make remote administration a whee bit less clunky on slow/high latency links... compared to full RDP session, at least.
I also know that various remote application services can do similar things (e.g. Citrix), but since we're already talking about a potential B-movie teleporter accident...
There is no XUL, only WebExtensions...
Sign me up, Botty! Finally, someone getting us back to the good ol' days of Kazaa and 'oops i accidentally indexed my whole hard drive!'
There is no XUL, only WebExtensions...
OMG! Will I be able to use cut-and-paste! Its like a dream come true. Good things come to those that wait. 20 years or so.
Can we also get them to remove backslashes from paths, the /r from a newline, and add support for other filesystems and shells? That'd be swell.
-SaNo
You've been able to do it through SSH for a year or so. You've been able to do it with PowerShell for quite a while now (a decade?).
Wasn't that supposed to be called Powershell? I guess I'm not the only one who didn't use it, huh?
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Judging by the article summary, there's still no distinction made between "the console" and "the command-line," so I am betting no.
Secession is the right of all sentient beings.
Emoji support? Call me when they include memoji support. That's where it's at!
When they came for the communists, I said "He's next door. Take him away. Goddam commies."
- We have such sights to show you!
I guess the point here would be no, you would just go c:\Windows> ssh user@winhost
But will this finally, once-and-for-all, end those online instructions to "Open a DOS box?"
What more needs to be said. It is ... different.
Unix shell works on strings. Powershell works on objects. That is an important difference. Especially if the strings have funny characters in them.
As to speed, it is .net, so I presume compiles down to machine code.
"Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer
Circle the wagons and fire inward. Entropy increases without bounds.
See, the UNIX paradigm has been something that Microsoft has never been able to swallow. Keep it simple. That's it. That's why all the UNIX commands we know and love have survived through the years, they are simple. They get the job done.
Stuff has been added, sure, but most of the original shell and common system commands have remained the same, decades on. Some 50 years of sameness and simplicity that Microsoft will never understand.
In all my dealings with Microsoft software, they seem to strive to make things as complicated and insane as possible. Even this new powershell, the commands are needlessly long, with long parameters names and very strict syntax. And not to be outdone, a whole new spam of technobabble error messages. Their APIs and programming languages are the same way, sure they are pretty powerful, but the complexity, nothing is simple. Simple isn't something Microsoft does. So they'll never be able to ever be 'unix' like.
The CLI maximizing properly is news? That's a /lot/ better? That's "Microsoft Better". Microsoft has embraced, extended, and now extinguished the word "better".
If you're still on Windows 7 or 8.1 like I am on most of my PCs, check out Clink - an extension for the Windows command line that adds bash-style command line functionality to cmd.exe.
I was only just introduced to this by a colleague and can't believe I only just discovered it. Supports things like CTRL-V copy/paste which is pretty handy.
What's it for?
You can fire up putty and login to any Windows machine providing it is in developer mode. Better* still you don't even need to fire up putty. Just use the built in ssh client in Windows. Get with the times.
*Actually not better. The built-in ssh client in Windows 10 is quite basic.
The poop emoji that is. I've waited too long for that ability as-is.
I installed OpenSSH server on Windows over a decade ago. It was almost painless. Would it be nice to have it installed out of the box like OS X and most Linux distros? Sure. But that's hardly a significant difference between platforms.