[ https://issues.apache.org/jira/browse/GUACAMOLE-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695507#comment-17695507 ]
Saiyeux commented on GUACAMOLE-1633: ------------------------------------ Hello, I made some backups of display and buffer structs for screen when using vim on xterm-like terminals so that it pretends to be an alternate screen buffer. However, top comand that shows various information does not transfer any specific control sequence when entering. Do you have any plans or ideas to handle this command? For now it just clean the whole screen and show the top panel, and if quit, no previous commands are restored. > Add terminal support for alternate screen buffer > ------------------------------------------------ > > Key: GUACAMOLE-1633 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1633 > Project: Guacamole > Issue Type: Improvement > Components: Terminal > Reporter: wengcy > Priority: Minor > Attachments: image-2022-07-06-14-08-38-966.png, > image-2022-07-06-14-11-02-204.png, image-2022-07-06-14-18-23-551.png > > > In SSH sessions, when you run vim, top, etc., the displayed data overwrites > the recent rollback buffer. > !image-2022-07-06-14-08-38-966.png! > ⬆️ The image above shows the rollback buffer before I used vim, when the > rollback buffer should hold the data from ll. > !image-2022-07-06-14-11-02-204.png! > ⬆️ However, after the vim command is used and the exit, the echo generated > by ll command in the rollback buffer has been overwritten by the vim command. > I know that the last page of data should be preserved after exiting using > vim, but the data in the previous rollback buffer should not be lost, and I > feel that this part of the processing like secureCRT is what we want. > !image-2022-07-06-14-18-23-551.png! > ⬆️ Just like this, after I use the vim command and exit, the previous ll > command output will still exist, and the vim command will retain the state of > the last screen before exiting. -- This message was sent by Atlassian Jira (v8.20.10#820010)