Wikipedia:Reference desk/Archives/Computing/2023 July 17
Computing desk | ||
---|---|---|
< July 16 | << Jun | July | Aug >> | July 18 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
July 17
editLoop through screen programs
editI 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 Ctrl+a c, then connect to another detached session from within that. It would then be possible to cycle through the windows with Ctrl+a n. To detach the sub-sessions independent of the main one, you have to send a twice like so: Ctrl+a a d.
- 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)