Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658540 - add support for COLORTERM to various places
Summary: add support for COLORTERM to various places
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 22:35 UTC by SpanKY
Modified: 2018-07-22 02:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2018-06-19 22:35:20 UTC
major terminal emulators (e.g. VTE, konsole, iTerm2, and slang) have added support for setting the COLORTERM variable to indicate color support:
  https://gist.github.com/XVilka/8346728

we should update various points to support this.  notably our bashrc logic for enabling color by default and openssh for passing this var along.
Comment 1 Larry the Git Cow gentoo-dev 2018-06-26 08:22:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db7e4be4eb444afc5c074bed7b68dcfc8954c3f

commit 4db7e4be4eb444afc5c074bed7b68dcfc8954c3f
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: 2018-06-20 22:03:17 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2018-06-26 08:18:50 +0000

    net-misc/openssh: send & accept COLORTERM env var #658540
    
    For terminal emulators that set this variable, pass it along.
    
    Url: https://gist.github.com/XVilka/8346728
    Bug: https://bugs.gentoo.org/658540

 net-misc/openssh/openssh-7.7_p1-r102.ebuild | 6 ++++++
 net-misc/openssh/openssh-7.7_p1-r6.ebuild   | 6 ++++++
 2 files changed, 12 insertions(+)
Comment 2 Georg Rudoy 2018-07-22 02:32:47 UTC
What about COLORFGBG? Seems like it also affects coloring.