Tag Info

New answers tagged

0

On occasion, the xterm you're using gets a Ctrl-S from whatever output is being parsed. This causes the session to "lock" in place (like a "pause"), and you can hit Ctrl-Q to resume. There have been several instances where this happens. History: Ctrl-S sends a "Software Flow Control Off (XOFF)" to the remote host, Ctrl-Q sends the XON. SSH Tip: If the ...


3

There seems to be no single screen command to do it. However I came up with this script, that can do it by executing enough number commands in a row to do it: #!/bin/bash L="$1" for N in $(eval echo "{$1..$2}") do screen -X at "$L" number "$N" L="$N" done This can be run from any window within the screen and takes two arguments, the source and ...


2

So, you're trying to replace a script that starts a long-running java command in the background with one that runs it in screen? I think there are actually two problems with your screen attempt. First off, that screen command won't exit/background until the java command is finished (or an interactive user types some things). Secondly, $! isn't really going ...


1

Not 100% sure I understand your question, but lets try : $! would work from the parentshell, not from inside the child process $! is for a background process, screen is not exactly a background process Also screen -S will not detach the screen, you probably need more screen options you probably want something like screen -dmS also from inside the ...



Top 50 recent answers are included