screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] screen -X screen -c <filename> <program name> executes <f


From: Victor van Vlaardingen
Subject: [screen-devel] screen -X screen -c <filename> <program name> executes <filename>
Date: Tue, 23 Nov 2021 14:58:04 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2

When performing the following "screen -X screen ......" commands to create a new screen window in an existing screen, all arguments that require a (file) name will have that argument executed, rather than the actual program name at the end of the arguments list.

Examples:

screen -X screen -c screenrc.custom <program name>
screen will in this case try to execute screenrc.custom and not <programĀ  name>

screen -X screen -Logfile screenlog.custom <program name>
screen will in this case try to execute screenlog.custom and not <programĀ  name>

Example of what does work (to ensure I put the arguments in the correct place):

screen -X screen -L <program name>
screen will in this case execute <programĀ  name> AND enable logging

--

Screen version 4.08.00 (GNU) 05-Feb-20

Tried on Ubuntu 20.04
Linux server50691 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Kind regards,

Victor van Vlaardingen

vic@lfs.net





reply via email to

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