-
Notifications
You must be signed in to change notification settings - Fork 179
Support all of xterm's control sequences [$100] #121
Comments
I am also impacted by this issue (issue #121). The alsamixer application is not working correctly, another ncurses based application. |
Is the idea to write all the escape sequence handling again from scratch? Or would using a library which already does it be preferable? https://launchpad.net/libvterm/ is a nearly feature complete implementation, leonerd, it's author and maintainer is highly responsive, and active on Freenode (can be found in #perl regularly). |
@godeater: That is a very interesting library which I did not know about at all until now. Were I starting to write Final Term now, I would definitely give it a try. Two comments on the current state:
One trivial example where xterm-style interpretation is definitely not what I want in Final Term is line wrapping (otherwise "terminal reflow" would be impossible to achieve). Nevertheless, I shall have a closer look at libvterm! |
Not sure if this is the right place for a back-and-forth conversation on this, but in light of having nowhere else to do it :) : |
Thank you again, pangoterm looks awesome! It even supports double-height and width lines 😮, which cannot be said for many terminal emulators (I certainly hadn't planned to support it in Final Term, but if the competition has it... 😸). Fascinatingly, this blog post by LeoNerd also describes optimizations he made to his terminal infrastructure that so closely mirror some of the performance improvements I pushed in the past week that it's almost uncanny... I'd love to hear LeoNerd's thoughts and input on Final Term, I'm sure there's a lot I could learn from both him and his code. Will contact him... |
Irssi is another ncurses based application that is unusable in the current state. |
Waiting for this issue closed to make finalterm more then a cool toy. :-) |
Have you considered using vttest to ensure interpretation of all xterm control sequences? The website says that the source code should be self-documenting, and that it was used by xterm itself to ensure feature-completeness as far as control sequences go. |
@glittershark: I am aware of vttest but much of what vttest tests for is actually irrelevant in practice (such as double-height lines, which are not supported by most of the established terminals either), while many important features (e.g. related to GUI scrolling) are in turn not tested for. |
I have tried to use vim with the newly built finalterm, and have discovered that it's still absolutely not working with it :-/ |
Is there any possibility to fix this bug? |
@HerringtonDarkholme: Yes. All remaining xterm control sequences must be implemented. |
@p-e-w What's the progress on this? I'm interested mostly in VIM support. |
@IonicaBizau: VIM is not working in a usable manner yet. |
This is a meta-bug that summarizes the fact that Final Term does not yet have full support for all control sequences defined in the xterm specification (http://invisible-island.net/xterm/ctlseqs/ctlseqs.html) which causes a number of complex shell programs to display their output incorrectly.
Since these errors are in fact unrelated to the programs in question and all caused by the lack of control sequence support, the related issues will be linked to this one and closed as duplicates.
There is a $100 open bounty on this issue. Add to the bounty at Bountysource.
The text was updated successfully, but these errors were encountered: