screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting session name when calling screen from script


From: bradley . schrag
Subject: Setting session name when calling screen from script
Date: Fri, 29 Jan 2010 15:30:38 -0600


I'm calling screen from a script and want to set the session name based on run-time parameters. So I'm using a command similar to:

VARNAME=FOO
screen -S $VARNAME

Screen seems to just skip the variable. Is there a way to persuade screen to expand $VARNAME to FOO? I'd rather not have to build a case statement and hardcode every possible option.

Screen version 4.00.02 (FAU) 5-Dec-03
AIX 5.3

TIA
Brad

U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.

---------------------------------------------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]