-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Terminal Spec #7414
Default Terminal Spec #7414
Conversation
|
||
## Potential Issues | ||
|
||
[comment]: # What are some of the things that might cause problems with the fixes/features proposed? Consider how the user might be negatively impacted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I covered a lot of these in-line above but I could restate briefly or talk about how they cross with other specs going on right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, I always thought the "Capabilities" header didn't make any sense. If there are other concerns, I usually stick them here.
I'd think the whole hidden console window / "SW_SHOW" thing that Dustin mentioned in #7337 should probably get a callout here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hokay, so obviously if the baby comes and I'm still on block, feel free to dismiss me. Gotta let github know what the last commit I reviewed was.
I think that this has a lot of great fundamentals. I'm mostly concerned with a few of the specifics:
- The security of the delegation console
- how the delegation console is actually set - does the Terminal set that up? Does the user need to?
- What the exact interface we're expecting 3rd party developers to implement is
|
||
## Potential Issues | ||
|
||
[comment]: # What are some of the things that might cause problems with the fixes/features proposed? Consider how the user might be negatively impacted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, I always thought the "Capabilities" header didn't make any sense. If there are other concerns, I usually stick them here.
I'd think the whole hidden console window / "SW_SHOW" thing that Dustin mentioned in #7337 should probably get a callout here
Prototype/draft code: https://github.com/microsoft/terminal/tree/dev/miniksa/default |
What happens if a GUI app calls AllocConsole? |
@sylveon as prototyped, it’ll open in Terminal. That’s a worthwhile thing to call out! |
- Implements the default application behavior and handoff mechanisms between console and terminal. The inbox portion is done already. This adds the ability for our OpenConsole.exe to accept the incoming server connection from the Windows OS, stand up a PTY session, start the Windows Terminal as a listener for an incoming connection, and then send it the incoming PTY connection for it to launch a tab. - The tab is launched with default settings at the moment. - You must configure the default application using the `conhost.exe` propsheet or with the registry keys. Finishing the setting inside Windows Terminal will be a todo after this is complete. The OS Settings panel work to surface this setting is a dependency delivered by another team and you will not see it here. ## Validation Steps Performed - [x] Manual adjust of registry keys to the delegation conhost/terminal behavior - [x] Adjustment of the delegation options with the propsheet - [x] Launching things from the run box manually and watching them show in Terminal - [x] Launching things from shortcuts and watching them show in the Terminal Documentation on how it works will be a TODO post completion in #9462 References #7414 - Default Terminal spec Closes #492
Hey uh, what do we do with this now? The correct answer is probably "update to match what we shipped in #7489", yea? |
I'd even be cool with slapping a big: > **Note**: This spec reflects the original plan for implementing support for defterm, circa {whenever it was authored}.
> The actual implementation in [#7489](https://github.com/microsoft/terminal/pull/7489) has diverged from this doc minorly, but is the current source of truth. at the top of this doc and just calling it a day |
I intend to clean this up and submit it still. |
Excuse me for spam, if this is one. |
@PolyacovYury are you asking as a user who wants to switch their default terminal, or are you asking as a developer who wants to offer one? If as a user: it is going to be horribly painfully obvious how to do it because we're not going to release a feature like this to millions of people without blogging, documenting, and tweeting about it. 😄 If as a developer: stay tuned; we do not have a solid message here yet. |
@PolyacovYury Unfortunely the answer is no for most people. This feature requires changes on the OS-side. If you're a Windows insider, you can probably test it out in future insider release. I don't honestly know if this is available in the latest insider release. Correct me if I'm wrong. |
Thank you :-) @DHowett this is a much needed feature, it will be great to have as an option to Win+X. Cant wait to see the release when it comes out of insider. Is there an issue or RSS to follow? |
@angry-bender I think you can follow Windows Command Line Blog which is good source for all things command line. |
Probably my most wanted feature, so glad to see some progress on it. If I never see conhost/cmd.exe (which ever it is) again, happy days. I use Terminal everyday for work (Powershell) and fun (wsl/python/DFhack). Makes windows usable for me. Big thanks to all of you. |
This comment has been minimized.
This comment has been minimized.
1ffb479
to
221fb93
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add references from PR to this.
🎉 Handy links: |
→Doc Link←
Defines the proposed operation of the default terminal feature.
References
PR Checklist