From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5C76138334 for ; Tue, 26 Jun 2018 08:23:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8C90E08F2; Tue, 26 Jun 2018 08:23:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4714E08F2 for ; Tue, 26 Jun 2018 08:23:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7BC9335CB8 for ; Tue, 26 Jun 2018 08:23:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07BD6348 for ; Tue, 26 Jun 2018 08:22:59 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1530001130.4db7e4be4eb444afc5c074bed7b68dcfc8954c3f.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openssh/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/openssh/openssh-7.7_p1-r102.ebuild net-misc/openssh/openssh-7.7_p1-r6.ebuild X-VCS-Directories: net-misc/openssh/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 4db7e4be4eb444afc5c074bed7b68dcfc8954c3f X-VCS-Branch: master Date: Tue, 26 Jun 2018 08:22:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 83e09cd1-6df2-4737-b7ad-0f9241a64ea6 X-Archives-Hash: 2abc86fde1744ac910874b063a96a164 commit: 4db7e4be4eb444afc5c074bed7b68dcfc8954c3f Author: Mike Frysinger gentoo org> AuthorDate: Wed Jun 20 22:03:17 2018 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Jun 26 08:18:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db7e4be 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(+) diff --git a/net-misc/openssh/openssh-7.7_p1-r102.ebuild b/net-misc/openssh/openssh-7.7_p1-r102.ebuild index 5bea8702b07..c4747a2597e 100644 --- a/net-misc/openssh/openssh-7.7_p1-r102.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r102.ebuild @@ -345,6 +345,9 @@ tweak_ssh_configs() { # Allow client to pass locale environment variables. #367017 AcceptEnv ${locale_vars[*]} + + # Allow client to pass COLORTERM to match TERM. #658540 + AcceptEnv COLORTERM EOF # Then the client config. @@ -352,6 +355,9 @@ tweak_ssh_configs() { # Send locale environment variables. #367017 SendEnv ${locale_vars[*]} + + # Send COLORTERM to match TERM. #658540 + SendEnv COLORTERM EOF if use pam ; then diff --git a/net-misc/openssh/openssh-7.7_p1-r6.ebuild b/net-misc/openssh/openssh-7.7_p1-r6.ebuild index 3e0ed629bbc..a8c8b20d4c2 100644 --- a/net-misc/openssh/openssh-7.7_p1-r6.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r6.ebuild @@ -345,6 +345,9 @@ tweak_ssh_configs() { # Allow client to pass locale environment variables. #367017 AcceptEnv ${locale_vars[*]} + + # Allow client to pass COLORTERM to match TERM. #658540 + AcceptEnv COLORTERM EOF # Then the client config. @@ -352,6 +355,9 @@ tweak_ssh_configs() { # Send locale environment variables. #367017 SendEnv ${locale_vars[*]} + + # Send COLORTERM to match TERM. #658540 + SendEnv COLORTERM EOF if use pam ; then