[Pkg-shadow-devel] [PATCH] su: also preserve COLORTERM

Nicolas François nicolas.francois at centraliens.net
Tue Jan 6 20:30:46 UTC 2009


On Thu, Dec 25, 2008 at 04:46:40PM -0500, Mike Frysinger <vapier at gentoo.org> wrote:
> From: Sebastian Rick Rijkers <srrijkers at gmail.com>
> For some terminals COLORTERM seems to be the only way for checking for that
> specific terminal. For instance, gnome-terminal sets its TERM as "xterm" but
> its COLORTERM as "gnome-terminal". The COLORTERM variable is also of use when
> running GNU screen since it sets TERM to "screen" but doesn't touch COLORTERM.

Thanks a lot for the patch.
I added it to the repository, and added the above paragraph to document

By the Way, do you think it would make sense to have a configurable list
of variables to be preserved in login.defs? (Currently, there are TERM,
COLORTERM, and possibly (non PAM configurations) DISPLAY and XAUTHORITY.)

I wish you a happy new year,

More information about the Pkg-shadow-devel mailing list