Skip to content
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

Add information about project scope and approach to resolve conflicting scenarios #27

Open
mkotowski opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mkotowski
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Escape sequences are (beyond ECMA-48 and physical terminals) undocumented and each emulator has its own approach, sometimes conflicting with others. I think it would be beneficial to decide on a well-defined approach early-on, i.e. what you would like this project to handle, and what is definitely beyond its scope.

Describe the solution you'd like
Escape sequences are a rather broad topic. Is the aim to support only a combination of common functionalities found in VT100-500 terminals and xterm-compatible emulators? Or stuff like less functionality implemented by only few emulators and/or physical terminals also acceptable? What about when sequences conflict with one another like SGR 21 having different behavior on different versions of Linux console (https://www.man7.org/linux/man-pages/man4/console_codes.4.html)?

Describe alternatives you've considered
Perfect scenario would be maintaining some kind of database on what terminal supports so user could choose a target emulator to interpret the sequences for, but at this point it would be essentially a separate project on its own (and perhaps an expansion of sorts to termcap/terminfo). Not mentioning it would be most likely too taxing to be maintained in a relatively up-to-date state.

Additional context
None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant