[
https://issues.apache.org/jira/browse/GUACAMOLE-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891805#comment-17891805
]
Yang commented on GUACAMOLE-1256:
---------------------------------
You can try to use vim to edit this file. This file contains many groups of
"{}". When the cursor falls on a "\{", the corresponding "}" will also be
highlighted, triggering guac_terminal_display_set_columns. Move the cursor up
and down quickly (hold down the up key) to ensure that the cursor falls on as
many "\{" and "}" as possible, and this problem will be reproduced.
{code:java}
events {
worker_connections 1024;
}
stream {
upstream access_log_3389 {
# server 192.168.0.145:3389 weight=2;
}
server {
}
upstream access_log_1222 {
# server 192.168.0.145:1222 weight=2;
}
server {
proxy_responses 0;
}
upstream tcp_53389 {
server 192.168.0.180:3389;
}
server {
proxy_pass tcp_53389;
}
upstream tcp_51222 {
server 192.168.0.180:1222;
}
server {
proxy_pass tcp_51222;
}
upstream tcp_5443 {
#server 192.168.0.134:443;
}
server {
#recursive_error_pages on;
}
upstream tcp_63389 {
server 192.168.0.103:3389;
}
server {
proxy_pass tcp_63389;
}
upstream tcp_61222 {
server 192.168.0.103:1222;
}
server {
proxy_pass tcp_61222;
}
upstream tcp_6443 {
server 192.168.0.103:443;
}
server {
proxy_pass tcp_6443;
}
upstream tcp_119_443 {
#server 192.168.0.151:443 weight=2;
}
server {
proxy_pass tcp_119_443;
}
upstream tcp_147_3389 {
server 192.168.0.147:3389;
}
server {
proxy_pass tcp_147_3389;
}
upstream tcp_141_443 {
#server 192.168.0.171:443 weight=2;
}
server {
proxy_pass tcp_141_443;
}
upstream tcp_141_3389 {
server 192.168.0.141:3389;
}
server {
proxy_pass tcp_141_3389;
}
} {code}
> Lines of file gets broken when navigating back and forth using a text editor
> ----------------------------------------------------------------------------
>
> Key: GUACAMOLE-1256
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1256
> Project: Guacamole
> Issue Type: Bug
> Components: Terminal
> Affects Versions: 1.2.0
> Environment: Distributor ID:Ubuntu
> Description:Ubuntu 18.04.2 LTS
> Release:18.04
> Codename:bionic
> Linux dev-kubernetes-01 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52
> UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Hugaleno Bezerra
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: 20241022105248.png, 20241022105302.png, Screenshot from
> 2023-10-10 13-39-18.png, Screenshot from 2023-10-10 13-41-00.png,
> bug_scrollingback_onfile.gif, image-2024-06-06-18-13-06-244.png, test.conf
>
>
> Protocol: SSH
> When editing a file using a text editor like vim and navigating back and
> forth in the file some lines get "broken".
> The file being used in the gif below is a default file from ubuntu
> installation "vim /etc/ltrace.conf"
> The problem happens in some servers of our local network, while in anothers
> with same SO it doens't. We tried find a step to step to reproduce the
> problem with 100% accurate but unfortunately we couldn't.
> We decide to share that to see if someone else is having the same problem and
> could help to find the reason.
> If you need any more information to help reproduce de problem pls let me know.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)