** Description changed: [ Impact ] - * An explanation of the effects of the bug on users and justification - for backporting the fix to the stable release. + Byobu on Ubuntu shows a timer before the user prompt, to show how long + the previous command took to run. This is causing prompt corruption when + navigating through command history (up and down arrow) as the cursor + position is wrong. - * In addition, it is helpful, but not required, to include an - explanation of how the upload fixes this bug. [ Test Plan ] - * detailed instructions how to reproduce the bug + * Install byobu if not installed yet - * these should allow someone who is not familiar with the affected - package to reproduce the bug and verify that the updated package - fixes the problem. + sudo apt update; sudo apt install byobu -y - * if other testing is appropriate to perform before landing this - update, this should also be described here. + * Enter a byobu session, and enable the prompt with the timer: + + byobu + byobu-prompt + + * Run some shell commands to fill the history. + + * Navigate through that history with up and down arrow. Notice the + prompt corruption. For example: + + ubuntu@r-byobu:~$ + [1.377s] ubuntu@r-byobu:~$ + [3.235s] ubuntu@r-bapt-cache policy byobu <--- corrupted prompt + + + * Update to byobu from the proposed pocket + + * Exit the current byobu session, and enter a new one + + * Repeat the shell history tests, now the prompt will no longer corrupt. + [ Where problems could occur ] - * Think about what the upload changes in the software. Imagine the - change is wrong or breaks something else: how would this show up? + * Think about what the upload changes in the software. Imagine the + change is wrong or breaks something else: how would this show up? - * It is assumed that any SRU candidate patch is well-tested before - upload and has a low overall risk of regression, but it's important - to make the effort to think about what ''could'' happen in the event - of a regression. + * It is assumed that any SRU candidate patch is well-tested before + upload and has a low overall risk of regression, but it's important + to make the effort to think about what ''could'' happen in the event + of a regression. - * This must never be "None" or "Low", or entirely an argument as to why - your upload is low risk. + * This must never be "None" or "Low", or entirely an argument as to why + your upload is low risk. - * This both shows the SRU team that the risks have been considered, - and provides guidance to testers in regression-testing the SRU. + * This both shows the SRU team that the risks have been considered, + and provides guidance to testers in regression-testing the SRU. [ Other Info ] - * Anything else you think is useful to include + * Anything else you think is useful to include - * Make sure to explain any deviation from the norm, to save the SRU - reviewer from having to infer your reasoning, possibly incorrectly. - This should also help reduce review iterations, particularly when the - reason for the deviation is not obvious. + * Make sure to explain any deviation from the norm, to save the SRU + reviewer from having to infer your reasoning, possibly incorrectly. + This should also help reduce review iterations, particularly when the + reason for the deviation is not obvious. - * Anticipate questions from users, SRU, +1 maintenance, security teams - and the Technical Board and address these questions in advance - + * Anticipate questions from users, SRU, +1 maintenance, security teams + and the Technical Board and address these questions in advance [ Original Description ] Byobu on Ubuntu 24.04 shows a timer before the user prompt. The timer appears to display how long the previous command took. This is causing screen corruption when navigating previous commands as the cursor position is wrong and I've not found a way to disable the times from showing. Experienced both on a dist-upgrade from 22.04 via 23.10, and ona clean install of 24.04. Both server distros. Example prompts: [0.015s] dgeurts@nfc00:~$ lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04 LTS Release: 24.04 [0.010s] dgeurts@nfc00:~$ apt-cache policy byobu byobu: Installed: 6.11-0ubuntu1 Candidate: 6.11-0ubuntu1 Version table: *** 6.11-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages 100 /var/lib/dpkg/status Expected prompt: dgeurts@nfc00:~$
** Description changed: [ Impact ] Byobu on Ubuntu shows a timer before the user prompt, to show how long the previous command took to run. This is causing prompt corruption when navigating through command history (up and down arrow) as the cursor position is wrong. - [ Test Plan ] * Install byobu if not installed yet sudo apt update; sudo apt install byobu -y * Enter a byobu session, and enable the prompt with the timer: byobu byobu-prompt * Run some shell commands to fill the history. * Navigate through that history with up and down arrow. Notice the prompt corruption. For example: - ubuntu@r-byobu:~$ - [1.377s] ubuntu@r-byobu:~$ + ubuntu@r-byobu:~$ + [1.377s] ubuntu@r-byobu:~$ [3.235s] ubuntu@r-bapt-cache policy byobu <--- corrupted prompt - * Update to byobu from the proposed pocket * Exit the current byobu session, and enter a new one * Repeat the shell history tests, now the prompt will no longer corrupt. - [ Where problems could occur ] - * Think about what the upload changes in the software. Imagine the - change is wrong or breaks something else: how would this show up? - - * It is assumed that any SRU candidate patch is well-tested before - upload and has a low overall risk of regression, but it's important - to make the effort to think about what ''could'' happen in the event - of a regression. - - * This must never be "None" or "Low", or entirely an argument as to why - your upload is low risk. - - * This both shows the SRU team that the risks have been considered, - and provides guidance to testers in regression-testing the SRU. + The prompt corruption could not be fixed, or could be made worse. [ Other Info ] - * Anything else you think is useful to include - - * Make sure to explain any deviation from the norm, to save the SRU - reviewer from having to infer your reasoning, possibly incorrectly. - This should also help reduce review iterations, particularly when the - reason for the deviation is not obvious. - - * Anticipate questions from users, SRU, +1 maintenance, security teams - and the Technical Board and address these questions in advance + Not at this time. [ Original Description ] Byobu on Ubuntu 24.04 shows a timer before the user prompt. The timer appears to display how long the previous command took. This is causing screen corruption when navigating previous commands as the cursor position is wrong and I've not found a way to disable the times from showing. Experienced both on a dist-upgrade from 22.04 via 23.10, and ona clean install of 24.04. Both server distros. Example prompts: [0.015s] dgeurts@nfc00:~$ lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04 LTS Release: 24.04 [0.010s] dgeurts@nfc00:~$ apt-cache policy byobu byobu: Installed: 6.11-0ubuntu1 Candidate: 6.11-0ubuntu1 Version table: *** 6.11-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages 100 /var/lib/dpkg/status Expected prompt: dgeurts@nfc00:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2067490 Title: byobu prompt To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/2067490/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
