drbdtop
drbdtop copied to clipboard
Incorrect rendering in Konsole and Cockpit Terminal in Rocky Linux 8
Describe the bug The text user interface is not correctly rendered in terminal emulator like Konsole (KDE) or the web console in Cockpit. It's working ok in RXVT for example. Tried in v0.2.2. Fails on rocky linux 8.4. Works ok on Ubuntu or Centos 7.
To Reproduce Run drbdtop in Konsole or Cockpit in Rocky Linux (probably in RHEL 8 al well).
Expected behavior The TUI should be rendered OK, like in other terminal emulators.
Screenshots
Example in Konsole:
Example in Cockpit:
Capture Raw Resource Data
[root@rocky01 ~]# drbdsetup events2 --timestamps --statistics --now â
2021-06-27T00:10:05.262593+02:00 exists resource name:lsvol role:Primary suspended:no write-ordering:flush â
2021-06-27T00:10:05.262593+02:00 exists connection name:lsvol peer-node-id:1 conn-name:rocky02 connection:Connected role:Secondary congested:no ap-in-flight:0 rs-in-flight:0 â
2021-06-27T00:10:05.262593+02:00 exists connection name:lsvol peer-node-id:2 conn-name:rocky03 connection:Connected role:Secondary congested:no ap-in-flight:0 rs-in-flight:0 â
2021-06-27T00:10:05.262593+02:00 exists device name:lsvol volume:0 minor:1000 disk:UpToDate client:no quorum:yes size:196528 read:189 written:202811 al-writes:5 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no â
2021-06-27T00:10:05.262593+02:00 exists peer-device name:lsvol peer-node-id:1 conn-name:rocky02 volume:0 replication:Established peer-disk:UpToDate peer-client:no resync-suspended:no received:0 sent:1 out-of-sync:0 pending:0 unacked:0 â
2021-06-27T00:10:05.262593+02:00 exists peer-device name:lsvol peer-node-id:2 conn-name:rocky03 volume:0 replication:Established peer-disk:UpToDate peer-client:no resync-suspended:no received:0 sent:1 out-of-sync:0 pending:0 unacked:0 â
2021-06-27T00:10:05.262780+02:00 exists - â
[root@rocky01 ~]#
Distro
- Rocky
- Rocky 8.4
confirm the problem on Centos8 Stream
Please try
export TERM=xterm
and let us know whether the problem persists.
It seems that the output is messed up with TERM
being set to xterm-256color
, which seems to be the default on those distributions.
I can confirm this is working on AlmaLinux 8 :+1: