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
Alacritty should pass vttest #240
Comments
I hadn't heard of vttest. Thanks for the tip! |
I've written a terminal that passes vttest. Its (somewhat) more readable descendent code is at https://github.com/klamonte/jexer/blob/master/src/jexer/tterminal/ECMA48.java . Some things that might help you here:
There is also one spot where a vttest-compliant terminal conflicts with modern convention: SGR 38/48 (RGB colors, T.416 / ISO 8613-3). I chose to go with vttest compliance which leads to ugly blinking sequences usually, but your users will probably prefer the RGB support instead. |
Alacritty no longer panics on tests 1 and 2, but there are still several CSI actions used by vtetest that aren't handled. |
Aside from not panicking on tests 1 and 2, what's actually needed? I don't think there's any point in implementing 80/132 columns mode. Maybe light/dark mode needs to be supported? |
Thanks for all the thoughts @klamonte. Somehow I had missed your comment in the past. |
I went through all basic tests that are necessary for most terminal features and Alacritty seems to pass them without any troubles. While it doesn't match XTerm, most of the deviations are intentional and match other terminals like VTE. So while I wouldn't close this issue as completely resolved, since that's not desired anyways, I think there's not much value in keeping this open anymore. If there are escape sequences desired that are covered by vttest, I would recommend to instead open separate issues with references to what they are used for. That should make fixing things much easier than a generic "vttest" issue. |
Hi,
vttest is an old program for testing terminals and terminal emulators, it's in the vttest package on Debian (and presumably Ubuntu too).
Alacritty panics at the start of test 1, and part way through test 2 (just keep pressing enter).
vttest is probably useful for developing alacritty since it tests all kinds of odd edge cases in terminal handling.
The text was updated successfully, but these errors were encountered: