5 ms·
A good opportunity to remind everyone that we finally inboxed curl into Windows 10, so this works (with color output) from a stock Windows command prompt. Bett
by jstarks 6y ago
A good opportunity to remind everyone that we finally inboxed curl into Windows 10, so this works (with color output) from a stock Windows command prompt.
Better late than never, I hope.
- notactually0 6y agoCan you explain more about why you thought this was a good opportunity to interject an advertisement for your product?
- nexuist 6y agoIsn't Windows 10 free?
- mmm_grayons 6y agoNo, it's priced into most computers. Retail costs over $100 last I checked (and more for pro), though OEMs pay cheaper prices for that sort of volume. There are also sketchy keys available for ~$20.
- blacksmith_tb 6y agoSort of? You can install without a key, and other than a little 'watermark' in the corner of the screen (and being prevented from changing the wallpaper) it will get updates and work normally.
- colinmhayes 6y agothere are ebay keys for a couple dollars
- throwaway8941 6y agoFor the life of me I cannot understand why would anyone waste their money on such keys. Usually those are volume licenses being sold separately, which is not legal and does not provide you with a valid license. If one is intent on breaking the law anyway, one can save those two bucks and use of the many safe activation methods which do not require installing anything on your machine.
- easygenes 6y agoWindows is fairly transcendent in our culture, like it or not. It’s not Joe’s-10-person-company-not-relevant-to-99%-of-readers.
- notactually0 6y agoI don't think we need to hear about new Windows features on HN posts because they both mention cURL. GP is just taking the chance to advertise. It's like if they commented on the Mac OS X announcements saying "Look, Windows can count to 10 too!" Off topic, against the rules, flag it.
- easygenes 6y agoI’m an open source advocate, but still appreciate that Windows is the most used PC operating system on the planet. The fact that you can use the tool ITA as it’s presented on stock Windows (when this is a recently added feature) is relevant info that’s useful to readers and I highly doubt parent intended it in any way to be an ad. Not to put words in his mouth, but he’s probably just proud to have some influence on making Windows users’ lives a little easier and it would be an odd thing for him to expect people familiar with curl to suddenly become Windows partisans just because they’re now prepacking it (or generally for any Microsoft engineer to have much personal interest in convincing end users to adopt Windows personally).
- jamestimmins 6y agoThis is supremely relevant though. The docs basically say "It's supposed to work like X, but for Windows you need to do ABCEDFGHIJ". OC is just "Actually, X works on windows now." This comment is rude, inaccurate, and not in line with the rules of HN.
- deleted 6y ago[deleted]
- dang 6y agoAw, come on. It was interesting and obviously well intentioned. Please don't be an asshole on HN; disincentivizing people from sharing things they've worked on is strictly negative for this site. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- mmm_grayons 6y agoGlad to hear that, though I wasn't aware color output now works on windows command. I was under the impression the ansi.sys driver or similar was still necessary for color support.
- DHowett 6y agoMy team shipped the next generation (after ANSI.SYS) of VT support with the first release of Windows 10 back in 2015. We keep adding things to it, trying to make sure we stay compatible with Xterm. It really is a different landscape now :) The console subsystem is open-source at https://github.com/microsoft/terminal https://github.com/microsoft/terminal. Feel free to file bugs, complain, or what have you. That’s what we’re here for! To quote GP, “better late than never, I hope”.
- jftuga 6y agoIs there anyway to get the new terminal working on Windows 10 LTSC? It seems as though a newer version of Windows is required. A backport maybe?
- DHowett 6y agoUnfortunately, we’ve got a couple dependencies on platform features that first shipped in 1903. Whether we can divest ourselves of those dependencies has been the topic of significant discussion recently! No promises, but we’ll do what we can.
- fortran77 6y agoNo need for that. You can do this: (Invoke-WebRequest -Uri wttr.in).content from Powershell. Why not use the happy path?
- sonofhans 6y agoSerious question -- not a flame war :) I honestly can't tell if this is sarcastic or not. I've been typing `curl -O http: ...` into command prompts for decades, and that Powershell incantation looks awfully unwieldy. In what way is it the happy path?
- isoskeles 6y agoCan't speak for that person, but I'm certain it was sarcasm.
- fortran77 6y agoBecause it's the native Windows answer. There's no need to make Windows look like Unix. It's great (really!) the way it was designed.
- stnmtn 6y agoDo you feel like you are typing a lot more for simple things like this?
- vips7L 6y agoPowershell comes installed with a lot of aliases. Invoke-WebRequest is just iwr
- feteru 6y agoAny good resources for using Powershell? Is there ever a reason not to use powershell? Coming from OSX it doesn't really make sense to me that there are two terminals installed by default, and I end up just using WSL ubuntu. Also I don't really know the commands so it feels crippled to me (no ssh (still? idk), not many tools, etc)