[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
** Changed in: byobu Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
Sorry for the noise. Just recognise that 5.128 is out but Fedora30 still ships 5.127. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
I can experience the same issue with byobu in Fedora 30. Is there a chance for a new release including that patch? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
Hi David, summarizing what was found so far. 1. in Ubuntu this doesn't occurs since we use a less colorful PS1 -> marking the Ubuntu task as invalid 2. There already is an upstream PR to fix it in the byobu project https://github.com/dustinkirkland/byobu/pull/30 (yet unhanlded) I agree that handling that PR would be the right way to fix it eventually. @Kirkland - are you still maintaining byobu upstream? If so ,do you do that on github or launchpad or where exactly would you want PRs/Bugs to be directed to? ** Changed in: byobu (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
The attachment "non_ubuntu_color_fix.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
I implemented a fix and then noticed someone else also found a fix on Github. https://github.com/dustinkirkland/byobu/pull/30 Patch attached. ** Patch added: "non_ubuntu_color_fix.patch" https://bugs.launchpad.net/byobu/+bug/1809167/+attachment/5231833/+files/non_ubuntu_color_fix.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
I haven't tested from Ubuntu proper -- I didn't realize at first about the difference in code paths for Ubuntu derivatives. Since 'pretending' to be Ubuntu for byobu purposes, and when I reported for System76 they didn't see the issue on Ubuntu, I'd say that it probably doesn't happen on Ubuntu proper. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
The Byobu prompt works fine for me in Ubuntu. I see the issues described above in Arch Linux. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
So in Ubuntu it doesn't happen? When I start byobu in bionic, my shell gets BYOBU_DISTRO set to Ubuntu: andreas@nsnx:~$ byobu andreas@nsnx:~$ echo $BYOBU_DISTRO Ubuntu My prompt (PS1) is "boring", though, no extra colors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
So in Ubuntu it doesn't happen? When I start byobu in bionic, my shell gets BYOBU_DISTRO set to Ubuntu: andreas@nsnx:~$ byobu andreas@nsnx:~$ echo $BYOBU_DISTRO Ubuntu My prompt (PS1) is "boring", though, no extra colors. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to byobu in Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
So I was able to verify that if ~/.byobu/prompt contains export BYOBU_DISTRO=Ubuntu [ -r /usr/share/byobu/profiles/bashrc ] && . /usr/share/byobu/profiles/bashrc #byobu-prompt# Then the problem goes ways. The issues appears to be in /usr/share/byobu/profiles/bashrc, specifically: The "Googley Colours" terminal sequences obviously have some kind of issue solved by the more complicated Ubuntu definitions. case "$BYOBU_DISTRO" in "Ubuntu") # Use Ubuntu colors (grey / orange / aubergine) PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;202m\]\$(byobu_prompt_status)\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;172m\]\h\[\e[00m\]:\[\e[38;5;5m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " export GREP_COLORS="ms=01;38;5;202:mc=01;31:sl=:cx=:fn=01;38;5;132:ln=32:bn=32:se=00;38;5;242" export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode – red export LESS_TERMCAP_md=$(printf '\e[01;38;5;180m') # enter double-bright mode – bold light orange export LESS_TERMCAP_me=$(printf '\e[0m') # turn off all appearance modes (mb, md, so, us) export LESS_TERMCAP_se=$(printf '\e[0m') # leave standout mode export LESS_TERMCAP_so=$(printf '\e[03;38;5;202m') # enter standout mode – orange background highlight (or italics) export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode export LESS_TERMCAP_us=$(printf '\e[04;38;5;139m') # enter underline mode – underline aubergine # Use Ubuntu themed dircolors if [ -e "${BYOBU_PREFIX}/share/byobu/profiles/dircolors" ]; then dircolors "${BYOBU_PREFIX}/share/byobu/profiles/dircolors" > "$BYOBU_RUN_DIR/dircolors" . "$BYOBU_RUN_DIR/dircolors" fi ;; *) # Use Googley colors (blue / red / yellow / blue / green / red ) PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[38;5;69m\]\u\[\e[38;5;214m\]@\[\e[38;5;167m\]\h\[\e[38;5;214m\]:\[\e[38;5;71m\]\w\[\e[38;5;214m\]\$(byobu_prompt_symbol)\e[00m\] " ;; esac fi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809167] Re: byobu-prompt color prompt corrupts long command lines
** Also affects: byobu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809167 Title: byobu-prompt color prompt corrupts long command lines To manage notifications about this bug go to: https://bugs.launchpad.net/byobu/+bug/1809167/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs