Wikipedia:Reference desk/Archives/Computing/2023 July 17

= July 17 =

Loop through screen programs
I am trying to learn more about the computer programs we have running. To see them, I have to open the terminal and type screen -list. Then, I see a list of the programs. I type screen -r with a number to make one of the programs show up. Then, I hold down control, press a, and then press d to close the display, but the program still runs. If that makes sense, is there a way to make it loop through the screen programs? I have eight of them. I want to see one for a second or so, then automatically see the next one for a second or so, then the next, and so on until I press something to tell it to stop. 97.82.165.112 (talk) 16:55, 17 July 2023 (UTC)


 * By default it's not possible to cycle multiple sessions within the same window. You could spawn a new window with +, then connect to another detached session from within that. It would then be possible to cycle through the windows with + . To detach the sub-sessions independent of the main one, you have to send twice like so: +.
 * It is strongly recommended to consider switching to tmux instead, as it doesn't care about windows and sessions, and will allow you to pop them in and out, cycle, and manipulate them at will. -- dsprc   [talk]  18:28, 17 July 2023 (UTC)