Support XTGETTCAP sequence #22106

Open
opened 2026-01-31 08:03:38 +00:00 by claunia · 3 comments
Owner

Originally created by @moetayuko on GitHub (Aug 18, 2024).

Description of the new feature/enhancement

neovim uses XTGETTCAP sequence to query osc52 support and enables copying over ssh via osc52 if positive. wt supports osc52 but does not report via XTGETTCAP, so neovim is not aware of it and won't enable osc52 for wt.

Proposed technical implementation details (optional)

https://github.com/neovim/neovim/issues/29504#issuecomment-2226374704

Originally created by @moetayuko on GitHub (Aug 18, 2024). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> neovim uses XTGETTCAP sequence to query osc52 support and enables copying over ssh via osc52 if positive. wt supports osc52 but does not report via XTGETTCAP, so neovim is not aware of it and won't enable osc52 for wt. # Proposed technical implementation details (optional) https://github.com/neovim/neovim/issues/29504#issuecomment-2226374704 <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureArea-VTProduct-Terminal labels 2026-01-31 08:03:38 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Aug 21, 2024):

Depends on #2958 and #1040

@carlos-zamora commented on GitHub (Aug 21, 2024): Depends on #2958 and #1040
Author
Owner

@cavanaug commented on GitHub (Feb 18, 2025):

Depends on #2958 and #1040

Why does this depend on [#2958] shouldnt support XTGETTCAP return dynamically what is supported?? Depending on registering a terminfo would also cause all systems connecting to via ssh to have it also.

@cavanaug commented on GitHub (Feb 18, 2025): > Depends on [#2958](https://github.com/microsoft/terminal/issues/2958) and [#1040](https://github.com/microsoft/terminal/issues/1040) Why does this depend on [#2958] shouldnt support XTGETTCAP return dynamically what is supported?? Depending on registering a terminfo would also cause all systems connecting to via ssh to have it also.
Author
Owner

@DHowett commented on GitHub (Feb 18, 2025):

I rather think it means "depends on the part of that issue which requires producing a terminfo" :)

@DHowett commented on GitHub (Feb 18, 2025): I rather think it means "depends on the part of that issue which requires _producing_ a terminfo" :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22106