QEMU VC (graphical terminal) fixes #4660
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey folks,
With this PR I brought a several upstream QEMU fixes, which target QEMU terminal (console-vc) bugs, making graphical console (e.g. VNC) more usable and aligning it better with VT100 spec. The updates include support for inserting and deleting characters, better cursor handling and correct position reporting.
The most annoying issue you can observe in the EVE VNC shim console, when the shell prompt always contains terminal escape symbols at the end, something like this:
This is fixed by the following backported patch:
27-qemu--ui-console-vc-report-to-the-application-instead-of-s.patch
Summary of included patches:
Handle
ESC ( <ch>
character set sequencestop
output look clean by handling the character setcommands.
Ensure DSR (Device Status Report) responses go to applications
send reports back to applications.
Fix cursor position reporting
scroll buffer.
Support for DCH (delete) and ICH (insert) commands
specs.
This was tested using eden, the following docker image
docker://lfedge/eden-eclient:b1c1de6
and latest EVE master.Rise and shine, shim VM console. Rise and shine!