Fix gnome-terminal detection for 3.14

Bug #1382598 reported by Daniel Hahler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Opinion
Undecided
Unassigned

Bug Description

gnome-terminal has dropped setting $COLORTERM in 3.12.0-67-g1d5c1b6.

The $COLORTERM check in usr/bin/byobu.in might need to get adjusted - if it's required to detect gnome-terminal explicitly.

111: if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ] || [ "$COLORTERM" = "gnome-terminal" ] || [ "$TERM" = "xterm" ] || [ "$TERM" = "xterm-256color" ]; then

I am using the following currently (in another context, zsh):

    [[ "$COLORTERM" == "gnome-terminal" ]] || [[ ${$(</proc/$PPID/cmdline):t} == gnome-terminal* ]]

Daniel Hahler (blueyed)
description: updated
Daniel Hahler (blueyed)
description: updated
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks for the info. I'm not seeing any negative effects of this change yet.

Changed in byobu:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.