Re: Access environment variables in screenrc

2015-03-07 Thread Jürgen Weigert
When I put this line in my ~/.screenrc screen 7 env shelltitle="window 7 at $HOSTNAME" bash then screen will create a shell in window 7, that has the machine's hostname as part of its shelltitle env variable. cheers, JW- On Sat, Mar 7, 2015 at 1:02 PM, John Blakeman wrote: > I'd like to be ab

Access environment variables in screenrc

2015-03-07 Thread John Blakeman
I'd like to be able to put something like: shelltitle "$HOSTNAME" in my screenrc, and have it work. Furthermore, I'd like to access any environment variable in my screenrc that isn't a screen specific environment variable. Is this possible? Thanks, John ___