Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zadjii
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
181.
▲
by
zadjii
8y ago
IMO "Reputed and trustworthy citations from scientific sources required, please." is just a more elegant way of calling bullshit
182.
▲
New Experimental Console Features
(blogs.msdn.microsoft.com)
3 points
by
zadjii
8y ago
|
0 comments
183.
▲
by
zadjii
8y ago
Also don't underestimate our willingness to try and make our inbox stuff better - it just takes a lot of time to add new features without breaking some back-compat. We're hard at work improving conhost every day :)
184.
▲
by
zadjii
8y ago
> terminal has no tabs and crappy colors Okay, the tabs thing we haven't been able to fix yet, but if you want to change the console colors real quick, you can use ColorTool: https://github.com/Microsoft/console
185.
▲
by
zadjii
8y ago
I'd agree with a lot of this experience. There's a huge amount of music that I can just zone out while I'm programming. Though I'd add that new music will typically pull me out of it, much as a conversation would. Mayb
186.
▲
by
zadjii
8y ago
Yep! It'll probably act a little different than you'd expect - the pseudoconsole itself will switch between the primary and alt buffers, leaving the terminal in the main buffer always. We'll "render" the contents of
187.
▲
by
zadjii
8y ago
Oh we added support for VT sequences in commandline apps years ago - case in point, WSL. see [this docs page]( https://docs.microsoft.com/en-us/windows/console/console-vir... ) for a (surprisingly incomplete) l
188.
▲
by
zadjii
8y ago
So this is a confusing situation on Windows. Commandline applications on linux rely on a TERM setting (with termcaps) to be able to know what VT sequences the terminal is able to support. On Windows, we only really have one terminal, conhos
189.
▲
by
zadjii
8y ago
Windows 10 is the "last Windows ever". There's a pretty wide tree of branches under "winmain" that teams contribute to, and at each layer more branches are merged together, until they finally hit winmain, and then w
190.
▲
by
zadjii
8y ago
Honestly, learning Windows is just like learning another programming language. This API is designed to be the Windows equivalent of a unix API - of course it's not going to be the exact same thing, but functionally it does the same thi
191.
▲
by
zadjii
8y ago
Functionally, we support all of the VT sequences you'd need to make ncurses work resonably well on windows for a few releases now (ever since WSL was introduced). If you could build an ncurses that assumed TERM=xterm-256color, then you
192.
▲
by
zadjii
8y ago
So this question is a little complicated currently, but I want you to know that I am planning on coming back to answer it, probably tomorrow morning
193.
▲
by
zadjii
8y ago
That'll work just the same as it always has :) Existing commandline applications won't be affected by this feature, but it will open the doors for an entirely new class of applications.
194.
▲
by
zadjii
8y ago
Those sound like they'll be more like the responsibility of the terminal emulator, unfortunately. Windows console applications aren't really able to live without being attached to a console. Now, a terminal might be able to implem
195.
▲
by
zadjii
8y ago
Nope! We're only rendering the effect of any attached processes to the VT on the conpty side of things. On the client side (where cmd, type, 7z.exe are all running), they're going to keep working just the same as they always have.
196.
▲
by
zadjii
8y ago
It is! But this is a very un-windows like feature, isn't it? We want this to work on other platforms with as little modification as necessary, and frankly, jumping through the wchar_t<->char hoops is a _pain_. So we'll do it
197.
▲
by
zadjii
8y ago
Pretty much any new features we release are only available on new Windows 10 releases. Unless there's a gigantic demand for a feature, or business impact, we're not really capable on our team of backporting anything.
198.
▲
by
zadjii
8y ago
It sounds like you're asking for two different things here: cmd.exe is a shell , and that's the guy that's parked. conhost.exe is a terminal , and that's under active development, though it's slower than something
199.
▲
by
zadjii
8y ago
Ah but see, now you're conflating two different things: cmd.exe is a shell conhost and cmder are terminals . I believe cmder can come with git bash as well, which is also a shell . The confusion comes from when you launch cmd, the
200.
▲
by
zadjii
8y ago
Technically, any executable that's compiled as a commandline application is going to get a console allocated for it, no matter what on Windows. I don't believe that's something we can fix retroactively unfortunately, that
201.
▲
by
zadjii
8y ago
I sure hope so! I can run cmd.exe inside gnome-terminal running on WSL right now - granted, WSL is doing some magic to make that all work, but it should still work for terminator to do it to.
202.
▲
by
zadjii
8y ago
That is an excellent suggestion, I'll get our PM to reach out :)
203.
▲
by
zadjii
8y ago
cmd is parked for pretty much everything except for major issues. It's a scary codebase that has a LOT of code that's dependent on it, and we can't really add any new features there without the possibility of breaking someone
204.
▲
by
zadjii
8y ago
Excellent question! There are a few limitations that we have to place on the ConPty to make it work quite right. Primarily, client apps running attached to the conpty will not be able to have separate viewport and buffer sizes. On *nix, the
205.
▲
by
zadjii
8y ago
It's already available in current insider's builds, and will be landing officially in the next available Windows release some time later this year. We're still working with ConEmu, VsCode, and OpenSSH to get them all over to
206.
▲
by
zadjii
8y ago
First off: command prompt (cmd.exe) and powershell are commandline client applications. They are shells just the same as bash is. All commandline clients run attached to a console server, and that server is conhost.exe. Conhost is respons
207.
▲
by
zadjii
8y ago
Hey I'm one of the Console devs who's been working on this feature for a while now. I'll be hanging around in the comments for a little while to try and answer any questions that people might have. TL;DR of this announcement:
208.
▲
by
zadjii
8y ago
Oh I'm certainly not conceeding that Linux as a whole is better than Windows - there are pros and cons to each. But I've found that writing console applications with VT sequences to be a generally preferable experience to the Cons
209.
▲
by
zadjii
8y ago
I think rich (@bitcrazed) already talked a bit about #1, so I'll share a bit on #2. I agree, the current properties story is INSANE. I don't get how whoever wrote it even came up with it - it's likely a frankencode system tha
210.
▲
by
zadjii
8y ago
Could you go submit this to our UserVoice? https://wpdev.uservoice.com/forums/266908-command-prompt-con... I'd say that bi-directional text is a pretty low priority at the moment. We just haven't really heard
More ›