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 <blakeman.j...@gmail.com> wrote: > 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 > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > https://lists.gnu.org/mailman/listinfo/screen-users > _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users