Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for XTGETTCAP #98

Open
kchibisov opened this issue Sep 27, 2023 · 5 comments
Open

Add support for XTGETTCAP #98

kchibisov opened this issue Sep 27, 2023 · 5 comments

Comments

@kchibisov
Copy link
Member

How it works is available at https://invisible-island.net/xterm/ctlseqs/ctlseqs.html .

This is used to query for terminfo features and not relying on the actual files. It's supported by notcursors, most modern terms, etc. It could be sort of good when you ssh into system without TERM info you have and it could help terminals not having their terminfo spread to work with at least modern toolkits.

@chrisduerr
Copy link
Member

Not a fan of this at all. Why do you want this?

@kchibisov
Copy link
Member Author

mostly because it started to get used in toolkits.

I'd at least like to look into what it is a bit.

@chrisduerr
Copy link
Member

mostly because it started to get used in toolkits.

Which one?

@kchibisov
Copy link
Member Author

@chrisduerr I think I mentioned? it's notcurses, some recent go toolkits, etc. It's also present in basically any active terminal.

@roland-5
Copy link

roland-5 commented Jun 3, 2024

From my experience, the currently released Neovim 0.10 uses XTGETTCAP as the escape sequence to detect OSC 52 support automatically and thus clipboard function within itself. This is very useful for me when I want to copy code from one remote machine and quickly paste it into another to check something.

# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

3 participants