Summary: | sys-apps/shadow: Patch to make su -l preserve COLORTERM env var | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | srrijkers |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
shadow-4.0.18.1-su-preserve-colorterm.patch
shadow-4.0.18.1-su-preserve-variables.patch |
Description
srrijkers
2007-09-13 15:08:42 UTC
Created attachment 130837 [details, diff]
shadow-4.0.18.1-su-preserve-colorterm.patch
I've attached another patch which incorporates the previous one and preserves the STY and WINDOW environment vars as well. These are set by GNU screen and provide a way to query the session name and window number respectively. Like with the COLORTERM variable, I don't know of any other way to query this information which makes these variables invaluable. Created attachment 131040 [details, diff]
shadow-4.0.18.1-su-preserve-variables.patch
this has been merged upstream |