[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #57628] Can't access $HOSTNAME in screenrc file
From: |
Amadeusz Sławiński |
Subject: |
[screen-devel] [bug #57628] Can't access $HOSTNAME in screenrc file |
Date: |
Sun, 19 Jan 2020 17:21:06 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
Follow-up Comment #4, bug #57628 (project screen):
Either $HOST (which I see in zsh) or $HOSTNAME (as I see in bash) seem to be
provided by shell expansion logic and are not true environment variables set
in environment. You can see this by running 'env' command and observing that
both of them are missing there.
So if we want it to be handled it should be expanded by screen itself, I've
attached patch, which should work against latest release.
(file #48253)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Provide-expansion-of-HOSTNAME-variable.patch Size:1 KB
<https://savannah.gnu.org/file/0001-Provide-expansion-of-HOSTNAME-variable.patch?file_id=48253>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57628>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/