|
From: | Amadeusz Sławiński |
Subject: | [screen-devel] [bug #57629] Positional parameters in screenrc file? |
Date: | Sun, 19 Jan 2020 17:50:07 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
Follow-up Comment #2, bug #57629 (project screen): At this point I think you are asking too much of how screen parses command line and would be better served by shell scripts around screen instead. There is nothing stopping shell script from generating a temporary screenrc file. And running screen with it. I'm even surprised that you can create executable screenrc and that it works ;) I would try something like this: #!/bin/sh TEMP=$(mktemp /tmp/generated-screenrc.XXXXXXXX) echo "focus right" >> ${TEMP} echo "screen -t \"Director Process\"" echo "exec ... ./bin/director ${1} localhost" screen -c${TEMP} _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57629> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |